Skip to content

Commit

Permalink
lcc.cls: marcar algunas definiciones como \long
Browse files Browse the repository at this point in the history
Esto arregla un error de compilación.
  • Loading branch information
mtzguido committed Feb 13, 2023
1 parent 6edd533 commit c84e391
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lcc.cls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

\newif\ifdatos\datosfalse

\def\datosalumno{
\long\def\datosalumno{
\begin{mdframed}[]
Nombre y Apellido:
\end{mdframed}
Expand Down Expand Up @@ -203,7 +203,7 @@
% Archivo de logo opcional, por defecto se usa el embebido.
\def\@logofile{}
\newcommand{\logofile}[1]{\def\@logofile{#1}}
\def\@logo{
\long\def\@logo{
\ifx\@logofile\empty
\LogoUNR
\else
Expand All @@ -219,7 +219,7 @@
\def\@materia{\textit{Materia}}
\newcommand{\materia}[1]{\def\@materia{#1}}

\def\@materiafull{%
\long\def\@materiafull{%
\ifx\@codigo\empty
\else
{\@codigo} ---
Expand Down Expand Up @@ -252,7 +252,7 @@
\end{tabular}
}

\def\@fancyfooter{
\long\def\@fancyfooter{
\lfoot{\small \@shorttitle}
\cfoot{\small \@date}
\rfoot{\small Página \thepage/\pageref*{LastPage}}
Expand All @@ -279,7 +279,7 @@
\@fancyfooter
}

\def\@fulltitle{%
\long\def\@fulltitle{%
\ifk
{\@tipop}
\ifx\@num\empty\else
Expand All @@ -295,7 +295,7 @@
}
\newcommand{\fulltitle}[1]{\def\@fulltitle{#1}}

\def\@fancytitle{
\long\def\@fancytitle{
{
\large\bf
{\@tipop}
Expand All @@ -322,7 +322,7 @@

% El headsep que fue restado.
\addtolength{\textheight}{25pt}
\def\makeheader{
\long\def\makeheader{
\thispagestyle{ps_primera}
% Restar el \headsep de ps_resto
\addtolength{\textheight}{-\headsep}
Expand All @@ -343,7 +343,7 @@
\hrule
}

\def\maketitle{
\long\def\maketitle{
\makeheader
\vspace{3mm}

Expand Down

0 comments on commit c84e391

Please sign in to comment.