Skip to content

Commit acd5677

Browse files
committed
Version 4.1.3
1 parent 35f5060 commit acd5677

23 files changed

+451
-263
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright 2017-2018 Pablo Pizarro R. @ppizarror
3+
Copyright 2017-2021 Pablo Pizarro R. @ppizarror
44

55
Permission is hereby granted, free of charge, to any person obtaining a
66
copy of this software and associated documentation files (the "Software"),

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ Este proyecto está licenciado bajo la licencia MIT [https://opensource.org/lice
3232

3333

3434
## Autor
35-
<a href="https://ppizarror.com" title="ppizarror">Pablo Pizarro R.</a> | 2017 - 2020
35+
<a href="https://ppizarror.com" title="ppizarror">Pablo Pizarro R.</a> | 2017 - 2021

example.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Archivo de ejemplo
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror

main.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Archivo principal
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R.

readme.content.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

readme.json

Lines changed: 0 additions & 93 deletions
This file was deleted.

src/cfg/init.tex

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Configuración inicial del template
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R.
@@ -89,15 +89,15 @@
8989
Template.Autor.Nombre={Pablo Pizarro R.},
9090
Template.Autor.Web={https://ppizarror.com/},
9191
Template.Codificacion={UTF-8},
92-
Template.Fecha={22/12/2020},
92+
Template.Fecha={01/01/2021},
9393
Template.Latex.Compilador={pdflatex},
9494
Template.Licencia.Tipo={MIT},
9595
Template.Licencia.Web={https://opensource.org/licenses/MIT/},
9696
Template.Nombre={Template-Controles},
9797
Template.Tipo={Normal},
98-
Template.Version.Dev={4.1.2-1-CTR/EXM},
99-
Template.Version.Hash={9660A7980EBCAEF45CD72DE10157378A},
100-
Template.Version.Release={4.1.2},
98+
Template.Version.Dev={4.1.3-CTR/EXM},
99+
Template.Version.Hash={E5899E469E40423DFCEF018674E9AAA9},
100+
Template.Version.Release={4.1.3},
101101
Template.Web.Dev={https://github.com/Template-Latex/Template-Controles/},
102102
Template.Web.Manual={https://latex.ppizarror.com/controles},
103103
Universidad.Departamento={\pdfmetainfounidepto},
@@ -109,7 +109,7 @@
109109
pdfmenubar={\cfgpdfmenubar},
110110
pdfpagelayout={\cfgpdflayout},
111111
pdfpagemode={\cfgpdfpagemode},
112-
pdfproducer={Template-Controles v4.1.2 | (Pablo Pizarro R.) ppizarror.com},
112+
pdfproducer={Template-Controles v4.1.3 | (Pablo Pizarro R.) ppizarror.com},
113113
pdfremotestartview={Fit},
114114
pdfstartpage={1},
115115
pdfstartview={\cfgpdfpageview},
@@ -261,7 +261,10 @@
261261
}
262262
\setlength{\bibitemsep}{\bibtexrefsep pt}
263263
}{
264-
\throwbadconfig{Estilo citas desconocido}{\stylecitereferences}{bibtex,apacite,natbib}}}
264+
\ifthenelse{\equal{\stylecitereferences}{custom}}{
265+
\coretemplatemessage{Usando estilo citas referencias custom, importar librerias y configuraciones posterior al llamado de template.tex en archivo principal}
266+
}{
267+
\throwbadconfig{Estilo citas desconocido}{\stylecitereferences}{bibtex,apacite,natbib,custom}}}}
265268
}
266269
\makeatletter
267270
\ifthenelse{\equal{\stylecitereferences}{apacite}}{

src/cfg/page.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Configuración de página
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R.

src/cmd/control.tex

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Funciones exclusivas de Template-Controles
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror
@@ -120,10 +120,12 @@
120120
\ifx\hfuzz#4\hfuzz
121121
\ifx\hfuzz#3\hfuzz
122122
\lstset{
123+
escapeinside={(*@}{@*)},
123124
style=#2
124125
}
125126
\else
126127
\lstset{
128+
escapeinside={(*@}{@*)},
127129
style=#2,
128130
#3
129131
}
@@ -133,12 +135,14 @@
133135
\lstset{
134136
caption={#4 #1},
135137
captionpos=t,
138+
escapeinside={(*@}{@*)},
136139
style=#2
137140
}
138141
\else
139142
\lstset{
140143
caption={#4 #1},
141144
captionpos=t,
145+
escapeinside={(*@}{@*)},
142146
style=#2,
143147
#3
144148
}
@@ -148,10 +152,12 @@
148152
\ifx\hfuzz#4\hfuzz
149153
\ifx\hfuzz#3\hfuzz
150154
\lstset{
155+
escapeinside={(*@}{@*)},
151156
style=#2
152157
}
153158
\else
154159
\lstset{
160+
escapeinside={(*@}{@*)},
155161
style=#2,
156162
#3
157163
}
@@ -167,6 +173,7 @@
167173
\lstset{
168174
caption={#4 #1},
169175
captionpos=b,
176+
escapeinside={(*@}{@*)},
170177
style=#2,
171178
#3
172179
}
@@ -200,25 +207,29 @@
200207
\ifthenelse{\equal{\codecaptiontop}{true}}{
201208
\ifx\hfuzz#3\hfuzz
202209
\lstset{
210+
escapeinside={(*@}{@*)},
203211
style=#2
204212
}
205213
\else
206214
\lstset{
207-
style=#2,
215+
escapeinside={(*@}{@*)},
208216
caption={#3 #1},
209-
captionpos=t
217+
captionpos=t,
218+
style=#2
210219
}
211220
\fi
212221
}{
213222
\ifx\hfuzz#3\hfuzz
214223
\lstset{
224+
escapeinside={(*@}{@*)},
215225
style=#2
216226
}
217227
\else
218228
\lstset{
219-
style=#2,
229+
escapeinside={(*@}{@*)},
220230
caption={#3 #1},
221-
captionpos=b
231+
captionpos=b,
232+
style=#2
222233
}
223234
\fi
224235
}

src/cmd/core.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Funciones del núcleo del template
3-
% Versión: 4.1.2 (22/12/2020)
3+
% Versión: 4.1.3 (01/01/2021)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R.
@@ -49,6 +49,9 @@
4949
\stop}{
5050
}
5151
}
52+
\newcommand{\coretemplatemessage}[1]{
53+
\message{Template: #1}
54+
}
5255
\newcommand{\checkextravarexist}[2]{
5356
\ifthenelse{\isundefined{#1}}{
5457
\errmessage{LaTeX Warning: Variable \noexpand#1 no definida}

0 commit comments

Comments
 (0)