summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex108
1 files changed, 51 insertions, 57 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex b/Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex
index 6b2504cda9a..6143d082423 100644
--- a/Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex
+++ b/Master/texmf-dist/doc/latex/latex-course/LaTeX-Course.tex
@@ -1,16 +1,16 @@
% -*- TeX:US -*-
\NeedsTeXFormat{LaTeX2e}
-\documentclass[presentation,hideothersubsections,final,10pt]{beamer}
+\documentclass[presentation,hideothersubsections,final,10pt,american]{beamer}
% LaTeX course created for the Biochemistry faculty at RUSM. The course is based on the
-% /info/german/tex-kurs by Rainer Rupprecht (1988), which I have translated to English and
-% taken to LaTeX2e/Beamer. Additional info from the l2kurz introduction to LaTeX.
+% /info/german/tex-kurs by Rainer Rupprecht (1988) and on /info/lshort/ by Schmidt et al., 2003.
% This material may be used under Gnu Copyleft
% everyone:
-\usepackage{german,siunitx,hyperref,graphicx,arev,amsmath,textcomp,wasysym,marvosym,isotope,chemarrow}
-\usepackage[latin1]{inputenc}
+\usepackage{babel,siunitx,hyperref,graphicx,marvosym,wasysym,isotope,chemarrow,booktabs}
+\usepackage[largesmallcaps,frenchstyle,partialup,narrowiints]{kpfonts}
+\usepackage{textgreek}
+\usepackage{inputenc}
\usepackage[T1]{fontenc}
-\usepackage[Euler]{upgreek}
\mode<article>{\usepackage{fullpage}}
\mode<presentation>{\usetheme{Goettingen}\usecolortheme{ross}}
@@ -33,17 +33,13 @@
\resetfontdimens}}
\makeatother
-\frenchspacing \selectlanguage{english}
+\frenchspacing
\title{The \alert{\LaTeX} document preparation system}
\institute{Department of Biochemistry, RUSM}
\author{Dr Engelbert Buxbaum}
-\date{July 2008 \vspace{5mm}\\
- \includegraphics[height=15mm]{Graphics/Ross-Siegel}\hspace{5mm}
- \includegraphics[height=15mm]{Graphics/30th-Anniversary-logo}
- }
-
-\definecolor{darkgreen}{rgb}{0.008,0.417,0.067}
+\date{July 2008\\ \vspace{5mm}
+ \includegraphics[height=15mm]{Graphics/Ross-Siegel}}
\begin{document}
\setbeamertemplate{footline}
@@ -65,7 +61,7 @@
copyright vested in the American Mathematical
Society.}
\item[\LaTeX]{\TeX -macroprocessor written by \textsc{Leslie
- Lamport}, which implements a markup-language. Users can
+ Lamport}, which implements a markup-language (similar: HTML, XML). Users can
concentrate on the structure of their document rather than on
formatting.}
\end{description}
@@ -127,9 +123,8 @@
\begin{frame}
\frametitle{Resources}
\begin{description}
- \item[Software]{CTAN, i.e.
- \href{www.tug.org}{\texttt{\alert{www.tug.org}}} for the US}
- \item[Help]{Usenet: comp.text.tex}
+ \item[Software]{\href{www.ctan.org}{\texttt{\alert{www.ctan.org}}}, automatically selects nearest server }
+ \item[Help]{Usenet: comp.text.tex (also German: de.comp.text.tex)}
\item[Introduction]{l2short available in various languages}
\item[Literature]{The \LaTeX -companion (\textsc{Mittelbach}
\textit{et al}, 2004)}
@@ -178,21 +173,21 @@
\begin{frame}
\frametitle{Document classes}
\begin{tabular}{llp{0.5\textwidth}}
- \hline
+ \toprule
\LaTeX & Koma-Script & purpose \\
- \hline
+ \midrule
article & scrartcl & journal papers, short reports \\
report & scrreprt & longer text with several chapters, e.g. thesis \\
book & scrbook & books \\
- letter & scrlettr & letters \\
+ letter & scrlttr2 & letters \\
beamer & & slide presentations \\
sciposter & & conference posters \\
- \hline
+ \bottomrule
\end{tabular}
Apart from Koma-Script another alternative style package is
\alert{memoir}. Also publisher-specific styles (e.g.
- Springer, Elsevier, Teubner etc.
+ Springer, Elsevier, Teubner etc.)
\end{frame}
\begin{frame}
@@ -229,7 +224,7 @@
\_ & start subscript & {\color{darkgreen}\verb+\_+} \\
\textasciicircum & start superscript & {\color{darkgreen}\verb+\textasciicircum+}\\
\{ \} & command delimiter & {\color{darkgreen}\verb+\{ \}+} \\
- $[\ ]$ & command delimiter & {\color{darkgreen}\verb+$[ ]$+} \\
+ $[\ ]$ & optional arguments & {\color{darkgreen}\verb+$[ ]$+} \\
`` '' & quotation marks & {\color{darkgreen}\verb+`` ''+} \\
$> <$ & tabbing & {\color{darkgreen}\verb+$> <$+} \\
\end{tabular}
@@ -308,18 +303,16 @@
\item[{\color{darkgreen}$\backslash$emph\{\}}]{used for emphasizing:
this is \emph{not} the case}
\item[{\color{darkgreen}$\backslash$textsc\{\}}]{small caps, used for
- names of persons: \textsc{Neil Armstrong} was
- the first man on the moon.}
+ persons: \textsc{Neil Armstrong} was the first man on the moon.}
\item[{\color{darkgreen}$\backslash$textbf\{\}}]{bold face: used to
make something really \textbf{stick out}.}
\item[{\color{darkgreen}$\backslash$textsf\{\}}]{sans serif, often used
as base font on slides. Also used for chemical
equations.}
\item[{\color{darkgreen}$\backslash$texttt\{\}}]{typewriter, used for
- computer related material like code or URLs:
- \texttt{http://www.rossmed.edu.dm/}}
+ computer code or URLs: \texttt{http://www.rossmed.edu.dm/}}
\end{description}
- \alert{Note:} Slides use sanserif font: No small caps, slanted instead of italics!
+ \alert{Note:} Slides use sanserif font: slanted instead of italics!
\end{frame}
\begin{frame}[fragile]
@@ -472,6 +465,7 @@ These are the main points:
\hline
\end{tabular}
\end{verbatim} }
+ Note: this is a very bad example of a table!
\end{frame}
\begin{frame}[fragile]
@@ -483,13 +477,13 @@ These are the main points:
\label{tab:fast}
\centering
\begin{tabular}{|l|c|r|}
- \hline
+ \toprule
Disciplin & distance (m) & time (min) \\
- \hline
+ \midrule
Running & 100 & 5 \\
Swimming & 50 & 30 \\
Cycling & 1000 & 20 \\
- \hline
+ \bottomrule
\end{tabular}
\end{table}
\end{verbatim} }
@@ -510,7 +504,7 @@ These are the main points:
\item{Requires \verb+\usepackage{graphicx}+}
\item{Several file formats possible depending on
dvi-driver. For pdfLaTeX pdf, png, jpg. }
- \item{Convert other formats e.g. with IrfanView or
+ \item{Convert other formats \textit{e.g.}, with IrfanView or
Gimp.}
\item{other optional arguments like width, angle,
size}
@@ -628,8 +622,8 @@ x^5 x_1 \sqrt{x^2+\sqrt[3]{y}}
\addtocounter{page}{10}
\end{verbatim}}
- Output counter content: This is page \thepage .\\
- {\color{darkgreen}\verb+This is page \thepage .+}
+ Output counter content: This is page \thepage.\\
+ {\color{darkgreen}\verb+This is page \thepage.+}
\end{frame}
\subsection{Distances}
@@ -739,18 +733,18 @@ is \SI{2}{cm} distance.
Assume the following list of acronyms:
{\color{darkgreen}\begin{verbatim}
\begin{acronym}
- \acro{nfkb}[NF-$\upkappa$B]{nuclear factor
- $\upkappa$B}, protein in gene regulation
+ \acro{nfkb}[NF-\textkappa B]{nuclear factor
+ \textkappa B}, protein in gene regulation
\end{acronym}
\end{verbatim}}
This will print as\\
- NF-$\upkappa$B: nuclear factor $\upkappa$B, protein in gene regulation
+ NF-\textkappa B: nuclear factor \textkappa B, protein in gene regulation
Then
\begin{description}
- \item[{\color{darkgreen}$\backslash$acf\{nfkb\}}]{nuclear factor $\upkappa$B (NF-$\upkappa$B)}
- \item[{\color{darkgreen}$\backslash$acs\{nfkb\}}]{NF-$\upkappa$B}
- \item[{\color{darkgreen}$\backslash$acl\{nfkb\}}]{nuclear factor $\upkappa$B}
+ \item[{\color{darkgreen}$\backslash$acf\{nfkb\}}]{nuclear factor \textkappa B (NF-\textkappa B)}
+ \item[{\color{darkgreen}$\backslash$acs\{nfkb\}}]{NF-\textkappa B}
+ \item[{\color{darkgreen}$\backslash$acl\{nfkb\}}]{nuclear factor \textkappa B}
\end{description}
\end{frame}
@@ -759,7 +753,7 @@ is \SI{2}{cm} distance.
\begin{frame}[fragile]
\frametitle{BibTeX}
Database for literature references in ASCII-format. Can be
- produced from many programs like EndNote, also from PubMed etc.
+ produced from many programs like \texttt{EndNote} or \texttt{RefMan}, also from \href{http://www.ncbi.nlm.nih.gov/pubmed/}{\texttt{\alert{PubMed}}}, \href{http://scholar.google.com/advanced_scholar_search?hl=en&as_sdt=2000}{\texttt{\alert{Google Scholar}}} (set preferences!) etc.
{\color{darkgreen}\small \begin{verbatim}
@article{Alb-76,
AUTHOR= {W.J. Albery and J.R. Knowles},
@@ -813,22 +807,22 @@ is \SI{2}{cm} distance.
\begin{frame}[fragile]
\frametitle{Packets used in dept. handout}
\begin{tabular}{lp{0.6\textwidth}}
- makeidx & index generation \\
- natbib & clean handling of bibliography \\
- siunitx & \verb+\SI{}{}, \num{}, \ang{}+ \\
- acronym & administration of acronyms \\
- isotope & \verb+\isotope[13]{C}+ = \isotope[13]{C} \\
- graphicx & inclusion of diagrams \\
- color & colored text \\
- amsmath & math fonts and characters \\
- eufrak & font for arrays + vectors \\
- textcomp & special characters \\
- wasysym,marvosym, & special symbols like \male , \female \\
- chemarrow & various types of arrows for equations \\
- upgreek & \verb+$\upalpha$+ = $\upalpha$ instead of $\alpha$ \\
- thumb & chapter thumbs \\
- isodate & standard conform typesetting of dates \\
- hyperref & use of cross-referencing facilities of pdf\\
+ acronym & administration of acronyms \\
+ booktabs & professional looking tables \\
+ chemarrow & various types of arrows for equations \\
+ color & colored text \\
+ eufrak & font for arrays + vectors \\
+ graphicx & inclusion of diagrams \\
+ hyperref & use cross-referencing facilities of pdf \\
+ isodate & standard conform dates \\
+ isotope & {\color{darkgreen}$\backslash$isotope[13]{C}} = \isotope[13]{C}\\
+ kpfonts & works better than the original fonts \\
+ makeidx & index generation \\
+ natbib & clean handling of bibliography \\
+ siunitx & {\color{darkgreen}$\backslash$SI{}{}, $\backslash$num{}, $\backslash$ang{}} \\
+ thumb & chapter thumbs \\
+ upgreek & {\color{darkgreen}$\backslash$textalpha} = \textalpha\ instead of $\alpha$ \\
+ wasysym,marvosym & special symbols like \Male , \Female \\
\end{tabular}
\end{frame}