Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[titlepage,12pt,a4paper]{article}
- \usepackage[utf8]{inputenc}
- \usepackage[czech]{babel}
- \usepackage{avant}
- \usepackage{amsmath}
- % Odstraní "hbox warningy" v "thebibliography" {
- \usepackage{etoolbox}
- \apptocmd{\sloppy}{\hbadness 10000\relax}{}{}
- % }
- \title{Ahoj, světe!}
- \author{Samuel Trávníček}
- \begin{document}
- \maketitle
- \tableofcontents
- \newpage
- \listoffigures
- \listoftables
- \newpage
- \section[Pro obsah jen kapitola]{Jedna kapitola všehoidní}
- Ahoj, \uv{já jsem nějaká} kapitola \verb|\ldots| \ldots
- \subsection{Podkapitola kódoidní a rovnicoidní}
- OK, já jsem ta podkapitola.
- \begin{verbatim}
- #include <stdio.h>
- void main(void) {
- printf("Hello, World!\n");
- }
- \end{verbatim}
- protože bagr podle rovnice \ref{equ:psiphi}
- \begin{equation}
- \label{equ:psiphi}
- \Psi = \sqrt[3]{\sum_{i = 0}^{\infty}{(\Phi - i)}^3 + \sum\nolimits_{i = -\infty}^{\infty}{(\Phi - i)}^3}
- \end{equation}\\
- vypadá\footnote{Anglicky \uv{looks like}} takto:
- \begin{equation}
- \label{equ:otherequ}
- B_x \neq \zeta \cdot \Delta x \cdot {\Big((x+1)(x-1)\Big)}^2
- \end{equation}
- a~proto
- \begin{equation}
- \label{equ:otherequ2}
- \vec{B}_x \stackrel{\mathrm{def}}{=} \vec{P} \cdot \left({(x+\sqrt{x})}^2 + \frac{1}{X}\iint\limits_{X} x \cdot dx \right) \not= \vec{0}
- \end{equation}
- \subsubsection{Podpodkapitola tabuloidní}
- Já obsahuji tabulku~č. \ref{tab:Tabulka}.
- \begin{table}[htb]
- \caption{Nesmysly v kostce}
- \label{tab:Tabulka}
- \begin{center}
- \begin{tabular}{|c|c|}
- \hline
- ahoj \& ahoj & jak $\Psi \Phi$ \\
- \hline
- je & ? \\
- \hline
- \end{tabular}
- \end{center}
- \end{table}\\
- a~toto je konec tabulky v~\LaTeX u a~\LaTeX\ prostředí.
- \newpage
- \subsubsection{Podpodkapitola figuroidní}
- Já obsahuji obrázek~č. \ref{fig:Obrazek}
- \begin{figure}[htb]
- \centering
- \makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{3cm}}}
- \caption{Prázdný rámeček}
- \label{fig:Obrazek}
- \end{figure}
- \paragraph{Paragraf neužitečnoidní}
- Ahoj já jsem paragraf necitující \cite{first}.
- \paragraph{Paragraf kničemuidní}
- Já jsem druhý paragraf.
- \subparagraph{Subparagraf shitoidní}
- Já jsem subpara \ldots
- \renewcommand{\refname}{Použitá literatura}
- \begin{thebibliography}{1}
- \bibitem{first}
- PARK, Sung Min a Yuriy GRESHISHCHEV. Optical Communications. \emph{2007 IEEE International Solid-State Circuits Conference. Digest of Technical Papers.} IEEE, 2007, 40-41. DOI:~10.1109/ISSCC.2007.373577. \mbox{ISBN~1-4244-0852-0}. \mbox{ISSN~0193-6530}. Dostupné také z: http://ieeexplore.ieee.org/document/4242254/
- \end{thebibliography}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement