summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-18 21:35:07 +0000
committerKarl Berry <karl@freefriends.org>2018-09-18 21:35:07 +0000
commit34da94a6f5710516fa026b82cb5806e16744e0ec (patch)
tree18660cbc9c20f19db375d635d790014c122e11f6 /Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
parent3a714d124787d5ac238a028165c7d899f91d9e5f (diff)
ucsmonograph (18sep18)
git-svn-id: svn://tug.org/texlive/trunk@48694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls')
-rw-r--r--Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls44
1 files changed, 35 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls b/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
index 8ee108f1841..b6749e09746 100644
--- a/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
+++ b/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ucsmonograph}
-[2018/08/16 v1.1.0 Padrao de monografias da UCS]
+[2018/09/18 v1.1.1 Padrao de monografias da UCS]
\RequirePackage{ifthen}
@@ -113,6 +113,8 @@ citecolor=black,
\RequirePackage{adjustbox}
\newlength\larguraimagem
+\newlength\larguratabular
+\newlength\largurafonte
\RequirePackage{chngcntr}
\counterwithout{equation}{chapter}
@@ -168,7 +170,7 @@ citecolor=black,
\addto\captionsbrazil{%
\renewcommand{\listfigurename}{Lista de figuras}%
-\renewcommand{\listadesimbolosname}{Lista de símbolos}%
+\renewcommand{\listadesimbolosname}{Lista de s\'{i}mbolos}%
}
\renewcommand{\ABNTEXchapterfont}{\bfseries}
@@ -226,9 +228,9 @@ citecolor=black,
\mdseries%
\SingleSpacing%
\imprimirpreambulo%
-\begin{flushright}%
+\vspace{\onelineskip}%
+
\imprimirorientadorRotulo~\imprimirorientador%
-\end{flushright}%
\end{minipage}%
}%
\vfill
@@ -236,6 +238,22 @@ citecolor=black,
\expandafter\uppercase\expandafter{\thedate}%
}
+\renewcommand{\ABNTEXcaptionfontedelim}{: }
+\renewcommand{\fonte}[2][\larguratabular]{%
+\ifthenelse{\equal{\strip@pt#1}{0}}{%
+\setlength\largurafonte\linewidth
+}{%
+\setlength\largurafonte{#1}
+}
+\par
+\centering%
+\begin{minipage}[h]{\largurafonte}
+\vspace{2pt}
+\raggedright\footnotesize\fontename%
+\ABNTEXcaptionfontedelim\ignorespaces #2
+\end{minipage}
+}
+
\let\@olddedicatoria\dedicatoria
\let\@oldenddedicatoria\enddedicatoria
\def\dedicatoria{%
@@ -272,6 +290,17 @@ pdfsubject={#1}
}
}
+\let\@oldtabular\tabular
+\let\@oldendtabular\endtabular
+\def\tabular{%
+\begin{adjustbox}{gstore width=\larguratabular}
+\@oldtabular
+}
+\def\endtabular{%
+\@oldendtabular
+\end{adjustbox}
+}
+
\let\@oldlistoffigures\listoffigures
\def\listoffigures{%
\pdfbookmark[0]{\listfigurename}{lof}
@@ -382,11 +411,8 @@ Universidade de Caxias do Sul - UCS \par
\newcommand{\incluirimagem}[4][1]{%
\caption{#3}%
-\adjustimage{scale=#1,fbox=1.5pt {\fboxsep} 1pt,gstore width=\larguraimagem,center}{#2} \par %
-\centering%
-\begin{minipage}[h]{\larguraimagem-14pt}%
-\raggedright\footnotesize Fonte: #4 %
-\end{minipage}
+\adjustimage{scale=#1,fbox=1.5pt {\fboxsep} 1pt,gstore width=\larguraimagem,center}{#2}
+\fonte[\larguraimagem-14pt]{#4}
}
\ifthenelse{\boolean{@siglasAtivo}}{%