Præsentation er lastning. Vent venligst

Præsentation er lastning. Vent venligst

Adam Tulinius | | 2010

Lignende præsentationer


Præsentationer af emnet: "Adam Tulinius | | 2010"— Præsentationens transcript:

1 Adam Tulinius latex@antistof.dk

2 Adam Tulinius | latex@antistof.dk | 2010
Formål Lære grundlæggende brug af LaTeX Gøre jer klar til at skrive rapporter i LaTeX Adam Tulinius | | 2010

3 Adam Tulinius | latex@antistof.dk | 2010
Krav for at bestå Godkendelse af gruppe-projekt uden eksamination (bestået/dumpet) Adam Tulinius | | 2010

4 Adam Tulinius | latex@antistof.dk | 2010
Plan 13/ :30 Introduktion, opsætning og det første dokument 20/ :30 Formler og Figurer 21/ :15 Tabeller 1/ :30 Kilder 3/ :30 Opsamling Adam Tulinius | | 2010

5 Adam Tulinius | latex@antistof.dk | 2010
Materiale The Not So Short Introduction to LaTeX2ε Adam Tulinius | | 2010

6 Adam Tulinius | latex@antistof.dk | 2010
I dag Introduktion og motivation Det første dokument Guide til installation Afsnitsinddeling og indholdsfortegnelse Opdeling i filer Simple figurer Simple formler Simple tabeller Adam Tulinius | | 2010

7 Adam Tulinius | latex@antistof.dk | 2010
Hvad er LaTeX? Typesetting system baseret på TeX Kan redigeres med alle tekst-editorer .tex-filer bygges til .pdf Adam Tulinius | | 2010

8 Adam Tulinius | latex@antistof.dk | 2010
Anvendelsesområder Mindre afleveringer Større videnskabelige rapporter Bøger Slides .. Adam Tulinius | | 2010

9 Adam Tulinius | latex@antistof.dk | 2010
Hvorfor LaTeX? Letter arbejdsbyrden over tid Layout og indhold adskilles Let samarbejde Ikke nødvendigt at kopiere frem og tilbage mellem word-dokumenter. Revisionskontrol Pakker til alt mellem himmel og jord Det ser godt ud! Adam Tulinius | | 2010

10 Adam Tulinius | latex@antistof.dk | 2010
Hvorfor ikke LaTeX Højere indlæringskurve Opsætning af et projekt Syntaxfejl .. Adam Tulinius | | 2010

11 Adam Tulinius | latex@antistof.dk | 2010
Installation Windows: MiKTeX - TeXnicCenter - OS X: MacTeX Editor of choice Linux: TeXlive Se også > Installation Adam Tulinius | | 2010

12 Adam Tulinius | latex@antistof.dk | 2010
Hello, World! Preamble og indhold \documentclass[a4paper,12pt]{book} \usepackage[latin1]{inputenc} \begin{document} Hello, World! \end{document} Adam Tulinius | | 2010

13 Adam Tulinius | latex@antistof.dk | 2010
Øvelser Installer MiKTeX og TeXnicCenter Kopier ”Hello, World!”-eksemplet over i en ny .tex-fil i TeXnicCenter Byg ”Hello, World!” og åben den resulterende PDF-fil Vær tilbage om en time Hjælp: Adam Tulinius | | 2010

14 Adam Tulinius | latex@antistof.dk | 2010
.tex-filer 1/2 Indhold og kommandoer side om side Ord adskilles af Mellemrum Enkelt linjeskift LaTeX fjerner selv overflødigt mellemrum Små afsnit adskills af TO linjeskift Kommentarer starter med % og gælder linjen ud Adam Tulinius | | 2010

15 Adam Tulinius | latex@antistof.dk | 2010
.tex-filer 2/2 Nogle tegn har specielle funktioner: \ % { } _ & ^ $ # ~ For at bruge disse tegn må man benytte lidt krumspring: $\backslash$ \% \{ \} \_ \& \^{} \$ \# \~{} Adam Tulinius | | 2010

16 Adam Tulinius | latex@antistof.dk | 2010
Inddeling i afsnit \part{} \chapter{} \section{} \subsection{} \subsubsection{} Adam Tulinius | | 2010

17 Adam Tulinius | latex@antistof.dk | 2010

18 Adam Tulinius | latex@antistof.dk | 2010
Indholdsfortegnelse \tableofcontents NB: Det er nødvendigt at bygge sit projekt to gange for at opdatere indholdsfortegnelsen Adam Tulinius | | 2010

19 Adam Tulinius | latex@antistof.dk | 2010
Opdeling i filer c:\min rapport\rapport.tex c:\min rapport\indhold\frugter.tex c:\min rapport\indhold\frugter\bananer.tex Brug relative stier til filer: \input{indhold/frugter} \input{indhold/frugter/bananer} Adam Tulinius | | 2010

20 Adam Tulinius | latex@antistof.dk | 2010
Simple figurer Preamble: \usepackage{graphicx} \begin{figure}[htb] \centering \includegraphics[width=\textwidth]{graf.jpg} \caption{Figurtekst} \label{fig:graf} \end{figure} Adam Tulinius | | 2010

21 Adam Tulinius | latex@antistof.dk | 2010
Simple formler Preamble: \usepackage{amsmath,amssymb} Inline formel: $ f(x) = x^2 $ Normal formel: $$ f(x) = \int_{a}^{b} x^2 \, dx Adam Tulinius | | 2010

22 Adam Tulinius | latex@antistof.dk | 2010
Simple tabeller \begin{table}[htb] \centering \begin{tabular}{l|c|r} abc & def & ghi \\ \hline def & ghi & jkl \\ ghi & jkl & mn \\ \end{tabular} \caption{3d-alfabet} \label{tbl:3d-alfabet} \end{table} Adam Tulinius | | 2010

23 Adam Tulinius | latex@antistof.dk | 2010
Øvelser Gør brug af \chapter, \section, .. Indsæt Billede Formen Tabel Del koden op i flere filer, og brug \input til at knytte dem sammen Bonus: Find ud af hvad itemize og enumerate er, og brug dem Adam Tulinius | | 2010


Download ppt "Adam Tulinius | | 2010"

Lignende præsentationer


Annoncer fra Google