LabbookInLatex: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[LaTeX]] is just about the easiest way to write anything that's meant to go on the printed page eventually. The [http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=labbook labbook] style by Frank K&uumlaut;ster makes this very easy.  The style is included in MikTeX and Texlive already.
[[LaTeX]] is just about the easiest way to write anything that's meant to go on the printed page eventually. The [http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=labbook labbook] style by Frank Kuster makes this very easy.  The style is included in MikTeX and Texlive already.


The style defines three major new commands: <tt>labday</tt>, <tt>experiment</tt>, and <tt>subexperiment</tt>, which you use in place of chapter, section, and subsection.  The documentation that comes with the package is very clear, and provides several example files.
The style defines three major new commands: <tt>labday</tt>, <tt>experiment</tt>, and <tt>subexperiment</tt>, which you use in place of chapter, section, and subsection.  The documentation that comes with the package is very clear, and provides several example files.


[http://www.lyx.org LyX] is a frontend for LaTeX that hides all the issues of importing data, putting figures in, and not making typos in the commands and environments.  To use it with the labbook LaTeX style, you will need [[labbook.layout|this layout file]].
[http://www.lyx.org LyX] is a frontend for LaTeX that hides all the issues of importing data, putting figures in, and not making typos in the commands and environments.  To use it with the labbook LaTeX style, you will need [[Media:labbook.layout|this layout file]].
 
I recommend using <tt>\frontmatter</tt> before the title, table of contents, etc., and <tt>\mainmatter</tt> before the first actual entry.  That way you won't have to renumber pages in the lab book as your table of contents gets longer, because the title and table of contents will be numbered with Roman numerals, and the first page of content will start again with an Arabic 1.

Latest revision as of 10:43, 13 February 2007

LaTeX is just about the easiest way to write anything that's meant to go on the printed page eventually. The labbook style by Frank Kuster makes this very easy. The style is included in MikTeX and Texlive already.

The style defines three major new commands: labday, experiment, and subexperiment, which you use in place of chapter, section, and subsection. The documentation that comes with the package is very clear, and provides several example files.

LyX is a frontend for LaTeX that hides all the issues of importing data, putting figures in, and not making typos in the commands and environments. To use it with the labbook LaTeX style, you will need this layout file.

I recommend using \frontmatter before the title, table of contents, etc., and \mainmatter before the first actual entry. That way you won't have to renumber pages in the lab book as your table of contents gets longer, because the title and table of contents will be numbered with Roman numerals, and the first page of content will start again with an Arabic 1.