Examples for Module 0: Introduction

2. LaTeX

This example illustrates how the text above could be encoded in LaTeX, an open source typesetting language that can be interpreted by TeX typesetting programs for producing fixed-layout representations such as PDF. LaTeX is not an XML format, and makes use of 'procedural' markup, whose meta-information (starting with the \ character) are instructions for the rendering software on the layout of the text content. As you can see, the actual text contents are preceded by a declaration of several style aspects determining how the text has to be rendered on a page. The text is divided captured as a {document}, in which all italicised words are indicated as italicised (\textit{}), without difference between the reasons for this typographic emphasis. The footnote is distinguished (\footnote{}), but there is no way of telling the computer that Goethe is a proper name.
\author{the TBE crew}

	\setlength{\leftmargin}{#1} \setlength{\rightmargin}{#2}%
	\advance\linewidth -\leftmargin \advance\linewidth -\rightmargin%
	\advance\@totalleftmargin\leftmargin \@setpar{{\@@par}}%
	\parshape 1\@totalleftmargin \linewidth\ignorespaces}{\par}%

% new LaTeX commands
\newcommand{\styleHeading}[1]{{\large \textsf{#1}}}


{\large \textit{Die Leiden des jungen Werther\footnote{ by Goethe

}} is an \textit{exceptionally} good example of a book full of

Want your examples here? If you happen to have any text samples that you want to share under a Creative Commons Share Alike license, please do get in touch!