| Calling Sequence | latex(a,titl,auth)
LaTeX(a,titl,auth) LaTeXC(a) | |||||||||||||||
| Parameters |
| |||||||||||||||
| Return Type | string | |||||||||||||||
| Synopsis | The latex function converts an object, typically a Document or a part thereof, to latex. LaTeX is a synonym of latex, much more difficult to type but according to Leslie Lamport. LaTeXC is used for a component, that is no headers/trailers will be produced. | |||||||||||||||
| Examples | > t := Table( center, border, Row('abc','cde')):
> prints(LaTeXC(t)); \begin{table}[!ht]
\begin{center}
\begin{tabular}{|c|c|}
\hline
abc & cde\\
\hline
\end{tabular}
\end{center}
\end{table}
> d := Document('Species evolve, that''s it.'):
> prints(latex(d,'The origin of species','Charles Darwin')); % automatically generated by Darwin
% prepared on Fri Jun 18 17:10:34 2010
% running on linneus62
% by user darwin
\documentclass{article}
\usepackage{html,color,epsfig}
\setlength{\parindent}{5pt}
\begin{document}
\title{The origin of species}
\author{Charles Darwin}
\maketitle
Species evolve, that's it.
\end{document}
| |||||||||||||||
| See also | Code, Color, Copyright, Document, HTML, HyperLink, Indent, LastUpdatedBy, List, Paragraph, PostscriptFigure, print, Roman, RunDarwinSession, screenwidth, Table, TT, View | |||||||||||||||