detiuaveiro / ua-thesis-template

📖 A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
MIT License
103 stars 36 forks source link

\Quote on Chapters #11

Closed LudeeD closed 5 years ago

LudeeD commented 5 years ago

Maybe big noob on latex but the macro \Quote appears to not be usable in the Chapters

rj-jesus commented 5 years ago

Maybe try

\epigraph{Your quote.}{--- \textup{Author}, Publication}
LudeeD commented 5 years ago

Just said something because the macro is defined in the University template, however, cannot use it in Chapters because build fails

rj-jesus commented 5 years ago

The macro you're referring too is meant only for the cover. See particularly this excerpt from uaThesisTemplate.sty.

\newcommand{\Quote}[2]{\def\ciQuoteText{#1}\def\ciQuoteAuthor{#2}}

% ...

%
% Second alternative, with a citation
%
\ifdefined \ciQuoteText
  \TitlePage
    \HEADER{\BAR\FIG{
           \begin{minipage}{100mm} % no more than 120mm
            ``\textit{\ciQuoteText}''
             \begin{flushright}
                 --- \ciQuoteAuthor
             \end{flushright}
          \end{minipage}
          }}
           {\ciThesisYear}
   \dolistloop{\ciTitle}

  \EndTitlePage
  \titlepage\ \endtitlepage % empty page
\fi

The variables held in the macro are expanded accordingly and placed in the title page.