summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucsmonograph
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucsmonograph')
-rw-r--r--Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls80
1 files changed, 76 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls b/Master/texmf-dist/tex/latex/ucsmonograph/ucsmonograph.cls
index f27350ec86d..d2c89e8614e 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/12/10 v1.2.1 Padrao de monografias da UCS]
+[2019/11/07 v1.3.0 Padrao de monografias da UCS]
\RequirePackage{ifthen}
@@ -142,6 +142,17 @@ citecolor=black,
\setabbreviationstyle[foreignabbreviation]{long-short-user}%
}{}
+\newcommand{\palavraschavename}{Palavras-chave:}
+\addto\captionsenglish{
+ \renewcommand\palavraschavename{Keywords:}
+}
+\addto\captionsgerman{
+ \renewcommand\palavraschavename{Stichw\"orter:}
+}
+\addto\captionsspanish{
+ \renewcommand\palavraschavename{Palabras-llave:}
+}
+
\newcommand{\quadroname}{Quadro}
\newcommand{\listquadroname}{Lista de quadros}
@@ -260,6 +271,14 @@ citecolor=black,
\end{capa}%
}
+\renewenvironment{folhaderosto}[1]{\clearpage\PRIVATEbookmarkthis{#1}}{\cleardoublepage}
+\renewenvironment{folhaderosto*}[1]{\clearpage\PRIVATEbookmarkthis{#1}}{\newpage}
+
+\renewcommand{\imprimirfolhaderosto}[1][\folhaderostoname]{%
+\@ifstar{\imprimirfolhaderostostar#1}{%
+\imprimirfolhaderostonostar#1}
+}
+
\renewcommand{\folhaderostocontent}{%
\bfseries\centering%
\expandafter\uppercase\expandafter{\theauthor}%
@@ -315,6 +334,53 @@ citecolor=black,
\@oldenddedicatoria%
}
+\let\@oldepigrafe\epigrafe
+\let\@oldendepigrafe\endepigrafe
+\def\epigrafe{%
+\@oldepigrafe %
+\vspace*{\fill}%
+\hspace{0.5\textwidth}%
+\begin{minipage}[b]{.45\textwidth}%
+\SingleSpacing\itshape\raggedleft%
+}
+\def\endepigrafe{%
+\end{minipage}%
+\@oldendepigrafe
+}
+
+\renewcommand\abstractnamefont\chaptitlefont
+\newboolean{@abstractotherlanguage}
+\setboolean{@abstractotherlanguage}{false}
+\DeclareRobustCommand\resumo{\@ifnextchar[{\@@resumo}{\@resumo}}
+\def\@resumo{%
+\let\@oldabstractname\abstractname
+\PRIVATEbookmarkthis{\abstractname}
+\def\abstractname{\MakeUppercase{\@oldabstractname}}
+\begin{abstract}
+\SingleSpacing
+}
+\def\@@resumo[#1]{%
+\begin{otherlanguage}{#1}
+\setboolean{@abstractotherlanguage}{true}
+\let\@oldabstractname\abstractname
+\PRIVATEbookmarkthis{\abstractname}
+\def\abstractname{\MakeUppercase{\@oldabstractname}}
+\begin{abstract}
+\SingleSpacing
+}
+\def\endresumo{%
+\vspace{\onelineskip}\par
+\imprimirpalavraschave
+\end{abstract}
+\PRIVATEclearpageifneeded
+\ifthenelse{\boolean{@abstractotherlanguage}}{\end{otherlanguage}}{}
+\setboolean{@abstractotherlanguage}{false}
+\def\abstractname\@oldabstractname
+}
+
+\newcommand\imprimirpalavraschave{%
+\textbf{\palavraschavename}\ \@palavraschavecontent}
+
\let\@oldtitulo\titulo
\renewcommand{\titulo}[1]{%
\@oldtitulo{#1}
@@ -394,13 +460,19 @@ pdfsubject={#1}
\let\@oldforeignlanguage\foreignlanguage
\renewcommand{\foreignlanguage}[2]{\@oldforeignlanguage{#1}{\emph{#2}}}
-\newcommand{\@palavraschave}{}
-\newcommand{\palavraschave}[1]{%
-\renewcommand{\@palavraschave}{#1}
+\newcommand{\@palavraschavecontent}{}
+\DeclareRobustCommand\palavraschave{\@ifnextchar[{\@@palavraschave}{\@palavraschave}}
+\def\@palavraschave#1{%
+\renewcommand\@palavraschavecontent{#1}
\hypersetup{%
pdfkeywords={#1}
}
}
+\def\@@palavraschave[#1]#2{
+\expandafter\addto\csname captions#1\endcsname{
+\renewcommand\@palavraschavecontent{#2}
+}
+}
\newcommand\@areadoconhecimento{}
\newcommand\areadoconhecimento[1]{%