From 9dd5158298dc4d7011641806da34307e575a0aba Mon Sep 17 00:00:00 2001 From: Eduardo Junior <edujrrib@gmail.com> Date: Sat, 12 Dec 2015 00:54:20 -0200 Subject: [PATCH] =?UTF-8?q?Adiciona=20comando=20latex=20para=20t=C3=ADtulo?= =?UTF-8?q?=20das=20rotinas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template.tex | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/template.tex b/template.tex index fcfc62b..640d949 100644 --- a/template.tex +++ b/template.tex @@ -216,6 +216,28 @@ $else$ \predate{}\postdate{} $endif$ +% Para o apêndice de exemplo de rotinas +\usepackage{tabularx} +\usepackage{float} +\newcommand{\routine}[1]{ + % \rule{1\textwidth}{.4pt} \\ [0.1cm] + % \hspace*{1cm}\texttt{#1} \\ [0cm] + % \rule{1\textwidth}{.4pt} + %% Não funcionou, pois as linhas não ficavam vinculadas ao texto, + %% podendo ficar a linha em uma pagina e o texto na outra. + \begin{table}[H] + \centering + \begin{tabularx}{1\textwidth}{l} + \hline + \\ [-0.05cm] + \large{\texttt{#1}} \\ + \\ [-0.05cm] + \hline + \end{tabularx} + \end{table} + +} + $for(header-includes)$ $header-includes$ $endfor$ -- GitLab