User Tools

Site Tools


latex:lottime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
latex:lottime [Wednesday, 24 November 2010 : 14:32:12]
hat generalized the text a bit, since the program can be used with both LaTeX variants.
latex:lottime [Wednesday, 24 November 2010 : 14:33:18] (current)
hat 'it is not very well tested' does not hold any more.
Line 1: Line 1:
 +====== Lot-time diagrams in LaTeX ======
 +There are two pages about creating lot-time diagrams.
  
 +  * [[latex:​lottime:​pstricks|Lot-time diagrams using pstricks]]
 +  * [[latex:​lottime:​tikz|Lot-time diagrams using tikz]]
 +
 +The latter has less functionality.
 +
 +====== Converting simulation data to lot-time diagrams ======
 +Having a way to make lottime diagrams in LaTeX is good for making nice pictures, but how does one obtain the ''​\lot''​ and/or ''​\batch''​ LaTeX commands from a simulation?
 +The {{:​lottime:​lotdiagram.py|lotdiagram.py}} program aims to close this gap.
 +
 +It assumes that the simulation outputs lines like
 +<​code>​
 +4  M1 8
 +4  BM [2,3,4]
 +8  M1 8
 +10 BM [3,2,4]
 +</​code>​
 +that is, lines of the form "''​time machine lots''",​ where "''​time''"​ must be a number, "''​machine''"​ must be an identifier, and "''​lots''"​ must be either a lot-number or a list of lot-numbers.
 +The program finds matching combinations of machine-name and lot number(s), and converts the combination to a ''​\lot{}''​ or ''​\batch{}''​ line suitable for inserting in a LaTeX document.
 +
 +The program behaves as a filter, that is, its simplest use is
 +<​code>​
 +python lotdiagram.py < simoutput > cmds.tex
 +</​code>​
 +For more options of the program, run it with a ''​-h''​ (''​--help''​) option.
 +Also, there is {{:​lottime:​lotdiagram-doc.pdf|PDF documentation}} for a complete explanation of the program.
 +
 +====== Development and reporting bugs / comments / suggestions ======
 +Initial concept and document: June 2004 by Joost van Eekelen\\
 +Improvements and extensions: August 2004 by Ad Kock\\
 +Revision and slight extension: May 2006 by Joost van Eekelen\\
 +Useful Python script to generate lot/batch lines: May 2005 by Albert Hofkamp\\
 +Added a page about using tikz for creating LaTeX lottime diagrams: November 2010 by Albert Hofkamp
latex/lottime.txt · Last modified: Wednesday, 24 November 2010 : 14:33:18 by hat