diff --git a/example.tex b/example.tex index aa5e337..1f48812 100644 --- a/example.tex +++ b/example.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Archivo de ejemplo -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/main.tex b/main.tex index c13166f..3fc509e 100644 --- a/main.tex +++ b/main.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Archivo principal -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cfg/final.tex b/src/cfg/final.tex index 57ad118..7c5721d 100644 --- a/src/cfg/final.tex +++ b/src/cfg/final.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Configuraciones finales -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cfg/init.tex b/src/cfg/init.tex index 97e4dd7..345d305 100644 --- a/src/cfg/init.tex +++ b/src/cfg/init.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Configuración inicial del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -91,16 +91,16 @@ Template.Author.Email={pablo@ppizarror.com}, Template.Author.Web={https://ppizarror.com}, Template.Author={Pablo Pizarro R.}, - Template.Date={29/10/2023}, + Template.Date={04/11/2023}, Template.Encoding={UTF-8}, Template.Latex.Compiler={pdflatex}, Template.License.Type={MIT}, Template.License.Web={https://opensource.org/licenses/MIT}, Template.Name={Template-Presentacion}, Template.Type={Normal}, - Template.Version.Dev={2.2.4-PRES}, - Template.Version.Hash={3B040E59ACB8C38DF86FE3C4BCAB9AEF}, - Template.Version.Release={2.2.4}, + Template.Version.Dev={2.2.5-PRES}, + Template.Version.Hash={43F780AA354243A6A01CF5328736DBF1}, + Template.Version.Release={2.2.5}, Template.Web.Dev={https://github.com/Template-Latex/Template-Presentacion}, Template.Web.Manual={https://latex.ppizarror.com/presentacion}, University.Department={\pdfmetainfouniversitydepartment}, @@ -112,7 +112,7 @@ pdfmenubar={\cfgpdfmenubar}, pdfpagelayout={\cfgpdflayout}, pdfpagemode={\cfgpdfpagemode}, - pdfproducer={Template-Presentacion v2.2.4 | (Pablo Pizarro R.) ppizarror.com}, + pdfproducer={Template-Presentacion v2.2.5 | (Pablo Pizarro R.) ppizarror.com}, pdfremotestartview={Fit}, pdfstartpage={1}, pdfstartview={\cfgpdfpageview}, @@ -170,7 +170,7 @@ } }{ % Color de links sin borde - \hypersetup{ % No reorganizar + \hypersetup{% No reorganizar hidelinks, colorlinks=true, citecolor=\numcitecolor, @@ -185,11 +185,11 @@ % ----------------------------------------------------------------------------- % Márgenes de las leyendas por defecto \setcaptionmargincm{\captionlrmargin} -\ifthenelse{\equal{\captiontextbold}{true}}{ % Texto en negrita en etiquetas +\ifthenelse{\equal{\captiontextbold}{true}}{% Texto en negrita en etiquetas \renewcommand{\captiontextbold}{bf}}{ \renewcommand{\captiontextbold}{} } -\ifthenelse{\equal{\captiontextsubnumbold}{true}}{ % Número en negritas +\ifthenelse{\equal{\captiontextsubnumbold}{true}}{% Número en negritas \renewcommand{\captiontextsubnumbold}{bf}}{ \renewcommand{\captiontextsubnumbold}{} } @@ -254,24 +254,24 @@ } % Alineado de leyendas -\ifthenelse{\equal{\captionalignment}{justified}}{ % Leyenda justificada +\ifthenelse{\equal{\captionalignment}{justified}}{% Leyenda justificada \captionsetup{ format=plain, justification=justified } }{ -\ifthenelse{\equal{\captionalignment}{centered}}{ % Leyenda centrada +\ifthenelse{\equal{\captionalignment}{centered}}{% Leyenda centrada \captionsetup{ justification=centering } }{ -\ifthenelse{\equal{\captionalignment}{left}}{ % Leyenda alineada a la izquierda +\ifthenelse{\equal{\captionalignment}{left}}{% Leyenda alineada a la izquierda \captionsetup{ justification=raggedright, singlelinecheck=false } }{ -\ifthenelse{\equal{\captionalignment}{right}}{ % Leyenda alineada a la derecha +\ifthenelse{\equal{\captionalignment}{right}}{% Leyenda alineada a la derecha \captionsetup{ justification=raggedleft, singlelinecheck=false diff --git a/src/cfg/page.tex b/src/cfg/page.tex index be82eec..9138079 100644 --- a/src/cfg/page.tex +++ b/src/cfg/page.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Configuración de página -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/column.tex b/src/cmd/column.tex index 7f40725..26a8fdd 100644 --- a/src/cmd/column.tex +++ b/src/cmd/column.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones para crear columnas con contenido -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/core.tex b/src/cmd/core.tex index 06e56de..6667d56 100644 --- a/src/cmd/core.tex +++ b/src/cmd/core.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones del núcleo del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/equation.tex b/src/cmd/equation.tex index 08fe02e..d7c6d90 100644 --- a/src/cmd/equation.tex +++ b/src/cmd/equation.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones para insertar ecuaciones -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/image.tex b/src/cmd/image.tex index 07a03eb..8238cd4 100644 --- a/src/cmd/image.tex +++ b/src/cmd/image.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones para insertar imágenes -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -39,25 +39,25 @@ \setlength{\fboxrule}{#4 pt}% \ifthenelse{\equal{\GLOBALenvimageadded}{true}}{% \hspace{\dimexpr \marginimagemultright cm -\coreimageshspace}% - }{}% + }{} % Obs: No sacar el espacio en blanco, tampoco en sin/con label \ifthenelse{\equal{#5}{\GLOBALemptyvar}}{ % Sin label - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \raisebox{\GLOBALimagenextmarginv}{% \fbox{\includegraphics[#3]{#2}}% }% - }{ % Con link + }{% Con link \raisebox{\GLOBALimagenextmarginv}{% \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% }% }% }{ % Con label - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \subfloat[#5#1]{% \raisebox{\GLOBALimagenextmarginv}{% \fbox{\includegraphics[#3]{#2}}% }% }% - }{ % Con link + }{% Con link \subfloat[#5#1]{% \raisebox{\GLOBALimagenextmarginv}{% \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% @@ -112,46 +112,46 @@ \ifthenelse{\equal{\GLOBALenvimageadded}{true}}{% \hspace{\dimexpr \marginimagemultright cm - \coreimageshspace}% }{}% - \ifthenelse{\equal{#7}{\GLOBALemptyvar}}{ % Sin label - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{#7}{\GLOBALemptyvar}}{% Sin label + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% }% }% - }{ % Con label + }{% Con label \subfloat[#7#1]{% - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% @@ -288,9 +288,9 @@ \setlength{\fboxsep}{0 pt}% \setlength{\fboxrule}{#4 pt}% \centering% - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \fbox{\includegraphics[#3]{#2}}% - }{ % Con link + }{% Con link \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% }% \endgroup% @@ -340,31 +340,31 @@ \setlength{\fboxsep}{0 pt}% \setlength{\fboxrule}{#6 pt}% \centering% - \ifthenelse{\equal{\animatedimagecontrols}{true}}{ % Muestra los controles - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{\animatedimagecontrols}{true}}{% Muestra los controles + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[controls,loop,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[controls,loop,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[controls,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[controls,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin controles - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin controles + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% }% diff --git a/src/cmd/math.tex b/src/cmd/math.tex index 1acf74c..4de4f92 100644 --- a/src/cmd/math.tex +++ b/src/cmd/math.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones matemáticas -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -343,7 +343,7 @@ \newcommand{\Z}{\ensuremath{\mathbb{Z}}} % Definición de operadores matemáticos de asignación (Typeset assigments) -\ifthenelse{\equal{\fontdocument}{step}}{}{ % Ya definidos en STEP +\ifthenelse{\equal{\fontdocument}{step}}{}{% Ya definidos en STEP \newcommand{\asteq}{\ensuremath{\mathrel{{*}{=}}}} \newcommand{\eqeq}{\ensuremath{\mathrel{{=}{=}}}} } diff --git a/src/cmd/other.tex b/src/cmd/other.tex index 0903dc7..e47b3e1 100644 --- a/src/cmd/other.tex +++ b/src/cmd/other.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones para insertar elementos -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -170,7 +170,7 @@ % #1 Posición inicial del inicio de colores \newcommand{\settablerowcolors}[1]{% \emptyvarerr{\settablerowcolors}{#1}{Posicion de fila no definida}% - \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{ % Usa colores normales + \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{% Usa colores normales \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -184,7 +184,7 @@ \rowcolors{#1}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -206,7 +206,7 @@ % Alterna los colores de las tablas a la última ejecución \newcommand{\settablerowcolorslast}{% - \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{ % Usa colores normales + \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{% Usa colores normales \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{\GLOBALtablerowcolorindex}{}{}% @@ -220,7 +220,7 @@ \rowcolors{\GLOBALtablerowcolorindex}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{\GLOBALtablerowcolorindex}{}{}% diff --git a/src/cmd/presentacion.tex b/src/cmd/presentacion.tex index d263a90..bfeeac5 100644 --- a/src/cmd/presentacion.tex +++ b/src/cmd/presentacion.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/title.tex b/src/cmd/title.tex index 3db7060..19a8104 100644 --- a/src/cmd/title.tex +++ b/src/cmd/title.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Funciones para insertar títulos -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -12,23 +12,23 @@ % Parcha el formato de secciones al pasar desde una anum, vuelve a activar número % de la sección \pretocmd{\section}{% - \ifthenelse{\equal{\showsectioncaptioncode}{sec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{sec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{sec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{sec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{sec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{sec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{sec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{sec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -37,23 +37,23 @@ % Comienza nueva subsección, si está dentro de una sectionanum entonces no dibuja el % número de sección, si no entonces dibuja el número de forma normal \pretocmd{\subsection}{% - \ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{ssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{ssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -64,23 +64,23 @@ % - si no, entonces puede estar dentro de una sección sin número o no, en ese caso % debe evaluar ambas posibilidades \pretocmd{\subsubsection}{% - \ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{sssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{sssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% diff --git a/src/config.tex b/src/config.tex index d6cd4f3..b47cb08 100644 --- a/src/config.tex +++ b/src/config.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Configuraciones del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/defs.tex b/src/defs.tex index 19f2e6e..7ceef94 100644 --- a/src/defs.tex +++ b/src/defs.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Definiciones -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -9,35 +9,16 @@ % Manual template: [https://latex.ppizarror.com/presentacion] % Licencia MIT: [https://opensource.org/licenses/MIT] -\colorlet{numb}{magenta!60!black} -\colorlet{punct}{red!60!black} -\definecolor{beige}{RGB}{210,194,149} -\definecolor{beigegray}{RGB}{95,87,79} -\definecolor{boxgray}{RGB}{238,235,233} -\definecolor{cardinalred}{RGB}{140,21,21} -\definecolor{coolgray}{RGB}{77,79,83} -\definecolor{darkbeige}{RGB}{179,153,93} -\definecolor{darkcardinal}{RGB}{94,48,50} -\definecolor{darkcyan}{RGB}{0,124,146} -\definecolor{darkorange}{RGB}{168,101,12} -\definecolor{darkpurple}{RGB}{83,40,79} -\definecolor{delim}{RGB}{20,105,176} -\definecolor{dkcyan}{RGB}{0,123,167} -\definecolor{dkgray}{RGB}{90,90,90} -\definecolor{dkgreen}{RGB}{0,150,0} -\definecolor{footergray}{RGB}{199,209,197} -\definecolor{gray}{RGB}{127,127,127} -\definecolor{lbrown}{RGB}{255,252,249} -\definecolor{lgray}{RGB}{240,240,240} -\definecolor{lightcardinal}{RGB}{141,60,30} -\definecolor{lightgray}{RGB}{240,240,240} -\definecolor{mauve}{RGB}{150,0,210} -\definecolor{mitdarkgray}{cmyk}{0.48,0.39,0.39,0.04} -\definecolor{mitlightgray}{cmyk}{0.24,0.20,0.20,0} -\definecolor{mitred}{cmyk}{0.24,1,0.78,0.17} -\definecolor{ocre}{RGB}{243,102,25} -\definecolor{skyblue}{RGB}{0,152,219} -\definecolor{treegreen}{RGB}{0,155,118} +\definecolor{cardinalred}{RGB}{140, 21, 21} +\definecolor{dkcyan}{RGB}{0, 123, 167} +\definecolor{dkgray}{RGB}{90, 90, 90} +\definecolor{dkgreen}{RGB}{0, 150, 0} +\definecolor{gray}{RGB}{127, 127, 127} +\definecolor{lbrown}{RGB}{255, 252, 249} +\definecolor{lgray}{RGB}{240, 240, 240} +\definecolor{mauve}{RGB}{150, 0, 210} +\definecolor{mitred}{RGB}{161, 0, 47} +\definecolor{ocre}{RGB}{243, 102, 25} % Definiciones en configuraciones \def\iitembcirc {\raisebox{0.55\height}{\scriptsize$\bullet$}} diff --git a/src/env/environments.tex b/src/env/environments.tex index 39f6569..62c9964 100644 --- a/src/env/environments.tex +++ b/src/env/environments.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Definición de entornos -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/env/imports.tex b/src/env/imports.tex index 3035744..0772b90 100644 --- a/src/env/imports.tex +++ b/src/env/imports.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Importación de librerías -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -53,7 +53,7 @@ \usepackage{tracklang} \IfTrackedLanguage{spanish}{ \usepackage[es-nosectiondot,es-lcroman,es-noquoting]{babel} -}{ % english, otros +}{% english, otros \usepackage{babel} } @@ -782,7 +782,7 @@ % Finales % ----------------------------------------------------------------------------- \usepackage[T1]{fontenc} % Caracteres acentuados -\ifthenelse{\equal{\showlayoutlines}{true}}{ % Muestra las líneas del layout +\ifthenelse{\equal{\showlayoutlines}{true}}{% Muestra las líneas del layout \usepackage{showframe}}{ } \def\showlinenumbers {true} diff --git a/src/etc/example.tex b/src/etc/example.tex index aa5e337..1f48812 100644 --- a/src/etc/example.tex +++ b/src/etc/example.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Archivo de ejemplo -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/style/code.tex b/src/style/code.tex index e66e2e3..cb0b511 100644 --- a/src/style/code.tex +++ b/src/style/code.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Estilos de código fuente -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -311,13 +311,13 @@ % JSON \lstdefinestyle{json}{ - literate=*{0}{{{\color{numb}0}}}{1}{1}{{{\color{numb}1}}}{1}{2} - {{{\color{numb}2}}}{1}{3}{{{\color{numb}3}}}{1}{4}{{{\color{numb}4}}} - {1}{5}{{{\color{numb}5}}}{1}{6}{{{\color{numb}6}}}{1}{7}{{{\color{numb}7}}} - {1}{8}{{{\color{numb}8}}}{1}{9}{{{\color{numb}9}}}{1}{:} - {{{\color{punct}{:}}}}{1}{,}{{{\color{punct}{,}}}}{1}{\{} - {{{\color{delim}{\{}}}}{1}{\}}{{{\color{delim}{\}}}}} - {1}{[}{{{\color{delim}{[}}}}{1}{]}{{{\color{delim}{]}}}}{1}, + literate=*{0}{{{\color{cardinalred}0}}}{1}{1}{{{\color{cardinalred}1}}}{1}{2} + {{{\color{cardinalred}2}}}{1}{3}{{{\color{cardinalred}3}}}{1}{4}{{{\color{cardinalred}4}}} + {1}{5}{{{\color{cardinalred}5}}}{1}{6}{{{\color{cardinalred}6}}}{1}{7}{{{\color{cardinalred}7}}} + {1}{8}{{{\color{cardinalred}8}}}{1}{9}{{{\color{cardinalred}9}}}{1}{:} + {{{\color{dkcyan}{:}}}}{1}{,}{{{\color{dkcyan}{,}}}}{1}{\{} + {{{\color{MidnightBlue}{\{}}}}{1}{\}}{{{\color{MidnightBlue}{\}}}}} + {1}{[}{{{\color{MidnightBlue}{[}}}}{1}{]}{{{\color{MidnightBlue}{]}}}}{1}, tabsize=2 } @@ -678,22 +678,22 @@ morecomment=[l]{//}, morecomment=[s]{/*}{*/}, moredelim=[s][{\itshape\color[rgb]{0,0,0.75}}]{\#[}{]}, - morekeywords=[2]{ % Traits + morekeywords=[2]{% Traits Add,AddAssign,Any,AsciiExt,AsInner,AsInnerMut,AsMut,AsRawFd,AsRawHandle,AsRawSocket,AsRef,Binary,BitAnd,BitAndAssign,Bitor,BitOr,BitOrAssign,BitXor,BitXorAssign,Borrow,BorrowMut,Boxed,BoxPlace,BufRead,BuildHasher,CastInto,CharExt,Clone,CoerceUnsized,CommandExt,Copy,Debug,DecodableFloat,Default,Deref,DerefMut,DirBuilderExt,DirEntryExt,Display,Div,DivAssign,DoubleEndedIterator,DoubleEndedSearcher,Drop,EnvKey,Eq,Error,ExactSizeIterator,ExitStatusExt,Extend,FileExt,FileTypeExt,Float,Fn,FnBox,FnMut,FnOnce,Freeze,From,FromInner,FromIterator,FromRawFd,FromRawHandle,FromRawSocket,FromStr,FullOps,FusedIterator,Generator,Hash,Hasher,Index,IndexMut,InPlace,Int,Into,IntoCow,IntoInner,IntoIterator,IntoRawFd,IntoRawHandle,IntoRawSocket,IsMinusOne,IsZero,Iterator,JoinHandleExt,LargeInt,LowerExp,LowerHex,MetadataExt,Mul,MulAssign,Neg,Not,Octal,OpenOptionsExt,Ord,OsStrExt,OsStringExt,Packet,PartialEq,PartialOrd,Pattern,PermissionsExt,Place,Placer,Pointer,Product,Put,RangeArgument,RawFloat,Read,Rem,RemAssign,Seek,Shl,ShlAssign,Shr,ShrAssign,Sized,SliceConcatExt,SliceExt,SliceIndex,Stats,Step,StrExt,Sub,SubAssign,Sum,Sync,TDynBenchFn,Terminal,Termination,ToOwned,ToSocketAddrs,ToString,Try,TryFrom,TryInto,UnicodeStr,Unsize,UpperExp,UpperHex,WideInt,Write }, morekeywords=[2]{ Send }, - morekeywords=[3]{ % Primitivas + morekeywords=[3]{% Primitivas bool,char,f32,f64,i8,i16,i32,i64,isize,str,u8,u16,u32,u64,unit,usize,i128,u128 }, - morekeywords=[4]{ % Valor y tipo de constructores + morekeywords=[4]{% Valor y tipo de constructores Err,false,None,Ok,Some,true }, - morekeywords=[5]{ % Identificadores + morekeywords=[5]{% Identificadores assert!,assert_eq!,assert_ne!,cfg!,column!,compile_error!,concat!,concat_idents!,debug_assert!,debug_assert_eq!,debug_assert_ne!,env!,eprint!,eprintln!,file!,format!,format_args!,include!,include_bytes!,include_str!,line!,module_path!,option_env!,panic!,print!,println!,select!,stringify!,thread_local!,try!,unimplemented!,unreachable!,vec!,write!,writeln! }, - morekeywords={ % Palabras reservadas + morekeywords={% Palabras reservadas abstract,alignof,become,box,do,final,macro,offsetof,override,priv, proc,pure,sizeof,typeof,unsized,virtual,yield }, morekeywords={ diff --git a/src/style/other.tex b/src/style/other.tex index 8f30cab..2cab039 100644 --- a/src/style/other.tex +++ b/src/style/other.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Otros estilos -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/template.tex b/template.tex index b94cd28..1627c73 100644 --- a/template.tex +++ b/template.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Núcleo del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -13,35 +13,16 @@ % CONFIGURACIONES % ----------------------------------------------------------------------------- % Definiciones previas -\colorlet{numb}{magenta!60!black} -\colorlet{punct}{red!60!black} -\definecolor{beige}{RGB}{210,194,149} -\definecolor{beigegray}{RGB}{95,87,79} -\definecolor{boxgray}{RGB}{238,235,233} -\definecolor{cardinalred}{RGB}{140,21,21} -\definecolor{coolgray}{RGB}{77,79,83} -\definecolor{darkbeige}{RGB}{179,153,93} -\definecolor{darkcardinal}{RGB}{94,48,50} -\definecolor{darkcyan}{RGB}{0,124,146} -\definecolor{darkorange}{RGB}{168,101,12} -\definecolor{darkpurple}{RGB}{83,40,79} -\definecolor{delim}{RGB}{20,105,176} -\definecolor{dkcyan}{RGB}{0,123,167} -\definecolor{dkgray}{RGB}{90,90,90} -\definecolor{dkgreen}{RGB}{0,150,0} -\definecolor{footergray}{RGB}{199,209,197} -\definecolor{gray}{RGB}{127,127,127} -\definecolor{lbrown}{RGB}{255,252,249} -\definecolor{lgray}{RGB}{240,240,240} -\definecolor{lightcardinal}{RGB}{141,60,30} -\definecolor{lightgray}{RGB}{240,240,240} -\definecolor{mauve}{RGB}{150,0,210} -\definecolor{mitdarkgray}{cmyk}{0.48,0.39,0.39,0.04} -\definecolor{mitlightgray}{cmyk}{0.24,0.20,0.20,0} -\definecolor{mitred}{cmyk}{0.24,1,0.78,0.17} -\definecolor{ocre}{RGB}{243,102,25} -\definecolor{skyblue}{RGB}{0,152,219} -\definecolor{treegreen}{RGB}{0,155,118} +\definecolor{cardinalred}{RGB}{140, 21, 21} +\definecolor{dkcyan}{RGB}{0, 123, 167} +\definecolor{dkgray}{RGB}{90, 90, 90} +\definecolor{dkgreen}{RGB}{0, 150, 0} +\definecolor{gray}{RGB}{127, 127, 127} +\definecolor{lbrown}{RGB}{255, 252, 249} +\definecolor{lgray}{RGB}{240, 240, 240} +\definecolor{mauve}{RGB}{150, 0, 210} +\definecolor{mitred}{RGB}{161, 0, 47} +\definecolor{ocre}{RGB}{243, 102, 25} % Definiciones en configuraciones \def\iitembcirc {\raisebox{0.55\height}{\scriptsize$\bullet$}} @@ -106,7 +87,7 @@ \usepackage{tracklang} \IfTrackedLanguage{spanish}{ \usepackage[es-nosectiondot,es-lcroman,es-noquoting]{babel} -}{ % english, otros +}{% english, otros \usepackage{babel} } @@ -835,7 +816,7 @@ % Finales % ----------------------------------------------------------------------------- \usepackage[T1]{fontenc} % Caracteres acentuados -\ifthenelse{\equal{\showlayoutlines}{true}}{ % Muestra las líneas del layout +\ifthenelse{\equal{\showlayoutlines}{true}}{% Muestra las líneas del layout \usepackage{showframe}}{ } \def\showlinenumbers {true} @@ -1443,7 +1424,7 @@ \newcommand{\Z}{\ensuremath{\mathbb{Z}}} % Definición de operadores matemáticos de asignación (Typeset assigments) -\ifthenelse{\equal{\fontdocument}{step}}{}{ % Ya definidos en STEP +\ifthenelse{\equal{\fontdocument}{step}}{}{% Ya definidos en STEP \newcommand{\asteq}{\ensuremath{\mathrel{{*}{=}}}} \newcommand{\eqeq}{\ensuremath{\mathrel{{=}{=}}}} } @@ -2046,25 +2027,25 @@ \setlength{\fboxrule}{#4 pt}% \ifthenelse{\equal{\GLOBALenvimageadded}{true}}{% \hspace{\dimexpr \marginimagemultright cm -\coreimageshspace}% - }{}% + }{} % Obs: No sacar el espacio en blanco, tampoco en sin/con label \ifthenelse{\equal{#5}{\GLOBALemptyvar}}{ % Sin label - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \raisebox{\GLOBALimagenextmarginv}{% \fbox{\includegraphics[#3]{#2}}% }% - }{ % Con link + }{% Con link \raisebox{\GLOBALimagenextmarginv}{% \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% }% }% }{ % Con label - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \subfloat[#5#1]{% \raisebox{\GLOBALimagenextmarginv}{% \fbox{\includegraphics[#3]{#2}}% }% }% - }{ % Con link + }{% Con link \subfloat[#5#1]{% \raisebox{\GLOBALimagenextmarginv}{% \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% @@ -2119,46 +2100,46 @@ \ifthenelse{\equal{\GLOBALenvimageadded}{true}}{% \hspace{\dimexpr \marginimagemultright cm - \coreimageshspace}% }{}% - \ifthenelse{\equal{#7}{\GLOBALemptyvar}}{ % Sin label - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{#7}{\GLOBALemptyvar}}{% Sin label + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% }% }% - }{ % Con label + }{% Con label \subfloat[#7#1]{% - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin autoplay + }{% Sin autoplay \raisebox{\GLOBALimagenextmarginv}{% \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% @@ -2295,9 +2276,9 @@ \setlength{\fboxsep}{0 pt}% \setlength{\fboxrule}{#4 pt}% \centering% - \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{ % Sin link + \ifthenelse{\equal{\GLOBALimagelink}{\GLOBALemptyvar}}{% Sin link \fbox{\includegraphics[#3]{#2}}% - }{ % Con link + }{% Con link \fbox{\href{\GLOBALimagelink}{\includegraphics[#3]{#2}}}% }% \endgroup% @@ -2347,31 +2328,31 @@ \setlength{\fboxsep}{0 pt}% \setlength{\fboxrule}{#6 pt}% \centering% - \ifthenelse{\equal{\animatedimagecontrols}{true}}{ % Muestra los controles - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + \ifthenelse{\equal{\animatedimagecontrols}{true}}{% Muestra los controles + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[controls,loop,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[controls,loop,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[controls,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[controls,#3]{#4}{#2-}{0}{#5}}% }% }% - }{ % Sin controles - \ifthenelse{\equal{\animatedimageloop}{true}}{ % Con loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin controles + \ifthenelse{\equal{\animatedimageloop}{true}}{% Con loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[loop,autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[loop,#3]{#4}{#2-}{0}{#5}}% }% - }{ % Sin loop - \ifthenelse{\equal{\animatedimageautoplay}{true}}{ % Con autoplay + }{% Sin loop + \ifthenelse{\equal{\animatedimageautoplay}{true}}{% Con autoplay \fbox{\animategraphics[autoplay,#3]{#4}{#2-}{0}{#5}}% - }{ % Sin autoplay + }{% Sin autoplay \fbox{\animategraphics[#3]{#4}{#2-}{0}{#5}}% }% }% @@ -2970,23 +2951,23 @@ % Parcha el formato de secciones al pasar desde una anum, vuelve a activar número % de la sección \pretocmd{\section}{% - \ifthenelse{\equal{\showsectioncaptioncode}{sec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{sec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{sec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{sec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{sec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{sec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{sec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{sec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -2995,23 +2976,23 @@ % Comienza nueva subsección, si está dentro de una sectionanum entonces no dibuja el % número de sección, si no entonces dibuja el número de forma normal \pretocmd{\subsection}{% - \ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{ssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{ssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -3022,23 +3003,23 @@ % - si no, entonces puede estar dentro de una sección sin número o no, en ese caso % debe evaluar ambas posibilidades \pretocmd{\subsubsection}{% - \ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{sssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{sssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -3232,7 +3213,7 @@ % #1 Posición inicial del inicio de colores \newcommand{\settablerowcolors}[1]{% \emptyvarerr{\settablerowcolors}{#1}{Posicion de fila no definida}% - \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{ % Usa colores normales + \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{% Usa colores normales \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -3246,7 +3227,7 @@ \rowcolors{#1}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -3268,7 +3249,7 @@ % Alterna los colores de las tablas a la última ejecución \newcommand{\settablerowcolorslast}{% - \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{ % Usa colores normales + \ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{% Usa colores normales \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{\GLOBALtablerowcolorindex}{}{}% @@ -3282,7 +3263,7 @@ \rowcolors{\GLOBALtablerowcolorindex}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{\GLOBALtablerowcolorindex}{}{}% @@ -4386,13 +4367,13 @@ % JSON \lstdefinestyle{json}{ - literate=*{0}{{{\color{numb}0}}}{1}{1}{{{\color{numb}1}}}{1}{2} - {{{\color{numb}2}}}{1}{3}{{{\color{numb}3}}}{1}{4}{{{\color{numb}4}}} - {1}{5}{{{\color{numb}5}}}{1}{6}{{{\color{numb}6}}}{1}{7}{{{\color{numb}7}}} - {1}{8}{{{\color{numb}8}}}{1}{9}{{{\color{numb}9}}}{1}{:} - {{{\color{punct}{:}}}}{1}{,}{{{\color{punct}{,}}}}{1}{\{} - {{{\color{delim}{\{}}}}{1}{\}}{{{\color{delim}{\}}}}} - {1}{[}{{{\color{delim}{[}}}}{1}{]}{{{\color{delim}{]}}}}{1}, + literate=*{0}{{{\color{cardinalred}0}}}{1}{1}{{{\color{cardinalred}1}}}{1}{2} + {{{\color{cardinalred}2}}}{1}{3}{{{\color{cardinalred}3}}}{1}{4}{{{\color{cardinalred}4}}} + {1}{5}{{{\color{cardinalred}5}}}{1}{6}{{{\color{cardinalred}6}}}{1}{7}{{{\color{cardinalred}7}}} + {1}{8}{{{\color{cardinalred}8}}}{1}{9}{{{\color{cardinalred}9}}}{1}{:} + {{{\color{dkcyan}{:}}}}{1}{,}{{{\color{dkcyan}{,}}}}{1}{\{} + {{{\color{MidnightBlue}{\{}}}}{1}{\}}{{{\color{MidnightBlue}{\}}}}} + {1}{[}{{{\color{MidnightBlue}{[}}}}{1}{]}{{{\color{MidnightBlue}{]}}}}{1}, tabsize=2 } @@ -4753,22 +4734,22 @@ morecomment=[l]{//}, morecomment=[s]{/*}{*/}, moredelim=[s][{\itshape\color[rgb]{0,0,0.75}}]{\#[}{]}, - morekeywords=[2]{ % Traits + morekeywords=[2]{% Traits Add,AddAssign,Any,AsciiExt,AsInner,AsInnerMut,AsMut,AsRawFd,AsRawHandle,AsRawSocket,AsRef,Binary,BitAnd,BitAndAssign,Bitor,BitOr,BitOrAssign,BitXor,BitXorAssign,Borrow,BorrowMut,Boxed,BoxPlace,BufRead,BuildHasher,CastInto,CharExt,Clone,CoerceUnsized,CommandExt,Copy,Debug,DecodableFloat,Default,Deref,DerefMut,DirBuilderExt,DirEntryExt,Display,Div,DivAssign,DoubleEndedIterator,DoubleEndedSearcher,Drop,EnvKey,Eq,Error,ExactSizeIterator,ExitStatusExt,Extend,FileExt,FileTypeExt,Float,Fn,FnBox,FnMut,FnOnce,Freeze,From,FromInner,FromIterator,FromRawFd,FromRawHandle,FromRawSocket,FromStr,FullOps,FusedIterator,Generator,Hash,Hasher,Index,IndexMut,InPlace,Int,Into,IntoCow,IntoInner,IntoIterator,IntoRawFd,IntoRawHandle,IntoRawSocket,IsMinusOne,IsZero,Iterator,JoinHandleExt,LargeInt,LowerExp,LowerHex,MetadataExt,Mul,MulAssign,Neg,Not,Octal,OpenOptionsExt,Ord,OsStrExt,OsStringExt,Packet,PartialEq,PartialOrd,Pattern,PermissionsExt,Place,Placer,Pointer,Product,Put,RangeArgument,RawFloat,Read,Rem,RemAssign,Seek,Shl,ShlAssign,Shr,ShrAssign,Sized,SliceConcatExt,SliceExt,SliceIndex,Stats,Step,StrExt,Sub,SubAssign,Sum,Sync,TDynBenchFn,Terminal,Termination,ToOwned,ToSocketAddrs,ToString,Try,TryFrom,TryInto,UnicodeStr,Unsize,UpperExp,UpperHex,WideInt,Write }, morekeywords=[2]{ Send }, - morekeywords=[3]{ % Primitivas + morekeywords=[3]{% Primitivas bool,char,f32,f64,i8,i16,i32,i64,isize,str,u8,u16,u32,u64,unit,usize,i128,u128 }, - morekeywords=[4]{ % Valor y tipo de constructores + morekeywords=[4]{% Valor y tipo de constructores Err,false,None,Ok,Some,true }, - morekeywords=[5]{ % Identificadores + morekeywords=[5]{% Identificadores assert!,assert_eq!,assert_ne!,cfg!,column!,compile_error!,concat!,concat_idents!,debug_assert!,debug_assert_eq!,debug_assert_ne!,env!,eprint!,eprintln!,file!,format!,format_args!,include!,include_bytes!,include_str!,line!,module_path!,option_env!,panic!,print!,println!,select!,stringify!,thread_local!,try!,unimplemented!,unreachable!,vec!,write!,writeln! }, - morekeywords={ % Palabras reservadas + morekeywords={% Palabras reservadas abstract,alignof,become,box,do,final,macro,offsetof,override,priv, proc,pure,sizeof,typeof,unsized,virtual,yield }, morekeywords={ @@ -5256,16 +5237,16 @@ Template.Author.Email={pablo@ppizarror.com}, Template.Author.Web={https://ppizarror.com}, Template.Author={Pablo Pizarro R.}, - Template.Date={29/10/2023}, + Template.Date={04/11/2023}, Template.Encoding={UTF-8}, Template.Latex.Compiler={pdflatex}, Template.License.Type={MIT}, Template.License.Web={https://opensource.org/licenses/MIT}, Template.Name={Template-Presentacion}, Template.Type={Normal}, - Template.Version.Dev={2.2.4-PRES}, - Template.Version.Hash={3B040E59ACB8C38DF86FE3C4BCAB9AEF}, - Template.Version.Release={2.2.4}, + Template.Version.Dev={2.2.5-PRES}, + Template.Version.Hash={43F780AA354243A6A01CF5328736DBF1}, + Template.Version.Release={2.2.5}, Template.Web.Dev={https://github.com/Template-Latex/Template-Presentacion}, Template.Web.Manual={https://latex.ppizarror.com/presentacion}, University.Department={\pdfmetainfouniversitydepartment}, @@ -5277,7 +5258,7 @@ pdfmenubar={\cfgpdfmenubar}, pdfpagelayout={\cfgpdflayout}, pdfpagemode={\cfgpdfpagemode}, - pdfproducer={Template-Presentacion v2.2.4 | (Pablo Pizarro R.) ppizarror.com}, + pdfproducer={Template-Presentacion v2.2.5 | (Pablo Pizarro R.) ppizarror.com}, pdfremotestartview={Fit}, pdfstartpage={1}, pdfstartview={\cfgpdfpageview}, @@ -5335,7 +5316,7 @@ } }{ % Color de links sin borde - \hypersetup{ % No reorganizar + \hypersetup{% No reorganizar hidelinks, colorlinks=true, citecolor=\numcitecolor, @@ -5350,11 +5331,11 @@ % ----------------------------------------------------------------------------- % Márgenes de las leyendas por defecto \setcaptionmargincm{\captionlrmargin} -\ifthenelse{\equal{\captiontextbold}{true}}{ % Texto en negrita en etiquetas +\ifthenelse{\equal{\captiontextbold}{true}}{% Texto en negrita en etiquetas \renewcommand{\captiontextbold}{bf}}{ \renewcommand{\captiontextbold}{} } -\ifthenelse{\equal{\captiontextsubnumbold}{true}}{ % Número en negritas +\ifthenelse{\equal{\captiontextsubnumbold}{true}}{% Número en negritas \renewcommand{\captiontextsubnumbold}{bf}}{ \renewcommand{\captiontextsubnumbold}{} } @@ -5419,24 +5400,24 @@ } % Alineado de leyendas -\ifthenelse{\equal{\captionalignment}{justified}}{ % Leyenda justificada +\ifthenelse{\equal{\captionalignment}{justified}}{% Leyenda justificada \captionsetup{ format=plain, justification=justified } }{ -\ifthenelse{\equal{\captionalignment}{centered}}{ % Leyenda centrada +\ifthenelse{\equal{\captionalignment}{centered}}{% Leyenda centrada \captionsetup{ justification=centering } }{ -\ifthenelse{\equal{\captionalignment}{left}}{ % Leyenda alineada a la izquierda +\ifthenelse{\equal{\captionalignment}{left}}{% Leyenda alineada a la izquierda \captionsetup{ justification=raggedright, singlelinecheck=false } }{ -\ifthenelse{\equal{\captionalignment}{right}}{ % Leyenda alineada a la derecha +\ifthenelse{\equal{\captionalignment}{right}}{% Leyenda alineada a la derecha \captionsetup{ justification=raggedleft, singlelinecheck=false diff --git a/template_config.tex b/template_config.tex index d6cd4f3..b47cb08 100644 --- a/template_config.tex +++ b/template_config.tex @@ -1,6 +1,6 @@ % Template: Presentación LaTeX % Documento: Configuraciones del template -% Versión: 2.2.4 (29/10/2023) +% Versión: 2.2.5 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R.