I found in Overleaf a quite good beamer template. However, I need to write in Spanish, and even though I added the package \usepackage[spanish]{babel}, when I write the outcome is not what must be:

It should be Modelos Atómicos

The project has a complicated .sty file. I´ve tried to look for some guide of how to use this template, but I did not find anything. Here is the link to the project on overleaf: https://www.overleaf.com/read/txpdhmwvkdpp.

  • Comment out command "\UseRawInputEncoding"
    – Ignasi
    Jun 6 '21 at 17:31
  • @Ignasi That fixed the issue of the Spanish spelling, but it creates three additional problems (via warnings). Jun 6 '21 at 17:40

As it is the project does not compile in Overleaf.

Without modifying the preamble or the .sty I was able to get the right result (using pdflatex) by correcting two frames, because they included characters not recognized by inputenc.

(1) In \footnote{If containing text in equations, use $\backslash$mathrm\{\} or $\backslash$text\{\}}} between equation and use. (line 112)


(2) In Check definition of Equation~(\ref{eq:vsphere}) in Table~\ref{tab:number} \end{lstlisting} after Table~\ref{tab:number}

It can be seen in Overleaf at the end of the line 298.




enter image description here

% !TeX TS-program = pdflatex


% Cannot enable in Xelatex
% \setbeameroption{hide notes} % Only slides
% \setbeameroption{show only notes} % Only notes
% \setbeameroption{show notes on second screen}

% other packages

%% Enable only in Xelatex
% \usepackage{pstricks}

\title{Modelos atómicos}
\institute [School of Information Systems, QUT] {School of Information Systems\\Queensland University of Technology}

% defs
\def\cmd#1{\texttt{\color{red}\footnotesize $\backslash$#1}}
\def\env#1{\texttt{\color{blue}\footnotesize #1}}

    emphstyle=\ttfamily\color{deepred},    % Custom highlighting style

            {Introduce your self}

\begin{frame}{Formatting Samples}
    \begin{exampleblock}{Equation without numbers} 
            J(\theta) = \mathbb{E}_{\pi_\theta}[G_t] = \sum_{s\in\mathcal{S}} d^\pi (s)V^\pi(s)=\sum_{s\in\mathcal{S}} d^\pi(s)\sum_{a\in\mathcal{A}}\pi_\theta(a|s)Q^\pi(s,a)
      \begin{exampleblock}{Multiple equations\footnote{If containing text in equations, use $\backslash$mathrm\{\} or $\backslash$text\{\}}}       
            Q_\mathrm{target}&=r+\gamma Q^\pi(s^\prime, \pi_\theta(s^\prime)+\epsilon)\\
            \epsilon&\sim\mathrm{clip}(\mathcal{N}(0, \sigma), -c, c)\nonumber

    Word & Definition \\
    1 & 4.0 \\
    2 & 3.7 \\
Check definition of 
 in Table~\ref{tab:number}
                Eq. & Def. \\\midrule
                1 & 4.0\\
                2 & 3.7\\\bottomrule
        \normalsize Please check the definition of Equation~(\ref{eq:vsphere}) in Table~\ref{tab:number}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.