Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.71 KB | None | 0 0
  1. \documentclass[titlepage,12pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[czech]{babel}
  4. \usepackage{avant}
  5. \usepackage{amsmath}
  6.  
  7. % Odstraní "hbox warningy" v "thebibliography" {
  8. \usepackage{etoolbox}
  9. \apptocmd{\sloppy}{\hbadness 10000\relax}{}{}
  10. % }
  11.  
  12. \title{Ahoj, světe!}
  13. \author{Samuel Trávníček}
  14.  
  15. \begin{document}
  16.  
  17. \maketitle
  18. \tableofcontents
  19. \newpage
  20. \listoffigures
  21. \listoftables
  22. \newpage
  23.  
  24. \section[Pro obsah jen kapitola]{Jedna kapitola všehoidní}
  25. Ahoj, \uv{já jsem nějaká} kapitola \verb|\ldots| \ldots
  26.  
  27. \subsection{Podkapitola kódoidní a rovnicoidní}
  28. OK, já jsem ta podkapitola.
  29. \begin{verbatim}
  30. #include <stdio.h>
  31.    void main(void) {
  32.    printf("Hello, World!\n");
  33. }
  34. \end{verbatim}
  35. protože bagr podle rovnice \ref{equ:psiphi}
  36. \begin{equation}
  37.    \label{equ:psiphi}
  38.    \Psi = \sqrt[3]{\sum_{i = 0}^{\infty}{(\Phi - i)}^3 + \sum\nolimits_{i = -\infty}^{\infty}{(\Phi - i)}^3}
  39. \end{equation}\\
  40. vypadá\footnote{Anglicky \uv{looks like}} takto:
  41. \begin{equation}
  42.    \label{equ:otherequ}
  43.    B_x \neq \zeta \cdot \Delta x \cdot {\Big((x+1)(x-1)\Big)}^2
  44. \end{equation}
  45. a~proto
  46. \begin{equation}
  47.    \label{equ:otherequ2}
  48.    \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}
  49. \end{equation}
  50. \subsubsection{Podpodkapitola tabuloidní}
  51. Já obsahuji tabulku~č. \ref{tab:Tabulka}.
  52. \begin{table}[htb]
  53.    \caption{Nesmysly v kostce}
  54.    \label{tab:Tabulka}
  55.    \begin{center}
  56.        \begin{tabular}{|c|c|}
  57.            \hline
  58.            ahoj \& ahoj & jak $\Psi \Phi$ \\
  59.            \hline
  60.            je & ? \\
  61.            \hline
  62.        \end{tabular}
  63.    \end{center}
  64. \end{table}\\
  65. a~toto je konec tabulky v~\LaTeX u a~\LaTeX\ prostředí.
  66.  
  67. \newpage
  68. \subsubsection{Podpodkapitola figuroidní}
  69. Já obsahuji obrázek~č. \ref{fig:Obrazek}
  70.  
  71. \begin{figure}[htb]
  72.    \centering
  73.    \makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{3cm}}}
  74.    \caption{Prázdný rámeček}
  75.    \label{fig:Obrazek}
  76. \end{figure}
  77.  
  78. \paragraph{Paragraf neužitečnoidní}
  79. Ahoj já jsem paragraf necitující \cite{first}.
  80.  
  81. \paragraph{Paragraf kničemuidní}
  82. Já jsem druhý paragraf.
  83.  
  84. \subparagraph{Subparagraf shitoidní}
  85. Já jsem subpara \ldots
  86.  
  87. \renewcommand{\refname}{Použitá literatura}
  88. \begin{thebibliography}{1}
  89. \bibitem{first}
  90. 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/
  91. \end{thebibliography}
  92.  
  93. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement