quotes.tex 824 B

123456789101112131415161718192021222324252627
  1. \documentclass{article}
  2. \usepackage[pdftex,active,tightpage]{preview}
  3. \setlength\PreviewBorder{2mm}
  4. \usepackage[utf8]{inputenc} % this is needed for umlauts
  5. \usepackage[ngerman]{babel} % this is needed for umlauts
  6. \usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
  7. \usepackage{amssymb,amsmath,amsfonts} % nice math rendering
  8. \usepackage{braket} % needed for \Set
  9. \usepackage{algorithm,algpseudocode}
  10. \begin{document}
  11. \begin{preview}
  12. This is a 'samle' with some "quotes".
  13. \begin{algorithm}[H]
  14. \begin{algorithmic}
  15. \State $a \gets \Call{map}{~}$
  16. \State $a['x'] \gets 42$
  17. \State $a["x"] \gets 1337$
  18. \end{algorithmic}
  19. \caption{Algorithmus von Stoer und Wanger}
  20. \label{alg:seq1}
  21. \end{algorithm}
  22. \end{preview}
  23. \end{document}