LaTex

  • Prolog
    \documentclass[a4paper,10pt]{article}
    \usepackage[a4paper]{geometry}
    \usepackage{listings}
    
    \begin{document}
    
    \begin{center}
    \begin{tabular}{c}
    \noindent \textbf{\large Title}\\
    \hline
    \emph {Autor: Ivan Ribeiro Rocha}\\
    \emph {irocha@uolinc.com}\\
    \end{tabular}
    \end{center}
    
    \vspace{20pt}
    
    \tableofcontents
    
    \newpage
    
  • Sample Equation
    \setcounter{equation}{0}
    \begin{equation}aes \rightarrow AES_{256}()\end{equation}
    \begin{equation}skey_{int} \rightarrow SERPENT_{256}()\end{equation}
    \begin{equation}iv \rightarrow random()\end{equation}
    \begin{equation}crypt_{64} \rightarrow Base_{64}(X)\end{equation}
    \begin{equation}hmac \rightarrow HMACSHA_{256}...\end{equation}
    \\
    (1) Gera ...\\
    (2) Recupera ...chave sim\'{e}trica \emph{interna}...\\
    (3) Gera vetor de inicializa\c{c}\~{a}o...\\
    (4) Criptografa chave \emph{AES}...\\
    (5) Gera \emph{HMAC}...\\
    
  • Pre-Formatted
    \begin{verbatim}
    13:10:34.328546 IP irr-desktop.33543 > irr-desktop.2157: UDP, length 357
            0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
            0x0010:  0181 0000 4000 4011 9a31 ac16 2387 ac16  ....@.@..1..#...
            0x0020:  2387 8307 086d 016d a0b9 7265 7175 6573  #....m.m..reques
            0x0030:  742d 6964 3a20 324b 5554 444f 7073 3673  t-id:.2KUTDOps6s
    \end{verbatim}
    
  • Graphics
    \usepackage{graphicx}
    
    \begin{figure}[htp]
    \centering
    \includegraphics[width=0.9\textwidth]{test.pdf}
    \end{figure}