From e1436c1878488b6d3b7bfdd4887f5d616e705886 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 21 Dec 2023 21:06:23 +0000 Subject: unbtex (21dec23) git-svn-id: svn://tug.org/texlive/trunk@69189 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/unbtex/README.md | 6 +- .../texmf-dist/doc/latex/unbtex/unbtex-example.pdf | Bin 584318 -> 600842 bytes .../texmf-dist/doc/latex/unbtex/unbtex-example.tex | 25 ++--- .../doc/latex/unbtex/unbtex-example/anexo-a.tex | 110 ++++++++++++++++++--- .../doc/latex/unbtex/unbtex-example/anexo-b.tex | 26 ++--- .../doc/latex/unbtex/unbtex-example/capitulo2.tex | 12 ++- .../doc/latex/unbtex/unbtex-example/capitulo3.tex | 32 +++--- .../doc/latex/unbtex/unbtex-example/capitulo4.tex | 2 +- .../unbtex-example/codigos/ModalReduction.jl | 36 +++---- .../unbtex/unbtex-example/figuras/coresunb.pdf | Bin 0 -> 60311 bytes 10 files changed, 165 insertions(+), 84 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/unbtex/unbtex-example/figuras/coresunb.pdf (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/unbtex/README.md b/Master/texmf-dist/doc/latex/unbtex/README.md index a5ceb2f3166..7b8bf46c1c7 100644 --- a/Master/texmf-dist/doc/latex/unbtex/README.md +++ b/Master/texmf-dist/doc/latex/unbtex/README.md @@ -1,6 +1,6 @@ # UnBTeX: A class for bachelor, master, and doctoral thesis at the # University of Brasilia (UnB), Brazil. -# Version 1.4.2 2023/12/15 +# Version 1.4.3 2023/12/22 Copyright (C) 2021-2023 by Henrique C. Ferreira @@ -88,6 +88,10 @@ Here is a history of changes: have been enhanced, and page numbering has been removed . The Cutter code has been removed from the copyright page . The example chapters have been reorganized + 1.4.3 (2023-12-22): + . Keywords in English have been included on the copyright page if the + document is written in this language + . Examples of long tables and rotated tables have been included ## Overleaf diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf b/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf index fce7fa264ce..03972cb0fb9 100644 Binary files a/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf and b/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex index 39bab94b580..909bad49ac6 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex @@ -1,7 +1,7 @@ %% %% UnBTeX: A class for bachelor, master, and doctoral thesis at the %% University of Brasilia (UnB), Brazil -%% Version 1.4.2 2023/12/15 +%% Version 1.4.3 2023/12/22 %% Copyright (C) 2021-2023 by Henrique C. Ferreira %% %% This class file may be distributed and/or modified under the conditions @@ -33,6 +33,10 @@ % Pacotes básicos (Adicione abaixo pacotes úteis para o seu trabalho) % --- +\RequirePackage{longtable} % Pacote para tabelas que ocupam mais de uma página +\RequirePackage{rotating} % Pacote para girar tabelas (e outros objetos) +\RequirePackage{pdfpages} % Pacote para incluir documentos pdf + % Lista na bibliografia o número das páginas que cada referência é citada \RequirePackage[hyperpageref]{backref} % Bibliografia nas normas da ABNT, formato autor-data @@ -60,7 +64,7 @@ % Espaço entre os itens das listas \setlength{\nomitemsep}{-\parsep} % Separa os grupos das listas e imprime -\newcommand{\nomenclheader}[1]{\section*{\hspace*{-\leftmargin}#1}} +\newcommand{\nomenclheader}[1]{\section*{\hspace*{-\leftmargin}\large#1}} \renewcommand\nomgroup[1]{% \IfStrEqCase{#1}{% {A}{\vspace{-42pt}\nomenclheader{}} % Lista de abreviaturas e siglas @@ -75,7 +79,7 @@ } % Compila as listas \makenomenclature -% Ajusta largura da margem da descrição +% Ajusta largura da margem da descrição do símbolo/sigla/abreviatura \RequirePackage{xpatch} \makeatletter \xapptocmd\thenomenclature{\let\@item\nomencl@item\def\nomencl@width{0pt}}{}{} @@ -133,7 +137,7 @@ % Local e data \local{Brasília} -\dia{15} +\dia{22} \mes{dezembro} \ano{2023} @@ -146,6 +150,8 @@ \kwordiii{Keyword 3} \pchaveiv{Palavra chave 4} % deixar vazio se não tiver \kwordiv{Keyword 4} % deixar vazio se não tiver +\pchavev{} % deixar vazio se não tiver +\kwordv{} % deixar vazio se não tiver % Código Cutter para a ficha catalográfica: %\numerocutter{000} % Correspondente ao seu nome (encontre, por exemplo, no site https://www.tabelacutter.com/) @@ -222,12 +228,7 @@ % --- % Define os textos da citação \renewcommand*{\backref}[1]{} -\renewcommand*{\backrefalt}[4]{ - \ifcase #1 \nocitation - \or \citedp~#2. - \else \citedpp~#2. - \fi -} +\renewcommand*{\backrefalt}[4]{\ifcase#1\nocitation\or\citedp~#2.\else\citedpp~#2.\fi} % --- % ------------------------------------------------------------------------ @@ -339,7 +340,7 @@ Segundo a \citeonline[seções 3.1-3.2]{NBR6028:2003}, o resumo deve ressaltar o \vspace{\onelineskip} \noindent -\textbf{Palavras-chave}: \pchaveinome. \pchaveiinome. \pchaveiiinome. \ifthenelse{\equal{\pchaveivnome}{}}{}{\pchaveivnome.} +\textbf{Palavras-chave}: \pchaveinome. \pchaveiinome. \pchaveiiinome. \ifthenelse{\equal{\pchaveivnome}{}}{}{\pchaveivnome. \ifthenelse{\equal{\pchavevnome}{}}{}{\pchavevnome.}} \end{resumo}} % Resumo em inglês @@ -354,7 +355,7 @@ This is the english abstract. \vspace{\onelineskip} \noindent -\textbf{Keywords}: \kwordinome. \kwordiinome. \kwordiiinome. \ifthenelse{\equal{\kwordivnome}{}}{}{\kwordivnome.} +\textbf{Keywords}: \kwordinome. \kwordiinome. \kwordiiinome. \ifthenelse{\equal{\kwordivnome}{}}{}{\kwordivnome. \ifthenelse{\equal{\kwordvnome}{}}{}{\kwordvnome.}} \end{otherlanguage*} \end{resumo}} % --- diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-a.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-a.tex index ecb054d1a1f..0a90ec65ebf 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-a.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-a.tex @@ -1,15 +1,103 @@ % ---------------------------------------------------------- -\chapter{Figuras de exemplo}\label{anx:fig} +\chapter{Tabelas longas e rotacionadas}\label{anx:tabs} % ---------------------------------------------------------- -% Fonte: https://tex.stackexchange.com/a/231741/91816 (Gonzalo Medina) +\begin{longtable}{L{2.5cm}C{2.5cm}C{1cm}C{1.5cm}C{1cm}C{1.5cm}C{1cm}C{1.5cm}} +% Cabeçalho no início da tabela +\caption{Descriptive Statistics (\%): Commerce Faculty ($N = 6508$)} +\label{tab:dscf} \\ +\toprule +\multirow{3}{*}{\bfseries Variable} & +\multirow{3}{*}{\parbox{2.5cm}{\centering\bfseries Proportions in Sample}} & +\multicolumn{6}{c}{\bfseries Proportions by Subtype} \\ +\cmidrule{3-8} +& & +\multicolumn{2}{c}{\bfseries Graduated} & \multicolumn{2}{C{3cm}}{\bfseries Academically Excluded} & +\multicolumn{2}{c}{\bfseries Censored} \\ +\midrule +\endfirsthead +% Cabeçalho da continuação da tabela no topo da página seguinte +\caption[]{Descriptive Statistics (\%): Commerce Faculty ($N = 6508$) (continuação)} \\ \toprule +\multirow{3}{*}{\bfseries Variable} & +\multirow{3}{*}{\parbox{2.5cm}{\centering\bfseries Proportions in Sample}} & +\multicolumn{6}{c}{\bfseries Proportions by Subtypes} \\ +\cmidrule{3-8} +& & +\multicolumn{2}{c}{\bfseries Graduated} & \multicolumn{2}{C{3cm}}{\bfseries Academically Excluded} & +\multicolumn{2}{c}{\bfseries Censored} \\ +\midrule +\endhead +\bottomrule +\endlastfoot +\bfseries Total & 100.0 & 50.1 & (45.8) & 7.5 & (14.9) & 42.4 & (39.3) \\ +\addlinespace +\bfseries Gender \\ +Male & 52.4 & 49.6 & (44.3) & 8.7 & (17.3) & 41.7 & (38.5) \\ +Female & 47.6 & 50.7 & (48.0) & 6.2 & (11.5) & 43.1 & (40.5) \\ +\addlinespace +\bfseries Race \\ +White & 40.3 & 59.8 & (58.7) & 3.0 & (4.6) & 37.2 & (36.7) \\ +Black & 32.4 & 38.7 & (32.5) & 13.1 & (26.3) & 48.2 & (41.2) \\ +Coloured & 13.0 & 49.8 & (44.5) & 7.4 & (16.1) & 42.8 & (39.5) \\ +Indian/Asian & 14.3 & 48.9 & (44.6) & 7.9 & (13.3) & 43.3 & (42.1) \\ +\addlinespace +\bfseries Financial Aid \\ +Ineligible for Financial Aid & 82.3 & 52.1 & (48.7) & 5.5 & (10.6) & 42.4 & (40.7) \\ +Eligible for Financial Aid & 17.7 & 40.7 & (35.2) & 17.2 & (30.3) & 42.1 & (34.5) \\ +\addlinespace +\bfseries Programme \\ +Mainstream & 76.9 & 55.4 & (51.3) & 5.7 & (10.8) & 38.9 & (37.9) \\ +Academic Development & 23.1 & 32.5 & (27.1) & 13.7 & (28.7) & 53.8 & (44.2) \\ +\addlinespace +\bfseries English Home Language \\ +Yes & 69.3 & 55.1 & (52.8) & 4.9 & (8.6) & 39.9 & (38.6) \\ +No & 30.7 & 38.8 & (32.8) & 13.4 & (26.6) & 47.8 & (40.6) \\ +\addlinespace +\bfseries School Quintile \\ +1 & 0.8 & 34.6 & (26.1) & 30.8 & (42.6) & 34.6 & (31.3) \\ +2 & 1.6 & 30.2 & (28.1) & 16.0 & (35.1) & 53.8 & (36.8) \\ +3 & 5.0 & 32.0 & (27.7) & 17.5 & (35.3) & 50.5 & (37.0) \\ +4 & 4.1 & 37.7 & (29.5) & 17.7 & (32.0) & 44.5 & (38.5) \\ +5 & 45.4 & 52.0 & (49.2) & 6.9 & (12.0) & 41.1 & (38.9) \\ +Independent & 43.1 & 52.5 & (50.4) & 5.3 & (8.6) & 42.2 & (41.0) \\ +\addlinespace +{\bfseries Province} \\ +Western Cape & 40.0 & 55.1 & (51.3) &5.9 & (11.6) &39.0 & (37.0) \\ +Non-Western Cape & 59.9 & 46.8 & (41.9) & 8.6 & (17.2) & 44.6 & (41.0) \\ +\addlinespace +{\bfseries Year of First Registration} \\ +{2006} & 11.6 & 87.8 & (79.9) & 11.3 & (18.9) & 0.9 & (1.2) \\ +{2007} & 11.9 & 88.2 & (79.4) & 10.1 & (19.2) & 1.7 & (1.4) \\ +{2008} & 12.6 & 87.1 & (76.7) & 10.3 & (20.3) & 2.6 & (3.0) \\ +{2009} & 11.9 & 80.9 & (64.9) & 9.7 & (24.9) & 9.4 & (10.2) \\ +{2010} & 11.1 & 62.6 & (57.5) & 6.4 & (12.7) & 31.1 & (29.8) \\ +{2011} & 11.7 & 15.8 & (15.3) & 7.2 & (12.8) & 77.0 & (71.9) \\ +{2012} & 14.1 & 0.0 & (0.0) & 5.4 & (7.5) & 94.6 & (92.5) \\ +{2013} & 15.1 & 0.0 & (0.0) & 1.7 & (3.0) & 98.3 & (97.0) \\ +\end{longtable} -\noindent\includegraphics[width=3cm]{example-image-a}\qquad -\includegraphics[width=3cm]{example-image-golden}\qquad -\includegraphics[width=3cm]{example-grid-100x100pt} - -\noindent\includegraphics[height=5cm]{example-image-b} - -\noindent\includegraphics[scale=0.5]{example-image-c} - -\noindent\includegraphics[width=3cm]{example-image} \ No newline at end of file +\begin{sidewaystable} +\begin{center}% +\small +\caption{Tabela rotacionada}\label{tab:rot} +\setlength\tabcolsep{3pt} % controla o espaço entre colunas +\begin{tabular}{L{1.1cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}L{1.6cm}}\toprule +Sv,ieq & 000436xa & 000594xa & 001715xa & 001932ya & 006040ya & 006263xa & 007162ya & 007257ya & IT0605ya & IT0790xa & emiliaeo-retro & emilians-retro \\ \midrule +0.4 & 2.447 & 2.177 & 2.304 & 4.921 & 4.298 & 2.121 & 3.928 & 3.478 & 3.462 & 1.751 & 0.875 & 0.525 \\ +0.8 & 4.894 & 4.354 & 4.609 & 9.843 & 8.597 & 4.241 & 7.857 & 6.957 & 6.924 & 3.502 & 1.750 & 1.049 \\ +1.2 & 7.341 & 6.530 & 6.913 & 14.764 & 12.895 & 6.362 & 11.785 & 10.435 & 10.386 & 5.252 & 2.625 & 1.574 \\ +1.6 & 9.789 & 8.707 & 9.218 & 19.686 & 17.194 & 8.482 & 15.713 & 13.914 & 13.848 & 7.003 & 3.500 & 2.099 \\ +2 & 12.236 & 10.884 & 11.522 & 24.607 & 21.492 & 10.603 & 19.642 & 17.392 & 17.310 & 8.754 & 4.375 & 2.624 \\ +2.4 & 14.683 & 13.061 & 13.827 & 29.529 & 25.791 & 12.723 & 23.570 & 20.871 & 20.772 & 10.505 & 5.250 & 3.148 \\ +2.8 & 17.130 & 15.237 & 16.131 & 34.450 & 30.089 & 14.844 & 27.498 & 24.349 & 24.234 & 12.256 & 6.125 & 3.673 \\ +3.2 & 19.577 & 17.414 & 18.435 & 39.372 & 34.388 & 16.965 & 31.427 & 27.828 & 27.697 & 14.006 & 7.000 & 4.198 \\ +3.6 & 22.024 & 19.591 & 20.740 & 44.293 & 38.686 & 19.085 & 35.355 & 31.306 & 31.159 & 15.757 & 7.875 & 4.723 \\ +4 & 24.471 & 21.768 & 23.044 & 49.215 & 42.984 & 21.206 & 39.283 & 34.784 & 34.621 & 17.508 & 8.750 & 5.247 \\ +4.4 & 26.919 & 23.945 & 25.349 & 54.136 & 47.283 & 23.326 & 43.212 & 38.263 & 38.083 & 19.259 & 9.625 & 5.772 \\ +4.8 & 29.366 & 26.121 & 27.653 & 59.058 & 51.581 & 25.447 & 47.140 & 41.741 & 41.545 & 21.009 & 10.500 & 6.297 \\ +5.2 & 31.813 & 28.298 & 29.957 & 63.979 & 55.880 & 27.567 & 51.068 & 45.220 & 45.007 & 22.760 & 11.375 & 6.821 \\ +5.6 & 34.260 & 30.475 & 32.262 & 68.900 & 60.178 & 29.688 & 54.996 & 48.698 & 48.469 & 24.511 & 12.250 & 7.346 \\ +6 & 36.707 & 32.652 & 34.566 & 73.822 & 64.477 & 31.809 & 58.925 & 52.177 & 51.931 & 26.262 & 13.125 & 7.871 \\ \bottomrule +\end{tabular} +\end{center}% +\end{sidewaystable} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-b.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-b.tex index b74fa719810..b5ba38f064c 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-b.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/anexo-b.tex @@ -1,23 +1,11 @@ % ---------------------------------------------------------- -\chapter{Logo LaTeX}\label{anx:logo} +\chapter{Paleta de cores UnB}\label{anx:coresunb} % ---------------------------------------------------------- -\vfill +A página a seguir foi extraída do \emph{manual de identidade visual}\footnote{Disponível em \url{http://marca.unb.br}} da UnB. -\begin{center} -{\fontsize{50pt}{800pt}\selectfont \LaTeX}\ -\end{center} - -\vfill - -\begin{center} -{\color{azulunb}\fontsize{50pt}{800pt}\selectfont \LaTeX}\ -\end{center} - -\vfill - -\begin{center} -{\color{verdeunb}\fontsize{50pt}{800pt}\selectfont \LaTeX}\ -\end{center} - -\vfill \ No newline at end of file +\includepdf[ + pages=-, % intervalo das páginas do pdf que serão incluídas + scale=1, % controla o tamanho da página inserida + pagecommand={\thispagestyle{simple}}, % numeração da página + ]{unbtex-example/figuras/coresunb} \cleardoublepage \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex index ceb9ceaea55..bb27c530fe5 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex @@ -84,7 +84,7 @@ u_{li}(t) &= - \textrm{sign}(s_{li}(t))\eta. \label{eq:u_xbi} \begin{equation}\label{eq:point-mass-velocity} \begin{split} \dot{V}_{i}(t) &{}= \frac{T_{i}(t) - D_i(t)}{m_i} - g \sin \gamma_{i}(t) + b_{ti}(t), \\ -\dot{\chi}_i(t) &{}= \frac{L_i(t) \sin \phi_i(t)}{m_i V_{i}(t) \cos \gamma_{i}(t)} + \frac{b_{\psi i}(t)}{V_{i}(t)\cos \gamma_{i}(t)},\\ +\dot{\chi}_i(t) &{}= \frac{L_i(t) \sin \phi_i(t)}{m_i V_{i}(t) \cos \gamma_{i}(t)} + \frac{b_{\psi i}(t)}{V_{i}(t)\cos \gamma_{i}(t)}, \\ \dot{\gamma}_{i}(t) &{}= \frac{L_i(t) \cos \phi_i(t)}{m_i V_{i}(t)} - \frac{g \cos \gamma_{i}(t)}{V_{i}(t)} + \frac{b_{\theta i}(t)}{V_{i}(t)}. \end{split} \end{equation} @@ -163,10 +163,10 @@ Normalmente não há problemas em usar caracteres acentuados em arquivos bibliog \caption{Tabela de conversão de acentuação} \label{tab:acentos} \begin{tabular}{ll} \toprule -acento & bibtex\\ \midrule\midrule -à á ã & \verb|\`a| \verb|\'a| \verb|\~a|\\ \midrule -í & \verb|{\'\i}|\\ \midrule -ç & \verb|{\c c}|\\ \bottomrule +acento & bibtex \\ \midrule +à á ã & \verb|\`a| \verb|\'a| \verb|\~a| \\ +í & \verb|{\'\i}| \\ +ç & \verb|{\c c}| \\ \bottomrule \end{tabular} \end{center} \end{table} @@ -290,6 +290,8 @@ Para incluir documentos sem quebra de páginas, utilize: \input{documento-a-ser-incluido} % sem a extensão .tex \end{verbatim} +No \cref{anx:coresunb} foi incluída uma página em \texttt{pdf} do manual de identidade visual da UnB utilizando-se o comando \verb|\includepdf| do pacote \textsf{pdfpages}. + % --- %\section{Ficha catalográfica com código Cutter-Sanborn} % --- diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo3.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo3.tex index af5f00ba525..be47541a1b1 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo3.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo3.tex @@ -30,23 +30,23 @@ As \cref{tab:nivel,tab:fluxo,tab:ibge} são exemplos de tabelas construída em \begin{center}% \caption{Componentes curriculares do segundo nível} \label{tab:fluxo} -{\renewcommand{\arraystretch}{1.2} % espaçamento entre as linhas da tabela +{\renewcommand{\arraystretch}{1.3} % espaçamento entre as linhas da tabela \begin{tabular}{|m{1.6cm}|m{4.3cm}|C{.7cm}|C{.7cm}|C{.7cm}|C{.75cm}|C{.7cm}|m{2.1cm}|} \hline% -\multicolumn{8}{|l|}{\textbf{2º Nível}} \\\hline% +\multicolumn{8}{|l|}{\textbf{2º Nível}} \\ \hline% \multirow{2}{*}{Código} & \multirow{2}{*}{Componente curricular} & \multicolumn{5}{c|}{Quantidade de horas} & \multirow{2}{*}{Pré-requisito} \\ -\cline{3-7} & & Teo. & Pr. & Ext. & EaD & Tot. & \\\hline\hline% -MAT0026 & Cálculo 2 & 60 & 30 & 0 & 0 & 90 & MAT0025 \\\hline% -IFD0171 & Física 1 & 60 & 0 & 0 & 0 & 60 & \\\hline% -IFD0173 & Física 1 Experimental & 0 & 30 & 0 & 0 & 30 & \\\hline% -EST0023 & Probabilidade e Estatística & 30 & 30 & 0 & 0 & 60 & MAT0025 \\\hline% -ENM0190 & Desenho Mecânico para Engenharia & 30 & 30 & 0 & 0 & 60 & \\\hline% -CIC0090 & Estruturas de Dados & 30 & 30 & 0 & 0 & 60 & CIC0004 \\\hline% -\multicolumn{6}{|l|}{Componentes optativos ou eletivos} & 60 & \multicolumn{1}{r}{} \\\cline{1-7}% -\multicolumn{6}{|l|}{Total de horas do 2º Nível} & 420 & \multicolumn{1}{r}{} \\\cline{1-7}% +\cline{3-7} & & Teo. & Pr. & Ext. & EaD & Tot. & \\ \hline\hline% +MAT0026 & Cálculo 2 & 60 & 30 & 0 & 0 & 90 & MAT0025 \\ \hline% +IFD0171 & Física 1 & 60 & 0 & 0 & 0 & 60 & \\ \hline% +IFD0173 & Física 1 Experimental & 0 & 30 & 0 & 0 & 30 & \\ \hline% +EST0023 & Probabilidade e Estatística & 30 & 30 & 0 & 0 & 60 & MAT0025 \\ \hline% +ENM0190 & Desenho Mecânico para Engenharia & 30 & 30 & 0 & 0 & 60 & \\ \hline% +CIC0090 & Estruturas de Dados & 30 & 30 & 0 & 0 & 60 & CIC0004 \\ \hline% +\multicolumn{6}{|l|}{Componentes optativos ou eletivos} & 60 & \multicolumn{1}{r}{} \\ \cline{1-7}% +\multicolumn{6}{|l|}{Total de horas do 2º Nível} & 420 & \multicolumn{1}{r}{} \\ \cline{1-7}% \end{tabular}} \end{center}% \end{table} @@ -58,9 +58,9 @@ CIC0090 & Estruturas de Dados & 30 & 30 & 0 & 0 & 60 & CIC0004 \\\hline% }{% \begin{tabular}{ccc} \toprule - \textbf{Nome} & \textbf{Nascimento} & \textbf{Documento} \\ \midrule \midrule - Maria da Silva & 11/11/1111 & 111.111.111-11 \\ \midrule - João Souza & 11/11/2111 & 211.111.111-11 \\ \midrule + \textbf{Nome} & \textbf{Nascimento} & \textbf{Documento} \\ \midrule + Maria da Silva & 11/11/1111 & 111.111.111-11 \\[3pt] + João Souza & 11/11/2111 & 211.111.111-11 \\[3pt] Laura Vicuña & 05/04/1891 & 3111.111.111-11 \\ \bottomrule \end{tabular}% }{% @@ -70,7 +70,7 @@ CIC0090 & Estruturas de Dados & 30 & 30 & 0 & 0 & 60 & CIC0004 \\\hline% } \end{table} -Para tabelas que ocupam mais de uma página, é possível utilizar o pacote \textsf{longtable}. Para alterar a cor de linhas e de células de tabelas, o pacote \textsf{colortbl} pode ser utilizado. Também há pacotes que rotacionam tabelas, para que fiquem em uma página em formato paisagem. Faça as tabelas usando como base qualquer um dos exemplos aqui apresentados ou outros que considerar mais adequados e que podem ser facilmente encontrados na internet. +Para alterar a cor de linhas e de células de tabelas, o pacote \textsf{colortbl} foi utilizado. Para mesclar linhas e colunas, como na \cref{tab:fluxo}, utilize o pacote \textsf{multirow}. O pacote \textsf{longtable} pode ser usado para construir tabelas que ocupam mais de uma página e o pacote \textsf{rotating} pode ser usado para rotacionar tabelas. No \cref{anx:tabs} há exemplos de tabelas que os utilizam. Faça tabelas usando como base qualquer um dos exemplos apresentados neste documento ou outros que considerar mais adequados e que podem ser facilmente encontrados na internet. % --- \section{Figuras} @@ -100,8 +100,6 @@ De todo modo, caso não seja possível utilizar arquivos de imagens como \texttt Note que de acordo com as normas da ABNT, numeração e título das figuras e tabelas devem aparecer na parte superior. Na parte inferior deve ser informada a fonte. -Outros exemplos de inserção de figuras no texto podem ser encontrados nos \cref{anx:fig,anx:logo}. - % --- \subsection{Figuras em \emph{minipages}} % --- diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo4.tex b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo4.tex index d7e54d16119..cc499c7daef 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo4.tex +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo4.tex @@ -2,7 +2,7 @@ \chapter{Ambientes} % ---------------------------------------------------------- -Este modelo disponibiliza alguns ``ambientes'', ou seja, caixas de texto com formatação especial para certos tipos de elementos que são automaticamente numerados (e.g. \cref{prop:WYSIWYG}, \cref{thm:WYSIWYG}, etc.). Esses ambientes foram adaptados para o UnB\TeX\ a partir soluções utilizadas por \citeonline{Castro2019}. +Este modelo disponibiliza alguns ``ambientes'', ou seja, caixas de texto com formatação especial para certos tipos de elementos que são automaticamente numerados (por exemplo, \cref{prop:WYSIWYG}, \cref{thm:WYSIWYG}, etc.). Esses ambientes foram adaptados para o UnB\TeX\ a partir soluções utilizadas por \citeonline{Castro2019}. \section{Exemplos de ambientes disponíveis} diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/codigos/ModalReduction.jl b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/codigos/ModalReduction.jl index d17d1b305f6..5eeb6142e90 100644 --- a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/codigos/ModalReduction.jl +++ b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/codigos/ModalReduction.jl @@ -6,26 +6,26 @@ export generateMATLABSimulationScript #Gera A, B, C to sistema completo function generateABC(n) - tau = 0.2426 # tau do barbante (1/s) para excursão de 30cm - taul = 0.1133 # tau da bolinha (1/s) para excursão de 30cm - ms = 0.0006 # massa linear do barbante (kg/m) - mb = 0.00015 # massa da bolinha (kg) - g = 9.80665 # aceleração da gravidade (m/s^2) - L = 0.82 # Comprimento total do barbante (m) - l = L/n # distância entre dois pontos de discretização (m) - T0 = mb*g # Tração no ponto 0 (logo acima da bolinha) - considerando peso da bolinha (N) + tau = 0.2426 # tau do barbante (1/s) para excursão de 30cm + taul = 0.1133 # tau da bolinha (1/s) para excursão de 30cm + ms = 0.0006 # massa linear do barbante (kg/m) + mb = 0.00015 # massa da bolinha (kg) + g = 9.80665 # aceleração da gravidade (m/s^2) + L = 0.82 # Comprimento total do barbante (m) + l = L/n # distância entre dois pontos de discretização (m) + T0 = mb*g # Tração no ponto 0 (logo acima da bolinha) - considerando peso da bolinha (N) - b = zeros(n) - c = g/(2l) - d = zeros(n) - e = zeros(n) + b = zeros(n) + c = g/(2l) + d = zeros(n) + e = zeros(n) - b[1] = g/l - for k = 2:n - b[k] = (T0 + ms*g*(k-1)*l)/(ms*l^2) - d[k] = b[k] - c - e[k] = b[k] + c - end + b[1] = g/l + for k = 2:n + b[k] = (T0 + ms*g*(k-1)*l)/(ms*l^2) + d[k] = b[k] - c + e[k] = b[k] + c + end A = generateA(n, b, d, e, tau, taul) B = generateB(n,e[n]) diff --git a/Master/texmf-dist/doc/latex/unbtex/unbtex-example/figuras/coresunb.pdf b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/figuras/coresunb.pdf new file mode 100644 index 00000000000..2412be70789 Binary files /dev/null and b/Master/texmf-dist/doc/latex/unbtex/unbtex-example/figuras/coresunb.pdf differ -- cgit v1.2.3