Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LaTeX Och Konsten Att Generera Böcker

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

LaTeX Och Konsten Att Generera Böcker

Avatar for Pelle Beckman

Pelle Beckman

October 26, 2016

More Decks by Pelle Beckman

Other Decks in Technology

Transcript

  1. example.tex: \documentstyle[11pt]{article} \setlength{\topmargin}{-.5in} \setlength{\textheight}{9in} \setlength{\oddsidemargin}{.125in} \setlength{\textwidth}{6.25in} \begin{document} \title{LaTeX Typesetting By

    Example} \author{Phil Farrell\\ Stanford University School of Earth Sciences} \renewcommand{\today}{November 2, 1994} \maketitle This article demonstrates a basic set of LaTeX formatting commands. Compare the typeset output side-by-side with the input document.
  2. /d{def}def/u{dup}d[0 -185 u 0 300 u]concat/q 5e-3 d/m{mul}d/z{A u m

    B u m}d/r{rlineto}d/X -2 q 1{d/Y -2 q 2{d/A 0 d/B 0 d 64 -1 1{/f exch d/B A/A z sub X add d B 2 m m Y add d z add 4 gt{exit}if/f 64 d}for f 64 div setgray X Y moveto 0 q neg u 0 0 q u 0 r r r r fill/Y}for/X} for showpage