Skip to content

Commit 6adaccf

Browse files
committed
Version 2.0.1
1 parent 9d5ae96 commit 6adaccf

File tree

20 files changed

+1898
-38
lines changed

20 files changed

+1898
-38
lines changed

control.tex

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

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: 2.0.0 (23/04/2018)
3+
% Versión: 2.0.1 (24/04/2018)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror

lib/cfg/init.tex

Lines changed: 231 additions & 3 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: 2.0.0 (23/04/2018)
3+
% Versión: 2.0.1 (24/04/2018)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror
@@ -11,6 +11,234 @@
1111
% Sitio web: [http://latex.ppizarror.com/Template-Controles/]
1212
% Licencia MIT: [https://opensource.org/licenses/MIT]
1313

14-
\checkvardefined{\tituloevaluacion}\checkvardefined{\autordeldocumento}\checkvardefined{\nombredelcurso}\checkvardefined{\codigodelcurso}\checkvardefined{\nombreuniversidad}\checkvardefined{\nombrefacultad}\checkvardefined{\departamentouniversidad}\checkvardefined{\localizacionuniversidad}\makeatletter\g@addto@macro\tituloevaluacion\xspace\g@addto@macro\autordeldocumento\xspace\g@addto@macro\nombredelcurso\xspace\g@addto@macro\codigodelcurso\xspace\g@addto@macro\nombreuniversidad\xspace\g@addto@macro\nombrefacultad\xspace\g@addto@macro\departamentouniversidad\xspace\g@addto@macro\localizacionuniversidad\xspace\makeatother\ifthenelse{\isundefined{\equipodocente}}{\errmessage{LaTeX Warning: Se borro la variable \noexpand\equipodocente, creando una vacia}\def\equipodocente {}}\ifthenelse{\isundefined{\indicacionevaluacion}}{
14+
\checkvardefined{\tituloevaluacion}
15+
\checkvardefined{\autordeldocumento}
16+
\checkvardefined{\nombredelcurso}
17+
\checkvardefined{\codigodelcurso}
18+
\checkvardefined{\nombreuniversidad}
19+
\checkvardefined{\nombrefacultad}
20+
\checkvardefined{\departamentouniversidad}
21+
\checkvardefined{\localizacionuniversidad}
22+
\makeatletter
23+
\g@addto@macro\tituloevaluacion\xspace
24+
\g@addto@macro\autordeldocumento\xspace
25+
\g@addto@macro\nombredelcurso\xspace
26+
\g@addto@macro\codigodelcurso\xspace
27+
\g@addto@macro\nombreuniversidad\xspace
28+
\g@addto@macro\nombrefacultad\xspace
29+
\g@addto@macro\departamentouniversidad\xspace
30+
\g@addto@macro\localizacionuniversidad\xspace
31+
\makeatother
32+
\ifthenelse{\isundefined{\equipodocente}}{
33+
\errmessage{LaTeX Warning: Se borro la variable \noexpand\equipodocente, creando una vacia}
34+
\def\equipodocente {}
35+
}
36+
\ifthenelse{\isundefined{\indicacionevaluacion}}{
1537
\def\indicacionevaluacion {}
16-
}{}\ifthenelse{\equal{\cfgpdfsecnumbookmarks}{true}}{\bookmarksetup{numbered}}{}\ifthenelse{\equal{\cfgshowbookmarkmenu}{true}}{\def\cdfpagemodepdf {UseOutlines}}{\def\cdfpagemodepdf {UseNone}}\hypersetup{bookmarksopen={\cfgpdfbookmarkopen},bookmarksopenlevel={\cfgbookmarksopenlevel},bookmarkstype={toc},pdfauthor={\autordeldocumento},pdfcenterwindow={\cfgpdfcenterwindow},pdfcopyright={\cfgpdfcopyright},pdfcreator={LaTeX},pdfdisplaydoctitle={\cfgpdfdisplaydoctitle},pdffitwindow={\cfgpdffitwindow},pdfinfo={Curso.Codigo={\codigodelcurso},Curso.Nombre={\nombredelcurso},Documento.Autor={\autordeldocumento},Documento.Titulo={\tituloevaluacion},Template.Autor.Alias={ppizarror},Template.Autor.Email={[email protected]},Template.Autor.Nombre={Pablo Pizarro R.},Template.Autor.Web={http://ppizarror.com/},Template.Codificacion={UTF-8},Template.Fecha={23/04/2018},Template.Licencia.Tipo={MIT},Template.Licencia.Web={https://opensource.org/licenses/MIT/},Template.Nombre={Template-Controles},Template.Tipo={Normal},Template.Version.Dev={2.0.0-CTR/EXM-N},Template.Version.Hash={6F310E63D8AC92F719FF5E0AA52B772F},Template.Version.Release={2.0.0},Template.Web.Dev={https://github.com/Template-Latex/Template-Controles/},Template.Web.Manual={http://latex.ppizarror.com/Template-Controles/},Universidad.Departamento={\departamentouniversidad},Universidad.Nombre={\nombreuniversidad},Universidad.Ubicacion={\localizacionuniversidad}},pdfkeywords={\nombreuniversidad, \codigodelcurso \nombredelcurso, \localizacionuniversidad},pdflang={\documentlang},pdfmenubar={\cfgpdfmenubar},pdfpagelayout={\cfgpdfpagemode},pdfpagemode={\cdfpagemodepdf},pdfproducer={Template-Controles v2.0.0 | (Pablo Pizarro R.) ppizarror.com},pdfremotestartview={Fit},pdfstartpage={1},pdfstartview={\cfgpdfpageview},pdfsubject={\tituloevaluacion},pdftitle={\tituloevaluacion},pdftoolbar={\cfgpdftoolbar},pdfview={\cfgpdfpageview}}\graphicspath{{./\defaultimagefolder}}\newcounter{templatepagecounter}\renewcommand{\baselinestretch}{\defaultinterline}\setlength{\headheight}{64 pt}\setcounter{MaxMatrixCols}{20}\setlength{\footnotemargin}{4 mm}\setlength{\columnsep}{\columnsepwidth em}\ifthenelse{\equal{\showlinenumbers}{true}}{\setlength{\linenumbersep}{0.22cm}\renewcommand\linenumberfont{\normalfont\tiny\color{\linenumbercolor}}}{}\floatplacement{figure}{\imagedefaultplacement}\floatplacement{table}{\tabledefaultplacement}\floatplacement{tikz}{\tikzdefaultplacement}\color{\maintextcolor}\arrayrulecolor{\tablelinecolor}\sethlcolor{\highlightcolor}\ifthenelse{\equal{\showborderonlinks}{true}}{\hypersetup{citebordercolor=\numcitecolor,linkbordercolor=\linkcolor,urlbordercolor=\urlcolor}}{\hypersetup{hidelinks,colorlinks=true,citecolor=\numcitecolor,linkcolor=\linkcolor,urlcolor=\urlcolor}}\ifthenelse{\equal{\colorpage}{white}}{}{\pagecolor{\colorpage}}\setcaptionmargincm{\captionlrmargin}\ifthenelse{\equal{\captiontextbold}{true}}{\renewcommand{\captiontextbold}{bf}}{\renewcommand{\captiontextbold}{}}\captionsetup{labelfont={color=\captioncolor, \captiontextbold},textfont={color=\captiontextcolor},singlelinecheck=on}\floatsetup[figure]{captionskip=\captiontbmarginfigure pt}\floatsetup[table]{captionskip=\captiontbmargintable pt}\ifthenelse{\equal{\figurecaptiontop}{true}}{\floatsetup[figure]{position=above}}{}\ifthenelse{\equal{\tablecaptiontop}{true}}{\floatsetup[table]{position=top}}{\floatsetup[table]{position=bottom}}\ifthenelse{\equal{\captionalignment}{justified}}{\captionsetup{justification=justified,format=plain}}{\ifthenelse{\equal{\captionalignment}{centered}}{\captionsetup{justification=centering}}{\ifthenelse{\equal{\captionalignment}{left}}{\captionsetup{justification=raggedright,singlelinecheck=false}}{\ifthenelse{\equal{\captionalignment}{right}}{\captionsetup{justification=raggedleft,singlelinecheck=false}}{\throwbadconfig{Posicion de leyendas desconocida}{\captionalignment}{justified,centered,left,right}}}}}\ifthenelse{\equal{\stylecitereferences}{natbib}}{\bibliographystyle{apa}\setlength{\bibsep}{\natbibrefsep pt}}{\ifthenelse{\equal{\stylecitereferences}{apacite}}{\bibliographystyle{apacite}\setlength{\bibitemsep}{\apaciterefsep pt}}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{\bibliographystyle{apa}\newlength{\bibitemsep}\setlength{\bibitemsep}{.2\baselineskip plus .05\baselineskip minus .05\baselineskip}\newlength{\bibparskip}\setlength{\bibparskip}{0pt}\let\oldthebibliography\thebibliography\renewcommand\thebibliography[1]{\oldthebibliography{#1}\setlength{\parskip}{\bibitemsep}\setlength{\itemsep}{\bibparskip}}\setlength{\bibitemsep}{\bibtexrefsep pt}}{\throwbadconfig{Estilo citas desconocido}{\stylecitereferences}{bibtex,apacite,natbib}}}}\makeatletter\ifthenelse{\equal{\twocolumnreferences}{true}}{\renewenvironment{thebibliography}[1]{\begin{multicols}{2}[\section*{\refname}]\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}\list{\@biblabel{\@arabic\c@enumiv}}{\settowidth\labelwidth{\@biblabel{#1}}\leftmargin\labelwidth\advance\leftmargin\labelsep\@openbib@code\usecounter{enumiv}\let\p@enumiv\@empty\renewcommand\theenumiv{\@arabic\c@enumiv}}\sloppy\clubpenalty 4000\@clubpenalty \clubpenalty\widowpenalty 4000\sfcode`\.\@m}{\def\@noitemerr{\@latex@warning{Ambiente `thebibliography' no definido}}\endlist\end{multicols}}}{}\makeatother\patchcmd{\appendices}{\quad}{\sectionappendixlastchar\quad}{}{}\makeatletter\def\ifGm@preamble#1{\@firstofone}\appto\restoregeometry{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}\apptocmd\newgeometry{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}{}{}\makeatother\hfuzz=200pt \vfuzz=200pt\hbadness=\maxdimen \vbadness=\maxdimen\strictpagecheck\titlespacing{\section}{0pt}{20pt}{10pt}\titlespacing{\subsection}{0pt}{15pt}{10pt}\ttfamily \hyphenchar\the\font=`\-\urlstyle{tt}\pdfminorversion=\pdfcompileversion\setcounter{tocdepth}{1}
38+
}{}
39+
40+
\ifthenelse{\equal{\cfgpdfsecnumbookmarks}{true}}{
41+
\bookmarksetup{numbered}}{
42+
}
43+
\ifthenelse{\equal{\cfgshowbookmarkmenu}{true}}{
44+
\def\cdfpagemodepdf {UseOutlines}
45+
}{
46+
\def\cdfpagemodepdf {UseNone}
47+
}
48+
\hypersetup{
49+
bookmarksopen={\cfgpdfbookmarkopen},
50+
bookmarksopenlevel={\cfgbookmarksopenlevel},
51+
bookmarkstype={toc},
52+
pdfauthor={\autordeldocumento},
53+
pdfcenterwindow={\cfgpdfcenterwindow},
54+
pdfcopyright={\cfgpdfcopyright},
55+
pdfcreator={LaTeX},
56+
pdfdisplaydoctitle={\cfgpdfdisplaydoctitle},
57+
pdffitwindow={\cfgpdffitwindow},
58+
pdfinfo={
59+
Curso.Codigo={\codigodelcurso},
60+
Curso.Nombre={\nombredelcurso},
61+
Documento.Autor={\autordeldocumento},
62+
Documento.Titulo={\tituloevaluacion},
63+
Template.Autor.Alias={ppizarror},
64+
Template.Autor.Email={[email protected]},
65+
Template.Autor.Nombre={Pablo Pizarro R.},
66+
Template.Autor.Web={http://ppizarror.com/},
67+
Template.Codificacion={UTF-8},
68+
Template.Fecha={24/04/2018},
69+
Template.Licencia.Tipo={MIT},
70+
Template.Licencia.Web={https://opensource.org/licenses/MIT/},
71+
Template.Nombre={Template-Controles},
72+
Template.Tipo={Normal},
73+
Template.Version.Dev={2.0.1-CTR/EXM-N},
74+
Template.Version.Hash={017DDB945ECCC1647EB7CC9627742537},
75+
Template.Version.Release={2.0.1},
76+
Template.Web.Dev={https://github.com/Template-Latex/Template-Controles/},
77+
Template.Web.Manual={http://latex.ppizarror.com/Template-Controles/},
78+
Universidad.Departamento={\departamentouniversidad},
79+
Universidad.Nombre={\nombreuniversidad},
80+
Universidad.Ubicacion={\localizacionuniversidad}
81+
},
82+
pdfkeywords={\nombreuniversidad, \codigodelcurso \nombredelcurso, \localizacionuniversidad},
83+
pdflang={\documentlang},
84+
pdfmenubar={\cfgpdfmenubar},
85+
pdfpagelayout={\cfgpdfpagemode},
86+
pdfpagemode={\cdfpagemodepdf},
87+
pdfproducer={Template-Controles v2.0.1 | (Pablo Pizarro R.) ppizarror.com},
88+
pdfremotestartview={Fit},
89+
pdfstartpage={1},
90+
pdfstartview={\cfgpdfpageview},
91+
pdfsubject={\tituloevaluacion},
92+
pdftitle={\tituloevaluacion},
93+
pdftoolbar={\cfgpdftoolbar},
94+
pdfview={\cfgpdfpageview}
95+
}
96+
\graphicspath{{./\defaultimagefolder}}
97+
\newcounter{templatepagecounter}
98+
\renewcommand{\baselinestretch}{\defaultinterline}
99+
\setlength{\headheight}{64 pt}
100+
\setcounter{MaxMatrixCols}{20}
101+
\setlength{\footnotemargin}{4 mm}
102+
\setlength{\columnsep}{\columnsepwidth em}
103+
\ifthenelse{\equal{\showlinenumbers}{true}}{
104+
\setlength{\linenumbersep}{0.22cm}
105+
\renewcommand\linenumberfont{\normalfont\tiny\color{\linenumbercolor}}
106+
}{
107+
}
108+
\floatplacement{figure}{\imagedefaultplacement}
109+
\floatplacement{table}{\tabledefaultplacement}
110+
\floatplacement{tikz}{\tikzdefaultplacement}
111+
\color{\maintextcolor}
112+
\arrayrulecolor{\tablelinecolor}
113+
\sethlcolor{\highlightcolor}
114+
\ifthenelse{\equal{\showborderonlinks}{true}}{
115+
\hypersetup{
116+
citebordercolor=\numcitecolor,
117+
linkbordercolor=\linkcolor,
118+
urlbordercolor=\urlcolor
119+
}
120+
}{
121+
\hypersetup{
122+
hidelinks,
123+
colorlinks=true,
124+
citecolor=\numcitecolor,
125+
linkcolor=\linkcolor,
126+
urlcolor=\urlcolor
127+
}
128+
}
129+
\ifthenelse{\equal{\colorpage}{white}}{}{
130+
\pagecolor{\colorpage}
131+
}
132+
\setcaptionmargincm{\captionlrmargin}
133+
\ifthenelse{\equal{\captiontextbold}{true}}{
134+
\renewcommand{\captiontextbold}{bf}}{
135+
\renewcommand{\captiontextbold}{}
136+
}
137+
\captionsetup{
138+
labelfont={color=\captioncolor, \captiontextbold},
139+
textfont={color=\captiontextcolor},
140+
singlelinecheck=on
141+
}
142+
\floatsetup[figure]{
143+
captionskip=\captiontbmarginfigure pt
144+
}
145+
\floatsetup[table]{
146+
captionskip=\captiontbmargintable pt
147+
}
148+
\ifthenelse{\equal{\figurecaptiontop}{true}}{
149+
\floatsetup[figure]{position=above}}{
150+
}
151+
\ifthenelse{\equal{\tablecaptiontop}{true}}{
152+
\floatsetup[table]{position=top}
153+
}{
154+
\floatsetup[table]{position=bottom}
155+
}
156+
\ifthenelse{\equal{\captionalignment}{justified}}{
157+
\captionsetup{
158+
justification=justified,
159+
format=plain
160+
}
161+
}{
162+
\ifthenelse{\equal{\captionalignment}{centered}}{
163+
\captionsetup{
164+
justification=centering
165+
}
166+
}{
167+
\ifthenelse{\equal{\captionalignment}{left}}{
168+
\captionsetup{
169+
justification=raggedright,
170+
singlelinecheck=false
171+
}
172+
}{
173+
\ifthenelse{\equal{\captionalignment}{right}}{
174+
\captionsetup{
175+
justification=raggedleft,
176+
singlelinecheck=false
177+
}
178+
}{
179+
\throwbadconfig{Posicion de leyendas desconocida}{\captionalignment}{justified,centered,left,right}}}}
180+
}
181+
\ifthenelse{\equal{\stylecitereferences}{natbib}}{
182+
\bibliographystyle{apa}
183+
\setlength{\bibsep}{\natbibrefsep pt}
184+
}{
185+
\ifthenelse{\equal{\stylecitereferences}{apacite}}{
186+
\bibliographystyle{apacite}
187+
\setlength{\bibitemsep}{\apaciterefsep pt}
188+
}{
189+
\ifthenelse{\equal{\stylecitereferences}{bibtex}}{
190+
\bibliographystyle{apa}
191+
\newlength{\bibitemsep}
192+
\setlength{\bibitemsep}{.2\baselineskip plus .05\baselineskip minus .05\baselineskip}
193+
\newlength{\bibparskip}\setlength{\bibparskip}{0pt}
194+
\let\oldthebibliography\thebibliography
195+
\renewcommand\thebibliography[1]{
196+
\oldthebibliography{#1}
197+
\setlength{\parskip}{\bibitemsep}
198+
\setlength{\itemsep}{\bibparskip}
199+
}
200+
\setlength{\bibitemsep}{\bibtexrefsep pt}
201+
}{
202+
\throwbadconfig{Estilo citas desconocido}{\stylecitereferences}{bibtex,apacite,natbib}}}
203+
}
204+
\makeatletter
205+
\ifthenelse{\equal{\twocolumnreferences}{true}}{
206+
\renewenvironment{thebibliography}[1]
207+
{\begin{multicols}{2}[\section*{\refname}]
208+
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}
209+
\list{\@biblabel{\@arabic\c@enumiv}}
210+
{\settowidth\labelwidth{\@biblabel{#1}}
211+
\leftmargin\labelwidth
212+
\advance\leftmargin\labelsep
213+
\@openbib@code
214+
\usecounter{enumiv}
215+
\let\p@enumiv\@empty
216+
\renewcommand\theenumiv{\@arabic\c@enumiv}}
217+
\sloppy
218+
\clubpenalty 4000
219+
\@clubpenalty \clubpenalty
220+
\widowpenalty 4000
221+
\sfcode`\.\@m}
222+
{\def\@noitemerr
223+
{\@latex@warning{Ambiente `thebibliography' no definido}}
224+
\endlist\end{multicols}}}{}
225+
\makeatother
226+
\patchcmd{\appendices}{\quad}{\sectionappendixlastchar\quad}{}{}
227+
\makeatletter
228+
\def\ifGm@preamble#1{\@firstofone}
229+
\appto\restoregeometry{
230+
\pdfpagewidth=\paperwidth
231+
\pdfpageheight=\paperheight}
232+
\apptocmd\newgeometry{
233+
\pdfpagewidth=\paperwidth
234+
\pdfpageheight=\paperheight}{}{}
235+
\makeatother
236+
\hfuzz=200pt \vfuzz=200pt
237+
\hbadness=\maxdimen \vbadness=\maxdimen
238+
\strictpagecheck
239+
\titlespacing{\section}{0pt}{20pt}{10pt}
240+
\titlespacing{\subsection}{0pt}{15pt}{10pt}
241+
\ttfamily \hyphenchar\the\font=`\-
242+
\urlstyle{tt}
243+
\pdfminorversion=\pdfcompileversion
244+
\setcounter{tocdepth}{1}

lib/cfg/page.tex

Lines changed: 68 additions & 2 deletions
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: 2.0.0 (23/04/2018)
3+
% Versión: 2.0.1 (24/04/2018)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror
@@ -11,4 +11,70 @@
1111
% Sitio web: [http://latex.ppizarror.com/Template-Controles/]
1212
% Licencia MIT: [https://opensource.org/licenses/MIT]
1313

14-
\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}\setcounter{section}{0}\setcounter{footnote}{0}\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\def\arraystretch{\tablepadding}\ifthenelse{\equal{\pointdecimal}{true}}{\decimalpoint}{}\renewcommand{\appendixname}{\nomltappendixsection}\renewcommand{\appendixpagename}{\nameappendixsection}\renewcommand{\appendixtocname}{\nameappendixsection}\renewcommand{\contentsname}{\nomltcont}\renewcommand{\figurename}{\nomltwfigure}\renewcommand{\listfigurename}{\nomltfigure}\renewcommand{\listtablename}{\nomlttable}\renewcommand{\lstlistingname}{\nomltwsrc}\renewcommand{\refname}{\namereferences}\renewcommand{\tablename}{\nomltwtable}\sectionfont{\color{\titlecolor} \fontsizetitle \styletitle \selectfont}\subsectionfont{\color{\subtitlecolor} \fontsizesubtitle \stylesubtitle \selectfont}\subsubsectionfont{\color{\subsubtitlecolor} \fontsizesubsubtitle \stylesubsubtitle \selectfont}\pagestyle{fancy} \fancyhf{} \fancyhead[L]{} \fancyhead[R]{}\renewcommand{\headrulewidth}{0pt}\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}\fancyfoot[R]{\small \rm \nouppercase{\thepage}}\renewcommand{\footrulewidth}{0.5pt}\fancypagestyle{styleportrait}{\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\vspace*{2.5cm}\nombreuniversidad ~ \\\nombrefacultad ~ \\\departamentouniversidad ~ \\\codigodelcurso\ - \nombredelcurso}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \vspace{0cm}}\renewcommand{\headrulewidth}{0.5pt}\setpagemargincm{\pagemarginleft}{2.0}{\pagemarginright}{\pagemarginbottom}\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}\fancyfoot[R]{\small \rm \nouppercase{\thepage}}\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}\fancyfoot[R]{\small \rm \nouppercase{\thepage}}\renewcommand{\footrulewidth}{0.5pt}}\thispagestyle{styleportrait}\begin{center}\vspace*{2.0cm}\huge {\tituloevaluacion} ~ \\\ifx\hfuzz\equipodocente\hfuzz\else\vspace{0.2cm}\large{\equipodocente}\fi\ifx\hfuzz\indicacionevaluacion\hfuzz\else\vspace{0.5cm}\large{\indicacionevaluacion}\fi\end{center}\ifthenelse{\equal{\showlinenumbers}{true}}{\linenumbers}{}
14+
\newpage
15+
\renewcommand{\thepage}{\arabic{page}}
16+
\setcounter{page}{1}
17+
\setcounter{section}{0}
18+
\setcounter{footnote}{0}
19+
\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}
20+
\def\arraystretch{\tablepadding}
21+
\ifthenelse{\equal{\pointdecimal}{true}}{
22+
\decimalpoint}{
23+
}
24+
\renewcommand{\appendixname}{\nomltappendixsection}
25+
\renewcommand{\appendixpagename}{\nameappendixsection}
26+
\renewcommand{\appendixtocname}{\nameappendixsection}
27+
\renewcommand{\contentsname}{\nomltcont}
28+
\renewcommand{\figurename}{\nomltwfigure}
29+
\renewcommand{\listfigurename}{\nomltfigure}
30+
\renewcommand{\listtablename}{\nomlttable}
31+
\renewcommand{\lstlistingname}{\nomltwsrc}
32+
\renewcommand{\refname}{\namereferences}
33+
\renewcommand{\tablename}{\nomltwtable}
34+
\sectionfont{\color{\titlecolor} \fontsizetitle \styletitle \selectfont}
35+
\subsectionfont{\color{\subtitlecolor} \fontsizesubtitle \stylesubtitle \selectfont}
36+
\subsubsectionfont{\color{\subsubtitlecolor} \fontsizesubsubtitle \stylesubsubtitle \selectfont}
37+
\pagestyle{fancy} \fancyhf{} \fancyhead[L]{} \fancyhead[R]{}
38+
\renewcommand{\headrulewidth}{0pt}
39+
\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}
40+
\fancyfoot[R]{\small \rm \nouppercase{\thepage}}
41+
\renewcommand{\footrulewidth}{0.5pt}
42+
\fancypagestyle{styleportrait}{
43+
\pagestyle{fancy}
44+
\fancyhf{}
45+
\fancyhead[L]{
46+
\vspace*{2.5cm}
47+
\nombreuniversidad ~ \\
48+
\nombrefacultad ~ \\
49+
\departamentouniversidad ~ \\
50+
\codigodelcurso\ - \nombredelcurso
51+
}
52+
\fancyhead[R]{
53+
\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \vspace{0cm}
54+
}
55+
\renewcommand{\headrulewidth}{0.5pt}
56+
\setpagemargincm{\pagemarginleft}{2.0}{\pagemarginright}{\pagemarginbottom}
57+
\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}
58+
\fancyfoot[R]{\small \rm \nouppercase{\thepage}}
59+
\fancyfoot[L]{\small \rm \textit{\tituloevaluacion}}
60+
\fancyfoot[R]{\small \rm \nouppercase{\thepage}}
61+
\renewcommand{\footrulewidth}{0.5pt}
62+
}
63+
\thispagestyle{styleportrait}
64+
\begin{center}
65+
\vspace*{2.0cm}
66+
\huge {\tituloevaluacion} ~ \\
67+
\ifx\hfuzz\equipodocente\hfuzz
68+
\else
69+
\vspace{0.2cm}
70+
\large{\equipodocente}
71+
\fi
72+
\ifx\hfuzz\indicacionevaluacion\hfuzz
73+
\else
74+
\vspace{0.5cm}
75+
\large{\indicacionevaluacion}
76+
\fi
77+
\end{center}
78+
\ifthenelse{\equal{\showlinenumbers}{true}}{
79+
\linenumbers}{
80+
}

lib/cmd/all.tex

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% Template: Template Controles LaTeX
22
% Documento: Carga las funciones del template
3-
% Versión: 2.0.0 (23/04/2018)
3+
% Versión: 2.0.1 (24/04/2018)
44
% Codificación: UTF-8
55
%
66
% Autor: Pablo Pizarro R. @ppizarror
@@ -11,4 +11,10 @@
1111
% Sitio web: [http://latex.ppizarror.com/Template-Controles/]
1212
% Licencia MIT: [https://opensource.org/licenses/MIT]
1313

14-
\input{lib/cmd/core}\input{lib/cmd/math}\input{lib/cmd/equation}\input{lib/cmd/image}\input{lib/cmd/title}\input{lib/cmd/other}\input{lib/cmd/control}
14+
\input{lib/cmd/core}
15+
\input{lib/cmd/math}
16+
\input{lib/cmd/equation}
17+
\input{lib/cmd/image}
18+
\input{lib/cmd/title}
19+
\input{lib/cmd/other}
20+
\input{lib/cmd/control}

0 commit comments

Comments
 (0)