Hong-Phuc Bui
2015-04-10 34f94ccd4d51af7e2953c4fe80521911f35cb114
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
\documentclass[
    headheight=2cm,
    headinclude,
    paper=a4,
    final,
    10pt,
    DIV13,
    BCOR=1cm,
twoside]
{scrreprt}
 
% * Anpassung für deutschsprachige Dokumenten
\usepackage{fontspec}                % UNICODE für Umlauten
\usepackage[ngerman]{babel}          % Anpassung für Kaptitel-Name, 
                                     % Abschnitte-Name, Silbentrennung ect.
% Schriften
\usepackage{libertine}
%\setmonofont[Scale=0.8]{Luxi Mono}   % Nutzung von Luxi Mono
\setmonofont[Scale=0.9]{Source Code Pro}   % Nutzung von Source Code Pro
% für pdflatex: \usepackage[Scale=0.8]{luximono}
\usepackage{microtype}
 
\usepackage{mathtools}%amsmath
\usepackage{nicefrac}
 
% Anpassung von Leerraum zischen Befehlen und dem nächsten Worte
\usepackage{xspace}
\usepackage{textcomp}
 
% Setze Tabellesverzeichnis  in zweispaltig
\usepackage[toc]{multitoc}
 
 
% Ausgabe von Sorucecode
\usepackage{xcolor}
\definecolor{keywords2}{HTML}{8A4A0B}
 
\usepackage{listings}
\lstset{basicstyle=\ttfamily,%
  keywordstyle=\color{blue},%
  keywordstyle=[2]\color{keywords2}%
}
% definiert shortcut-Umgebung fuer latex code
\lstnewenvironment{latexcode}[1][]
 {\lstset{language={[LaTeX]TeX},%
%        backgroundcolor=\color[gray]{0.7},%
morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics},
         numbers=left,numberstyle=\small,#1}
 }{}
 
 
% definiert shoutcut fuer die Anbindung von Latex code aus Dateien
\newcommand{\inputtexcode}[2][]%
  {\lstinputlisting[language={[LaTeX]TeX},%
   numbers=left,%
%   backgroundcolor={\color{white}},%   
morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics},
   fontadjust=true,
   numberstyle=\small,#1]
   {#2}
  }
 
\lstdefinelanguage{bibtex}
  {keywords={%
      @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,%
      @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,%
      @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,%
      @proceedings,@standard,@string,@techreport,@unpublished,%
      @online,@collection,%
        @<literatur-type>%
      },
  keywords=[2]{author,year,title,subtitle,indexsorttitle,url,%
     urldate,editor,booktitle,publisher,address,isbn,%
     doi,crossref,booktitleadon,%
     edition,option,date,note,and
      },
   comment=[l][\itshape]{@comment},
   sensitive=false,
  }
  
\lstnewenvironment{bibtexcode}[1][]
 {\lstset{language={bibtex},%
%        backgroundcolor=\color[gray]{0.7},%
     keywordstyle=\color{blue},
         numbers=left,numberstyle=\small,#1}
 }{}
  
\usepackage{float}
\usepackage{showkeys}
 
\usepackage{caption}
\usepackage{subcaption}
\usepackage{wrapfig}
 
\usepackage[babel]{csquotes}
\usepackage[
  backend=biber
  ,style=authoryear
  ,language=german
  ]{biblatex}
\addbibresource{literatur.bib}
\addbibresource{literatur2.bib}
 
% Typographische Anpassung
\renewcommand{\arraystretch}{1.3} %(oder 1.2)
 
% Shortcut
\newcommand{\latex}{\LaTeX\xspace}
\newcommand{\KOMA}{\textsf{KOMA}\xspace}
 
\setkomafont{caption}{\itshape\sffamily}
\setkomafont{captionlabel}{\upshape\bfseries\sffamily}
\renewcaptionname{ngerman}{\figurename}{Abb.}               %Figure
\renewcaptionname{ngerman}{\tablename}{Tab.}                %Table
 
\title{Kurze Einführung in \LaTeX}
\subtitle{zusammengefasst während des \latex-Kurses an der HTW Saar}
\date{Sommersemester 2015}
\author{Hong-Phuc Bui}
 
\usepackage[automark]{scrpage2}
\pagestyle{scrheadings}
 
\usepackage[pdftex,
            pdfauthor={Hong-Phuc Bui},
            pdftitle={Latex Kurs an der HTW Saar},
            pdfsubject={Eine sehr kurze Einführung in Latex},
            pdfkeywords={tex,latex,typographie}
]{hyperref}
 
 
 
\begin{document}
\newcommand{\dreiDStrahlung}{3D"=Strah"-lung\xspace}
\newcommand{\LW}{Latex"=Wörter"-buch\xspace}
 
\maketitle
\tableofcontents
 
 
\include{typographie}
\include{Grundbegriffe}
\include{Titlelei}
\include{aufteilung}
\include{Mass-und-Einheit}
\include{text-formatierung}
\include{text-strukture}
\include{graphik}
\include{table}
\include{einheitliche-formatierung}
\include{silbentrennung}
\include{mathematische-formel}
 
%%%%%%%%%%%%%%%%%%%%% Test-Bereich
 
\printbibliography
\end{document}