Commit 37d2de13 authored by fprobst@hs-mittweida.de's avatar fprobst@hs-mittweida.de
Browse files

Alles Mögliche dazu

parent a6668931
......@@ -7,3 +7,16 @@
\@writefile{toc}{\contentsline {section}{\numberline {1}Aufbau eines \LaTeX \ Dokuments}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Titelseite}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Gliederung \LaTeX \ Dokument}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Commands vs. Umgebung in \LaTeX }{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Kommandos}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Umgebungen}{2}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.1}Verbatim}{2}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.2}Aufz\IeC {\"a}hlungen}{2}}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Sch\IeC {\"o}nes Bild von dreamies.de}}{3}}
\newlabel{img:lustigesbild}{{1}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3}Abbildungen}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.4}Tabellen}{3}}
\@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces tolle Tabelle}}{4}}
\newlabel{Tabelle 1}{{1}{4}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.5}Positionieren f\IeC {\"u}r Tabellen und Abbildungen}{5}}
\@writefile{lot}{\contentsline {table}{\numberline {2}{\ignorespaces Positionsparameter f\IeC {\"u}r figure und table}}{5}}
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex 2018.10.23) 12 SEP 2019 11:04
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex 2018.10.23) 12 SEP 2019 13:48
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
......@@ -350,65 +350,240 @@ Now handling font encoding U ...
defining Unicode char U+2026 (decimal 8230)
defining Unicode char U+2122 (decimal 8482)
defining Unicode char U+2423 (decimal 9251)
)) (./document.aux)
))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 95.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count88
))
\Gin@req@height=\dimen104
\Gin@req@width=\dimen105
)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
) (./document.aux)
\openout1 = `document.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count89
\scratchdimen=\dimen106
\scratchbox=\box26
\nofMPsegments=\count90
\nofMParguments=\count91
\everyMPshowfont=\toks17
\MPscratchCnt=\count92
\MPscratchDim=\dimen107
\MPnumerator=\count93
\makeMPintoPDFobject=\count94
\everyMPtoPDFconversion=\toks18
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <17.28> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <17.28> on input line 9.
(Font) <12> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 9.
(Font) <8> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 9.
(Font) <6> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 9.
(Font) <14.4> on input line 12.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <14.4> on input line 10.
(Font) <7> on input line 12.
Underfull \hbox (badness 10000) in paragraph at lines 22--29
[]
Underfull \hbox (badness 10000) in paragraph at lines 31--41
[]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 10.
(Font) <5> on input line 43.
Underfull \hbox (badness 10000) in paragraph at lines 20--27
Underfull \hbox (badness 10000) in paragraph at lines 43--44
[]
Underfull \hbox (badness 10000) in paragraph at lines 29--39
Underfull \hbox (badness 10000) in paragraph at lines 45--50
[]
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./document.aux) )
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
LaTeX Font Info: Try loading font information for OMS+cmr on input line 74.
(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd
File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 74.
[2]
<th.jpeg, id=17, 197.98969pt x 225.84375pt>
File: th.jpeg Graphic file (type jpg)
<use th.jpeg>
Package pdftex.def Info: th.jpeg used on input line 104.
(pdftex.def) Requested size: 197.9892pt x 225.84319pt.
[3 <./th.jpeg>]
Underfull \hbox (badness 10000) in paragraph at lines 134--135
[]\OT1/cmr/m/n/10 feste
[]
Underfull \hbox (badness 10000) in paragraph at lines 136--137
[]\OT1/cmr/m/n/10 langer
[]
Underfull \hbox (badness 3449) in paragraph at lines 136--137
\OT1/cmr/m/n/10 Text der
[]
Underfull \hbox (badness 10000) in paragraph at lines 136--137
\OT1/cmr/m/n/10 Um-ge-
[]
Underfull \hbox (badness 10000) in paragraph at lines 136--137
\OT1/cmr/m/n/10 bro-chen
[]
Underfull \hbox (badness 10000) in paragraph at lines 136--137
\OT1/cmr/m/n/10 wer-den
[]
Underfull \hbox (badness 10000) in paragraph at lines 145--153
[]
Underfull \hbox (badness 10000) in paragraph at lines 145--153
[]
Underfull \hbox (badness 10000) in paragraph at lines 145--153
[]
Underfull \hbox (badness 10000) in paragraph at lines 145--153
[]
[4] [5] (./document.aux) )
Here is how much of TeX's memory you used:
1003 strings out of 493029
11087 string characters out of 6136233
68805 words of memory out of 5000000
4584 multiletter control sequences out of 15000+600000
8986 words of font info for 32 fonts, out of 8000000 for 9000
2353 strings out of 493029
31019 string characters out of 6136233
98732 words of memory out of 5000000
5863 multiletter control sequences out of 15000+600000
9293 words of font info for 33 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
25i,6n,23p,217b,186s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/sh
are/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/te
xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/
texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-d
ist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fon
ts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type
1/public/amsfonts/cm/cmtt10.pfb>
Output written on document.pdf (1 page, 70493 bytes).
37i,9n,23p,236b,235s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/ams
fonts/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/
cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr
10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/s
hare/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/tex
live/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/t
exmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb>
Output written on document.pdf (5 pages, 124547 bytes).
PDF statistics:
32 PDF objects out of 1000 (max. 8388607)
22 compressed objects within 1 object stream
53 PDF objects out of 1000 (max. 8388607)
36 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
6 words of extra memory for PDF output out of 10000 (max. 10000000)
No preview for this file type
No preview for this file type
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{url}
\title{\LaTeX\ - Tutorial}
\author{von Ich}
\date{heute \today}
......@@ -37,5 +39,139 @@
Vermeiden von Einrücken von Paragraphen:
\verb|\setlength{\parindent}{0cm}|\\
\section{Commands vs. Umgebung in \LaTeX}
in \LaTeX\ gibt es Kommandos und Umgebungen\\
\subsection{Kommandos}
Ein Kommando wird vom Kompiler ganz ausgeführt.\\
Typische Kommandos sind z.B.:\\
\verb|\documentclass[text]{class}| um die Art des Dokuments zu bestimmen\\
\verb|\usepackage{package}| um Pakete einzubinden oder\\
\verb+\verb|text|+ dabei kann die Pipe durch andere Zeichen ersetzt werden.\\ Kommandos innerhalb von verb werden vom Kompiler ignoriert.\\
\subsection{Umgebungen}
Umgebung ist ein geschlossener Bereich.\\
Das bedeutet, das Variablen, Schriftarten etc. in diesem Bereich definiert werden können und auch nur für diesen gelten.\\
Ein Tempülate für eine Umgebung sieht so aus:
\begin{verbatim}
\begin{*Umgebungsname*}
Inhalt, der inhaltlich Inhalt beinhaltet.
\end{*Umgebungsname*}
\end{verbatim}
Dabei dient \verb|Umgebungsname| als Platzhalter für die eigentliche Umgebung.\\
Typische Umgebungen sind verbatim, figure und tabular.
\subsubsection{Verbatim}
Innerhalt der Verbatim-Umgebung wird \LaTeX-Code durch den Kompiler ignoriert.
\subsubsection{Aufzählungen}
In \LaTeX gibt es zwei Möglichkeiten der Aufzählung: itemize und enumerate.\\
Dabei produziert itemize Punkte und enuerate eine Aufzählung.
\begin{verbatim}
\begin{itemize}
\item Punkt 1
\item Punkt 2
\end{itemize}
\end{verbatim}
erzeugt:
\begin{itemize}
\item Punkt 1
\item Punkt 2
\end{itemize}
\begin{verbatim}
\begin{enumerate}
\item Punkt 1
\item Punkt 2
\end{enumerate}
\end{verbatim}
erzeugt:
\begin{enumerate}
\item Punkt 1
\item Punkt 2
\end{enumerate}
Die Aufzählung kann bis zum vierten Grad geschachtelt werden.
\subsubsection{Abbildungen}
Abbildungen können mittels des Pakets graphicx und der figure-Umgebung eingebunden werden.\\
Dazu die folgenden Befehle:
\begin{verbatim}
\begin{figure}
\centering oder \width oder \height
\includegraphics[scale=1]{th.jpeg}
Bilddatei th.jpeg mit Skalierung 1
\caption{Schönes Bild von dreamies.de}\label{img:lustigesbildd}
Bildunterschrift mit label zur Referenzierung
\end{figure}
\end{verbatim}
\begin{figure}
\centering
\includegraphics[scale=1]{th.jpeg}
\caption{Schönes Bild von dreamies.de}\label{img:lustigesbild}
\end{figure}
\subsubsection{Tabellen}
Tabellenassistent benutzen\\
Tabellen können mittels Quellcode:
\begin{verbatim}
\begin{table}[!h]
\caption{tolle Tabelle}\label{Tabelle 1}
\begin{tabular}{|l|c|r|p{1.5cm}|}
\hline
links\& & mitte & rechts & feste Breite \\
\hline
1 & 4 & 7 & langer Text der Umgebrochen werden soll \\
\hline
2 & sos & 8 \\
\hline
3 & 6 & 9 \\
\hline
\end{tabular}
\end{table}
\end{verbatim}
oder mittels Tabellenassistenen im TexStudio oder über Website-Tools wie z.B. \url{https://tabellengenerator.com} erstelle werden.
Dies resultiert in der folgenden Tabelle:
\begin{table}[!h]
\centering
\caption{tolle Tabelle}\label{Tabelle 1}
\begin{tabular}{|l|c|r|p{1.5cm}|}
\hline
links\& & mitte & rechts & feste Breite \\
\hline
1 & 4 & 7 & langer Text der Umgebrochen werden soll \\
\hline
2 & sos & 8 \\
\hline
3 & 6 & 9 \\
\hline
\end{tabular}
\end{table}
Wobei l (left) für links, r (right) für rechts und c (center) für eine Zentrierte spaltenweise Ausrichtung steht.\\
Die Option \verb|p{1,5cm}| legt fest, dass doese Spalte genau 1,5cm breit ist - breiterer Text wird hierbei unterbrochen.\\
Die Pipe steht in diesem Zusammenhang für die vertikele Linie zwischen den Spalten.\\
\verb|\hline| erzeugt eine horizontale Linie vor oder anch einer Zeile.\\
Das kaufmännische (\&) trennt die einzenlnen Spalten innerhalb einer Zeile und \verb|\\| trennt die Zeilen.\\
\\
\\
\\
\subsubsection{Positionieren für Tabellen und Abbildungen}
\begin{table}[h]
\centering
\caption{Positionsparameter für figure und table}
\begin{tabular}{|c|c|}
\hline
Zeichen & Eigenschaft \\
\hline
h & platziere Tabelle/Abbildung hier \\
\hline
t & platziere T/A oben \\
\hline
b & platziere T/A unten \\
\hline
p & platziere T/A auf einer Extraseite \\
\hline
! & Überschreibt die LaTeX parameter für gute Positionen \\
\hline
\end{tabular}
\end{table}
\end{document}
th.jpeg

16.3 KB

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment