From f334e5c8f235a23e81f90aba0c317d77fa8ff351 Mon Sep 17 00:00:00 2001 From: ppizarror Date: Sat, 4 Nov 2023 12:53:51 -0300 Subject: [PATCH] Version 1.3.0 --- example.tex | 2 +- main.tex | 2 +- src/cfg/final.tex | 2 +- src/cfg/init.tex | 32 ++--- src/cfg/page.tex | 4 +- src/cmd/articulo.tex | 2 +- src/cmd/column.tex | 2 +- src/cmd/core.tex | 2 +- src/cmd/equation.tex | 2 +- src/cmd/image.tex | 72 +++++------ src/cmd/math.tex | 4 +- src/cmd/other.tex | 10 +- src/cmd/title.tex | 54 ++++----- src/config.tex | 2 +- src/defs.tex | 41 ++----- src/env/environments.tex | 8 +- src/env/imports.tex | 18 +-- src/etc/example.tex | 2 +- src/style/code.tex | 26 ++-- src/style/other.tex | 2 +- template.tex | 251 ++++++++++++++++++--------------------- template_config.tex | 2 +- 22 files changed, 252 insertions(+), 290 deletions(-) diff --git a/example.tex b/example.tex index 7350b33..7454da9 100644 --- a/example.tex +++ b/example.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Archivo de ejemplo -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/main.tex b/main.tex index c2e29c7..8ef12ff 100644 --- a/main.tex +++ b/main.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Archivo principal -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cfg/final.tex b/src/cfg/final.tex index aba94d1..809ce43 100644 --- a/src/cfg/final.tex +++ b/src/cfg/final.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Configuraciones finales -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cfg/init.tex b/src/cfg/init.tex index 1618273..eb70dcd 100644 --- a/src/cfg/init.tex +++ b/src/cfg/init.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Configuración inicial del template -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -70,16 +70,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-Articulo}, Template.Type={Normal}, - Template.Version.Dev={1.2.9-ARTC}, - Template.Version.Hash={5FD088D840DF4A454F4EAA02EE44E814}, - Template.Version.Release={1.2.9}, + Template.Version.Dev={1.3.0-ARTC}, + Template.Version.Hash={BF95EC48309E67136E4F711DD8160D4B}, + Template.Version.Release={1.3.0}, Template.Web.Dev={https://github.com/Template-Latex/Template-Articulo}, Template.Web.Manual={https://latex.ppizarror.com/articulo}, }, @@ -87,7 +87,7 @@ pdfmenubar={\cfgpdfmenubar}, pdfpagelayout={\cfgpdflayout}, pdfpagemode={\cfgpdfpagemode}, - pdfproducer={Template-Articulo v1.2.9 | (Pablo Pizarro R.) ppizarror.com}, + pdfproducer={Template-Articulo v1.3.0 | (Pablo Pizarro R.) ppizarror.com}, pdfremotestartview={Fit}, pdfstartpage={1}, pdfstartview={\cfgpdfpageview}, @@ -144,7 +144,7 @@ } }{ % Color de links sin borde - \hypersetup{ % No reorganizar + \hypersetup{% No reorganizar hidelinks, colorlinks=true, citecolor=\numcitecolor, @@ -162,11 +162,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}{} } @@ -231,24 +231,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 @@ -319,7 +319,7 @@ \ifthenelse{\equal{\stylecitereferences}{apacite}}{ \ifthenelse{\equal{\apaciterefnumber}{true}}{ \newcounter{apaciteNumberCounter} - \renewcommand{\theapaciteNumberCounter}{ % Formato de número + \renewcommand{\theapaciteNumberCounter}{% Formato de número \apaciterefcitecharopen\arabic{apaciteNumberCounter}\apaciterefcitecharclose } \patchcmd{\@lbibitem}{\item[}{\item[\stepcounter{apaciteNumberCounter}{\hss\llap{\theapaciteNumberCounter}\quad}}{}{} @@ -476,11 +476,11 @@ \def\toclevel@subsubsubsection {4} \def\toclevel@paragraph {5} \def\toclevel@subparagraph {6} - \ifthenelse{\equal{\charaftersectionnum}{}}{ % Sin caracter + \ifthenelse{\equal{\charaftersectionnum}{}}{% Sin caracter \def\l@subsubsubsection {\@dottedtocline{4}{6.97em}{4em}} \def\l@paragraph {\@dottedtocline{5}{10.97em}{5em}} \def\l@subparagraph {\@dottedtocline{6}{14em}{6em}} - }{ % Posee caracter, Incremento 0.77+3.35 a 3.35 + }{% Posee caracter, Incremento 0.77+3.35 a 3.35 \def\l@subsubsubsection {\@dottedtocline{4}{7.83em}{4.15em}} \def\l@paragraph {\@dottedtocline{5}{11.98em}{4.92em}} \def\l@subparagraph {\@dottedtocline{6}{14.65em}{5.69em}} diff --git a/src/cfg/page.tex b/src/cfg/page.tex index 01f0474..c4022bc 100644 --- a/src/cfg/page.tex +++ b/src/cfg/page.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Configuración de página -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -15,7 +15,7 @@ % Numeración de páginas % ------------------------------------------------------------------------- \clearpage - \ifthenelse{\equal{\predocpageromannumber}{true}}{ % Si se usan números romanos en el pre-documento + \ifthenelse{\equal{\predocpageromannumber}{true}}{% Si se usan números romanos en el pre-documento \ifthenelse{\equal{\predocpageromanupper}{true}}{% \pagenumbering{Roman} }{% diff --git a/src/cmd/articulo.tex b/src/cmd/articulo.tex index 6626e9e..177a700 100644 --- a/src/cmd/articulo.tex +++ b/src/cmd/articulo.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones exclusivas de Template-Articulo -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/column.tex b/src/cmd/column.tex index 93696a1..b02d9ec 100644 --- a/src/cmd/column.tex +++ b/src/cmd/column.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones para crear columnas con contenido -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/core.tex b/src/cmd/core.tex index b3d12a6..29bc596 100644 --- a/src/cmd/core.tex +++ b/src/cmd/core.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones del núcleo del template -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/equation.tex b/src/cmd/equation.tex index 0e58b70..73a3ae6 100644 --- a/src/cmd/equation.tex +++ b/src/cmd/equation.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones para insertar ecuaciones -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/cmd/image.tex b/src/cmd/image.tex index 2b82920..559d517 100644 --- a/src/cmd/image.tex +++ b/src/cmd/image.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones para insertar imágenes -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (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 870727b..1be29a5 100644 --- a/src/cmd/math.tex +++ b/src/cmd/math.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones matemáticas -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (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 2781cdb..b6e8305 100644 --- a/src/cmd/other.tex +++ b/src/cmd/other.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones para insertar elementos -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -181,7 +181,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}{}{}% @@ -195,7 +195,7 @@ \rowcolors{#1}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -217,7 +217,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}{}{}% @@ -231,7 +231,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/title.tex b/src/cmd/title.tex index 83382a7..a291b5e 100644 --- a/src/cmd/title.tex +++ b/src/cmd/title.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Funciones para insertar títulos -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -75,7 +75,7 @@ % Chequea si los capítulos están activados \def\corecheckchapterenabled {% - \ifthenelse{\equal{\GLOBALtitlechapterenabled}{false}}{ % Verifica que el entorno esté activo + \ifthenelse{\equal{\GLOBALtitlechapterenabled}{false}}{% Verifica que el entorno esté activo \throwwarning{La insercion de capitulos esta desactivada}% }{}% } @@ -113,23 +113,23 @@ % Parcha el formato de capítulos \pretocmd{\chapter}{% \corecheckchapterenabled% - \ifthenelse{\equal{\showsectioncaptioncode}{chap}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{chap}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{chap}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{chap}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{chap}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{chap}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{chap}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{chap}}{%Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -148,23 +148,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}% }{}% @@ -182,23 +182,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}% }{}% @@ -217,23 +217,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}% }{}% @@ -248,23 +248,23 @@ % Parcha sub-sub-subsecciones \def\corepatchaftersubsubsubsection {% - \ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{ssssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{ssssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% diff --git a/src/config.tex b/src/config.tex index 6d36aed..76196c3 100644 --- a/src/config.tex +++ b/src/config.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Configuraciones del template -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/defs.tex b/src/defs.tex index 6f39c74..97cd318 100644 --- a/src/defs.tex +++ b/src/defs.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Definiciones -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -12,35 +12,16 @@ \usepackage[dvipsnames,table,usenames]{xcolor} % Paquete de colores avanzado % Definición de colores -\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 e739361..0e7e1ab 100644 --- a/src/env/environments.tex +++ b/src/env/environments.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Definición de entornos -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -11,19 +11,19 @@ % Crea una sección de referencias solo para bibtex \newenvironment{references}{% - \ifthenelse{\equal{\stylecitereferences}{bibtex}}{ % Verifica configuraciones + \ifthenelse{\equal{\stylecitereferences}{bibtex}}{% Verifica configuraciones }{% \throwerror{\references}{Solo se puede usar entorno references con estilo citas \noexpand\stylecitereferences=bibtex} }% \begingroup% - \ifthenelse{\equal{\bibtexenvrefsecnum}{true}}{ % Se configura las referencias como una sección + \ifthenelse{\equal{\bibtexenvrefsecnum}{true}}{% Se configura las referencias como una sección \section{\namereferences}% }{% \sectionanum{\namereferences}% }% \renewcommand{\section}[2]{}% \begin{thebibliography}{} % Inicia la bibliografía - \ifthenelse{\equal{\bibtextextalign}{justify}}{ % Formato ajuste de línea + \ifthenelse{\equal{\bibtextextalign}{justify}}{% Formato ajuste de línea }{% \ifthenelse{\equal{\bibtextextalign}{left}}{% \raggedright% diff --git a/src/env/imports.tex b/src/env/imports.tex index 0215084..cd81aa2 100644 --- a/src/env/imports.tex +++ b/src/env/imports.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Importación de librerías -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -54,7 +54,7 @@ \usepackage{tracklang} \IfTrackedLanguage{spanish}{ \usepackage[es-nosectiondot,es-lcroman,es-noquoting]{babel} -}{ % english, otros +}{% english, otros \usepackage{babel} } @@ -193,7 +193,7 @@ }{ \usepackage[pdfencoding=auto,psdextra]{hyperref} % Enlaces, referencias } -\ifthenelse{\equal{\stylecitereferences}{natbib}}{ % Formato citas natbib +\ifthenelse{\equal{\stylecitereferences}{natbib}}{% Formato citas natbib \usepackage[nottoc,notlof,notlot]{tocbibind} \ifthenelse{\equal{\natbibrefcitecompress}{true}}{ \usepackage[sort&compress]{natbib} @@ -201,13 +201,13 @@ \usepackage{natbib} } }{ -\ifthenelse{\equal{\stylecitereferences}{apacite}}{ % Formato citas apacite +\ifthenelse{\equal{\stylecitereferences}{apacite}}{% Formato citas apacite \usepackage[nottoc,notlof,notlot]{tocbibind} \usepackage{apacite} }{ -\ifthenelse{\equal{\stylecitereferences}{bibtex}}{ % Formato citas bibtex +\ifthenelse{\equal{\stylecitereferences}{bibtex}}{% Formato citas bibtex }{ -\ifthenelse{\equal{\stylecitereferences}{custom}}{ % Formato citas custom +\ifthenelse{\equal{\stylecitereferences}{custom}}{% Formato citas custom }{}}} } @@ -219,9 +219,9 @@ } % Dimensiones y geometría del documento -\ifthenelse{\equal{\compilertype}{lualatex}}{ % En lualatex sólo se puede cambiar 1 vez el margen +\ifthenelse{\equal{\compilertype}{lualatex}}{% En lualatex sólo se puede cambiar 1 vez el margen \usepackage[top=\pagemargintop cm,bottom=\pagemarginbottom cm,left=\pagemarginleft cm,right=\pagemarginright cm, footnotesep=\footnotetopmargin cm]{geometry} -}{ % pdf2latex, xelatex +}{% pdf2latex, xelatex \usepackage{geometry} } @@ -822,7 +822,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\marginequationbottom {0} diff --git a/src/etc/example.tex b/src/etc/example.tex index 7350b33..7454da9 100644 --- a/src/etc/example.tex +++ b/src/etc/example.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Archivo de ejemplo -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/src/style/code.tex b/src/style/code.tex index 85a2e06..8b01223 100644 --- a/src/style/code.tex +++ b/src/style/code.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Estilos de código fuente -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (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 007fcdd..6fe4944 100644 --- a/src/style/other.tex +++ b/src/style/other.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Otros estilos -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. diff --git a/template.tex b/template.tex index b8b36c2..ee1308f 100644 --- a/template.tex +++ b/template.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Núcleo del template -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -16,35 +16,16 @@ \usepackage[dvipsnames,table,usenames]{xcolor} % Paquete de colores avanzado % Definición de colores -\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$}} @@ -104,7 +85,7 @@ \usepackage{tracklang} \IfTrackedLanguage{spanish}{ \usepackage[es-nosectiondot,es-lcroman,es-noquoting]{babel} -}{ % english, otros +}{% english, otros \usepackage{babel} } @@ -243,7 +224,7 @@ }{ \usepackage[pdfencoding=auto,psdextra]{hyperref} % Enlaces, referencias } -\ifthenelse{\equal{\stylecitereferences}{natbib}}{ % Formato citas natbib +\ifthenelse{\equal{\stylecitereferences}{natbib}}{% Formato citas natbib \usepackage[nottoc,notlof,notlot]{tocbibind} \ifthenelse{\equal{\natbibrefcitecompress}{true}}{ \usepackage[sort&compress]{natbib} @@ -251,13 +232,13 @@ \usepackage{natbib} } }{ -\ifthenelse{\equal{\stylecitereferences}{apacite}}{ % Formato citas apacite +\ifthenelse{\equal{\stylecitereferences}{apacite}}{% Formato citas apacite \usepackage[nottoc,notlof,notlot]{tocbibind} \usepackage{apacite} }{ -\ifthenelse{\equal{\stylecitereferences}{bibtex}}{ % Formato citas bibtex +\ifthenelse{\equal{\stylecitereferences}{bibtex}}{% Formato citas bibtex }{ -\ifthenelse{\equal{\stylecitereferences}{custom}}{ % Formato citas custom +\ifthenelse{\equal{\stylecitereferences}{custom}}{% Formato citas custom }{}}} } @@ -269,9 +250,9 @@ } % Dimensiones y geometría del documento -\ifthenelse{\equal{\compilertype}{lualatex}}{ % En lualatex sólo se puede cambiar 1 vez el margen +\ifthenelse{\equal{\compilertype}{lualatex}}{% En lualatex sólo se puede cambiar 1 vez el margen \usepackage[top=\pagemargintop cm,bottom=\pagemarginbottom cm,left=\pagemarginleft cm,right=\pagemarginright cm, footnotesep=\footnotetopmargin cm]{geometry} -}{ % pdf2latex, xelatex +}{% pdf2latex, xelatex \usepackage{geometry} } @@ -872,7 +853,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\marginequationbottom {0} @@ -1502,7 +1483,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{{=}{=}}}} } @@ -2117,25 +2098,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}}}% @@ -2190,46 +2171,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}}% }% @@ -2366,9 +2347,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% @@ -2418,31 +2399,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}}% }% }% @@ -3104,7 +3085,7 @@ % Chequea si los capítulos están activados \def\corecheckchapterenabled {% - \ifthenelse{\equal{\GLOBALtitlechapterenabled}{false}}{ % Verifica que el entorno esté activo + \ifthenelse{\equal{\GLOBALtitlechapterenabled}{false}}{% Verifica que el entorno esté activo \throwwarning{La insercion de capitulos esta desactivada}% }{}% } @@ -3142,23 +3123,23 @@ % Parcha el formato de capítulos \pretocmd{\chapter}{% \corecheckchapterenabled% - \ifthenelse{\equal{\showsectioncaptioncode}{chap}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{chap}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{chap}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{chap}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{chap}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{chap}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{chap}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{chap}}{%Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -3177,23 +3158,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}% }{}% @@ -3211,23 +3192,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}% }{}% @@ -3246,23 +3227,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}% }{}% @@ -3277,23 +3258,23 @@ % Parcha sub-sub-subsecciones \def\corepatchaftersubsubsubsection {% - \ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{ % Reinicia código fuente + \ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{% Reinicia código fuente \addtocounter{templateListings}{\value{lstlisting}}% \setcounter{lstlisting}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\equationrestart}{ssssec}}{ % Reinicia ecuaciones + \ifthenelse{\equal{\equationrestart}{ssssec}}{% Reinicia ecuaciones \addtocounter{templateEquations}{\value{equation}}% \setcounter{equation}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{ % Reinicia figuras + \ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{% Reinicia figuras \addtocounter{templateFigures}{\value{figure}}% \setcounter{figure}{0}% }{}% - \ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{ % Reinicia tablas + \ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{% Reinicia tablas \addtocounter{templateTables}{\value{table}}% \setcounter{table}{0}% }{}% @@ -3663,7 +3644,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}{}{}% @@ -3677,7 +3658,7 @@ \rowcolors{#1}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{#1}{}{}% @@ -3699,7 +3680,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}{}{}% @@ -3713,7 +3694,7 @@ \rowcolors{\GLOBALtablerowcolorindex}{\tablerowsecondcolor}{\tablerowfirstcolor}% }% }% - }{ % Usa colores alternados + }{% Usa colores alternados \ifthenelse{\equal{\tablerowfirstcolor}{none}}{% \ifthenelse{\equal{\tablerowsecondcolor}{none}}{% \rowcolors{\GLOBALtablerowcolorindex}{}{}% @@ -4321,19 +4302,19 @@ % Crea una sección de referencias solo para bibtex \newenvironment{references}{% - \ifthenelse{\equal{\stylecitereferences}{bibtex}}{ % Verifica configuraciones + \ifthenelse{\equal{\stylecitereferences}{bibtex}}{% Verifica configuraciones }{% \throwerror{\references}{Solo se puede usar entorno references con estilo citas \noexpand\stylecitereferences=bibtex} }% \begingroup% - \ifthenelse{\equal{\bibtexenvrefsecnum}{true}}{ % Se configura las referencias como una sección + \ifthenelse{\equal{\bibtexenvrefsecnum}{true}}{% Se configura las referencias como una sección \section{\namereferences}% }{% \sectionanum{\namereferences}% }% \renewcommand{\section}[2]{}% \begin{thebibliography}{} % Inicia la bibliografía - \ifthenelse{\equal{\bibtextextalign}{justify}}{ % Formato ajuste de línea + \ifthenelse{\equal{\bibtextextalign}{justify}}{% Formato ajuste de línea }{% \ifthenelse{\equal{\bibtextextalign}{left}}{% \raggedright% @@ -5034,13 +5015,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 } @@ -5401,22 +5382,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={ @@ -5883,16 +5864,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-Articulo}, Template.Type={Normal}, - Template.Version.Dev={1.2.9-ARTC}, - Template.Version.Hash={5FD088D840DF4A454F4EAA02EE44E814}, - Template.Version.Release={1.2.9}, + Template.Version.Dev={1.3.0-ARTC}, + Template.Version.Hash={BF95EC48309E67136E4F711DD8160D4B}, + Template.Version.Release={1.3.0}, Template.Web.Dev={https://github.com/Template-Latex/Template-Articulo}, Template.Web.Manual={https://latex.ppizarror.com/articulo}, }, @@ -5900,7 +5881,7 @@ pdfmenubar={\cfgpdfmenubar}, pdfpagelayout={\cfgpdflayout}, pdfpagemode={\cfgpdfpagemode}, - pdfproducer={Template-Articulo v1.2.9 | (Pablo Pizarro R.) ppizarror.com}, + pdfproducer={Template-Articulo v1.3.0 | (Pablo Pizarro R.) ppizarror.com}, pdfremotestartview={Fit}, pdfstartpage={1}, pdfstartview={\cfgpdfpageview}, @@ -5957,7 +5938,7 @@ } }{ % Color de links sin borde - \hypersetup{ % No reorganizar + \hypersetup{% No reorganizar hidelinks, colorlinks=true, citecolor=\numcitecolor, @@ -5975,11 +5956,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}{} } @@ -6044,24 +6025,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 @@ -6132,7 +6113,7 @@ \ifthenelse{\equal{\stylecitereferences}{apacite}}{ \ifthenelse{\equal{\apaciterefnumber}{true}}{ \newcounter{apaciteNumberCounter} - \renewcommand{\theapaciteNumberCounter}{ % Formato de número + \renewcommand{\theapaciteNumberCounter}{% Formato de número \apaciterefcitecharopen\arabic{apaciteNumberCounter}\apaciterefcitecharclose } \patchcmd{\@lbibitem}{\item[}{\item[\stepcounter{apaciteNumberCounter}{\hss\llap{\theapaciteNumberCounter}\quad}}{}{} @@ -6289,11 +6270,11 @@ \def\toclevel@subsubsubsection {4} \def\toclevel@paragraph {5} \def\toclevel@subparagraph {6} - \ifthenelse{\equal{\charaftersectionnum}{}}{ % Sin caracter + \ifthenelse{\equal{\charaftersectionnum}{}}{% Sin caracter \def\l@subsubsubsection {\@dottedtocline{4}{6.97em}{4em}} \def\l@paragraph {\@dottedtocline{5}{10.97em}{5em}} \def\l@subparagraph {\@dottedtocline{6}{14em}{6em}} - }{ % Posee caracter, Incremento 0.77+3.35 a 3.35 + }{% Posee caracter, Incremento 0.77+3.35 a 3.35 \def\l@subsubsubsection {\@dottedtocline{4}{7.83em}{4.15em}} \def\l@paragraph {\@dottedtocline{5}{11.98em}{4.92em}} \def\l@subparagraph {\@dottedtocline{6}{14.65em}{5.69em}} @@ -6612,7 +6593,7 @@ % Numeración de páginas % ------------------------------------------------------------------------- \clearpage - \ifthenelse{\equal{\predocpageromannumber}{true}}{ % Si se usan números romanos en el pre-documento + \ifthenelse{\equal{\predocpageromannumber}{true}}{% Si se usan números romanos en el pre-documento \ifthenelse{\equal{\predocpageromanupper}{true}}{% \pagenumbering{Roman} }{% diff --git a/template_config.tex b/template_config.tex index 6d36aed..76196c3 100644 --- a/template_config.tex +++ b/template_config.tex @@ -1,6 +1,6 @@ % Template: Artículo LaTeX % Documento: Configuraciones del template -% Versión: 1.2.9 (29/10/2023) +% Versión: 1.3.0 (04/11/2023) % Codificación: UTF-8 % % Autor: Pablo Pizarro R.