chapter02.tex 6.03 KB
 Alija Sabic committed Nov 29, 2018 1 2 3 4 5 \documentclass[class=book,crop=false]{standalone} \usepackage[subpreambles,sort]{standalone} \usepackage{preamble} \usepackage[graphicx]{realboxes}  Alija Sabic committed Nov 27, 2018 6 7 8 9 10 11 12 13  \begin{document} \chapter{Content}\label{content} This chapter provides examples on \begin{itemize}  Alija Sabic committed Nov 29, 2018 14  \item Equations (cf. Section \ref{sec:equation})  Alija Sabic committed Nov 27, 2018 15 16 17 18 19 20 21 22 23 24 25  \item Acronyms (cf. Section \ref{sec:acronyms}) \item References (cf. Section \ref{sec:references}) \item Textual: \begin{itemize} \item \texttt{itemize} (cf. Subsection \ref{subsec:itemize}) \item \texttt{enumerate} (cf. Subsection \ref{subsec:enumerate}) \item \texttt{description} (cf. Subsection \ref{subsec:description}) \item Theorems (cf. Subsection \ref{subsec:theorem}) \end{itemize} \item Figures (cf. Section \ref{sec:figures}) \item Syntax Highlighting (cf. Section \ref{sec:source code})  Alija Sabic committed Nov 28, 2018 26  \item Tables (cf. Section \ref{sec:tables})  Alija Sabic committed Nov 27, 2018 27 28 29  \item and many more. \end{itemize}  Alija Sabic committed Nov 29, 2018 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  \section{Equations}\label{sec:equation} \label{eq:first} a = bq + r where \eqref{eq:first} is true if $a$ and $b$ are integers with $b \neq c$. \begin{subequations} Maxwell's equations: \begin{align} B'&=-\nabla \times E,\\ E'&=\nabla \times B - 4\pi j, \end{align} \end{subequations} \begin{figure} \oint_C {E \cdot d\ell = - \frac{d}{{dt}}} \int_S {B_n dA} \caption{Maxwell's equation - Faraday's law} \end{figure} \forall x \in X, \quad \exists y \leq \epsilon  Alija Sabic committed Nov 27, 2018 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  \section{Acronyms}\label{sec:acronyms} \ac{ES}-style beamer template of \acs{UAS} Technikum Wien. \section{References}\label{sec:references} \begin{itemize} \item \citet{einstein1905} \item \citet{pentz2004} \item \citet{latexcompanion} \item \citet{daniel1998} \item \citet{knuthwebsite} \item \citet{article, book, booklet} \end{itemize} \section{Textual}\label{sec:textual} \subsection{Itemize}\label{subsec:itemize} \begin{itemize} \item One \item Two \item Three \end{itemize} \subsection{Enumerate}\label{subsec:enumerate} \begin{enumerate} \item One \item Two \item Three \end{enumerate} \subsection{Description}\label{subsec:description} \begin{description} \item [Ant] Ameise \item [Elephant] Elefant \item [Bee] Biene \item [Honey] Honig \end{description} \subsection{Theorem}\label{subsec:theorem} \newtheorem{dummy}{Dummytext} \begin{dummy} \blindtext \end{dummy} \section{Figures}\label{sec:figures}  Alija Sabic committed Nov 29, 2018 109 110  See illustration (Figure \ref{fig:dilbert1}), TikZ example (Figure \ref{fig:mesif}), \texttt{timingtable} (\ref{fig:timingtable}), and another TikZ example (Figure \ref{fig:control-system}).  Alija Sabic committed Nov 27, 2018 111 112 113 114 115 116 117 118 119 120 121 122 123  \begin{figure} \centering \includegraphics[width=0.33\textwidth]{dilbert1.pdf}% \includegraphics[width=0.33\textwidth]{dilbert2.pdf}% \includegraphics[width=0.33\textwidth]{dilbert3.pdf} % \caption{\textcopyright~2018 Scott Adams, \url{dilbert.com}} \caption{\textcopyright~2018 Scott Adams, dilbert.com} \label{fig:dilbert1} \end{figure} \begin{figure} \centering  Alija Sabic committed Nov 29, 2018 124 125  % \resizebox {0.75\textwidth} {!} {\input{mesif}} \input{mesif}  Alija Sabic committed Nov 27, 2018 126 127 128 129 130 131  \caption{MESIF protocol, \textcopyright~Marek Fiser, marekfiser.cz} \label{fig:mesif} \end{figure} \begin{figure} \centering  Alija Sabic committed Nov 29, 2018 132 133  % \resizebox {0.65\textwidth} {!} {\input{timingtable}} \input{timingtable}  Alija Sabic committed Nov 28, 2018 134  \caption{SR flip-flop timing diagram}% (provided by the \texttt{timingtable} package)}  Alija Sabic committed Nov 27, 2018 135 136 137 138 139  \label{fig:timingtable} \end{figure} \begin{figure} \centering  Alija Sabic committed Nov 29, 2018 140 141  % \resizebox {0.75\textwidth} {!} {\input{control-system}} \input{control-system}  Alija Sabic committed Nov 28, 2018 142  \caption{Control system principle} %, http://www.texample.net/tikz/examples/control-system-principles/}  Alija Sabic committed Nov 27, 2018 143 144 145 146 147 148 149 150 151 152 153 154  \label{fig:control-system} \end{figure} \section{Source Code}\label{sec:source code} \lstinputlisting[ caption={C Syntax Highlighting}, label=lst:main, ]{main.c} \section{Tables}\label{sec:tables}  Alija Sabic committed Nov 29, 2018 155 156  See simple table (Table \ref{tab:table1}, and more advanced, rotated example table (Table \ref{tab:table2})).  Alija Sabic committed Nov 27, 2018 157 158  \begin{table}  Alija Sabic committed Nov 29, 2018 159 160 161  \centering % \resizebox {\textwidth} {!} {\input{bandgab}} \input{bandgab}  Alija Sabic committed Nov 27, 2018 162 163 164  \caption{The bandgab of some semiconductors.} \label{tab:table1} \end{table}  Alija Sabic committed Nov 29, 2018 165   Alija Sabic committed Nov 28, 2018 166  \begin{table}  Alija Sabic committed Nov 29, 2018 167 168  \centering \Rotatebox{90}{\resizebox {1.5\textwidth} {!} {\input{siunits}}}  Alija Sabic committed Nov 28, 2018 169 170 171  \caption{\acs{SI} base units} \label{tab:table2} \end{table}  Alija Sabic committed Nov 29, 2018 172 173 174  \cleardoublepage  Alija Sabic committed Nov 28, 2018 175 176 177  % \biblio{} \bibliolist{}  Alija Sabic committed Nov 27, 2018 178 179  \end{document}