summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-08 21:41:32 +0000
committerKarl Berry <karl@freefriends.org>2019-11-08 21:41:32 +0000
commit3bbc4db84c2de66cbc5611b4e9cd3cff0e0f3d2f (patch)
treef93a4a53beb3afff1f38dfac9b105d2d6b70c9fa /Master/texmf-dist/tex
parentad12eac5a9018d44b7c837f103bc6f9d896e9180 (diff)
ucsmonograph (8nov19)
git-svn-id: svn://tug.org/texlive/trunk@52698 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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]{%