Skip to content

Commit

Permalink
Version 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Nov 3, 2023
1 parent 55f8abb commit 804c81e
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 37 deletions.
2 changes: 1 addition & 1 deletion cv.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Advertencia: Archivo principal
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
2 changes: 1 addition & 1 deletion source_template.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Núcleo del template
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
2 changes: 1 addition & 1 deletion src/config.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Configuraciones del template
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
2 changes: 1 addition & 1 deletion src/defs.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Definiciones
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
5 changes: 3 additions & 2 deletions src/env.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Definición de entornos
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -254,11 +254,12 @@
\break%
\end{indentsection}%
\hypersetup{urlcolor=\urlcolor}%
\vspace{-1.55\baselineskip}%
\vspace{-1.75\baselineskip}%
\noindent%
\global\def\GLOBALinstitutionicon {}%
\global\def\GLOBALinstitutionenabled {true}~%
}{%
\vspace{0.25\baselineskip}%
\global\def\GLOBALinstitutionenabled {false}%
\par%
\nopagebreak[4]%
Expand Down
24 changes: 16 additions & 8 deletions src/function.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Funciones utilitarias
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -73,6 +73,7 @@
\coreiprintifspacefill{0.75}%
\coreiprintifspacefill{0.625}%
\coreiprintifspacefill{0.5}%
\coreiprintifspacefill{0.375}%
\coreiprintifspacefill{0.25}%
\coreiprintifspacefill{0.1}%
\coreiprintifspacefill{0.05}%
Expand Down Expand Up @@ -397,8 +398,9 @@
\textcolor{\personaltblentcolor}{\textbf{#1:}} & #2 \\%
}

% Crea el largo horizontal del box de los títulos
\newlength\institutionentrytitle
% Crea el largo horizontal de los boxes en institutionentry
\newlength\institutionentrywdate
\newlength\institutionentrywtitle

% Inserta un objeto en un elemento institución
% #1 Cargo
Expand Down Expand Up @@ -427,28 +429,34 @@
}%
}%
}%
\settowidth\institutionentrytitle{\textbf{#1}\LOCALinstitutionentrydate} % Calcula ancho del título
\settowidth\institutionentrywtitle{\textbf{#1}\LOCALinstitutionentrydate} % Calcula ancho de la fecha
\ifthenelse{\equal{#5}{}}{%
\def\LOCALinstitutionentryreqspace {0}%
}{%
\ifthenelse{\institutionentrytitle<\dimexpr0.95\linewidth}{ % Título en una sola línea
\ifthenelse{\institutionentrywtitle<\dimexpr0.95\linewidth}{ % Título en una sola línea
\def\LOCALinstitutionentryreqspace {2}%
}{%
\def\LOCALinstitutionentryreqspace {3}%
}%
}%
\printifspace{\LOCALinstitutionentryreqspace}{%
\begin{minipage}{1\linewidth} % Crea el título
\ifthenelse{\institutionentrytitle<\dimexpr0.95\linewidth}{ % Una sola línea
\ifthenelse{\institutionentrywtitle<\dimexpr0.95\linewidth}{ % Una sola línea
\textcolor{\instentrytitlecolor}{\textbf{#1}}%
\hfill\LOCALinstitutionentrydate \\%
\vspace{-0.5\baselineskip}%
}{%
\begin{minipage}[t][][t]{0.69\linewidth}%
\settowidth\institutionentrywdate{\LOCALinstitutionentrydate} % Calcula ancho del título
\ifthenelse{\institutionentrywdate<\dimexpr0.175\linewidth}{%
\def\LOCALinstitutionentrypagew {0.17}%
}{%
\def\LOCALinstitutionentrypagew {0.3}%
}%
\begin{minipage}[t][][t]{\dimexpr\linewidth-\LOCALinstitutionentrypagew\linewidth}%
\textcolor{\instentrytitlecolor}{\textbf{#1}} \\%
\vspace{-0.5\baselineskip}%
\end{minipage}%
\begin{minipage}[t][][t]{0.31\linewidth}%
\begin{minipage}[t][][t]{\dimexpr\LOCALinstitutionentrypagew\linewidth}%
\begin{flushright}%
\LOCALinstitutionentrydate%
\end{flushright}%
Expand Down
2 changes: 1 addition & 1 deletion src/imports.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Importación de librerías
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
12 changes: 6 additions & 6 deletions src/initconf.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Configuraciones iniciales del documento
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -58,23 +58,23 @@
Template.Author.Email={pablo@ppizarror.com},
Template.Author.Name={Pablo Pizarro R.},
Template.Author.Web={https://ppizarror.com/},
Template.Date={01/11/2023},
Template.Date={03/11/2023},
Template.Encoding={UTF-8},
Template.License.Type={MIT},
Template.License.Web={https://opensource.org/licenses/MIT/},
Template.Name={Professional-CV},
Template.Type={Normal},
Template.Version.Dev={4.0.0-3},
Template.Version.Hash={2A716FDDD672441DA6712E15235D9851},
Template.Version.Release={4.0.0},
Template.Version.Dev={4.0.1},
Template.Version.Hash={DB49D4B19BEB147FC347CD18989C88C6},
Template.Version.Release={4.0.1},
Template.Web.Dev={https://github.com/Template-Latex/Professional-CV/},
Template.Web.Manual={https://latex.ppizarror.com/Professional-CV/}
},
pdfkeywords={CV, \name, \headertitle, \email},
pdfmenubar={\cfgpdfmenubar},
pdfpagelayout={\cfgpdfpagemode},
pdfpagemode={\cdfpagemodepdf},
pdfproducer={Professional-CV v4.0.0 | (Pablo Pizarro R.) ppizarror.com},
pdfproducer={Professional-CV v4.0.1 | (Pablo Pizarro R.) ppizarror.com},
pdfremotestartview={Fit},
pdfstartpage={1},
pdfstartview={\cfgpdfpageview},
Expand Down
2 changes: 1 addition & 1 deletion src/pageconf.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Configuraciones de página
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down
37 changes: 23 additions & 14 deletions template.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Núcleo del template
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -785,6 +785,7 @@
\coreiprintifspacefill{0.75}%
\coreiprintifspacefill{0.625}%
\coreiprintifspacefill{0.5}%
\coreiprintifspacefill{0.375}%
\coreiprintifspacefill{0.25}%
\coreiprintifspacefill{0.1}%
\coreiprintifspacefill{0.05}%
Expand Down Expand Up @@ -1109,8 +1110,9 @@
\textcolor{\personaltblentcolor}{\textbf{#1:}} & #2 \\%
}

% Crea el largo horizontal del box de los títulos
\newlength\institutionentrytitle
% Crea el largo horizontal de los boxes en institutionentry
\newlength\institutionentrywdate
\newlength\institutionentrywtitle

% Inserta un objeto en un elemento institución
% #1 Cargo
Expand Down Expand Up @@ -1139,28 +1141,34 @@
}%
}%
}%
\settowidth\institutionentrytitle{\textbf{#1}\LOCALinstitutionentrydate} % Calcula ancho del título
\settowidth\institutionentrywtitle{\textbf{#1}\LOCALinstitutionentrydate} % Calcula ancho de la fecha
\ifthenelse{\equal{#5}{}}{%
\def\LOCALinstitutionentryreqspace {0}%
}{%
\ifthenelse{\institutionentrytitle<\dimexpr0.95\linewidth}{ % Título en una sola línea
\ifthenelse{\institutionentrywtitle<\dimexpr0.95\linewidth}{ % Título en una sola línea
\def\LOCALinstitutionentryreqspace {2}%
}{%
\def\LOCALinstitutionentryreqspace {3}%
}%
}%
\printifspace{\LOCALinstitutionentryreqspace}{%
\begin{minipage}{1\linewidth} % Crea el título
\ifthenelse{\institutionentrytitle<\dimexpr0.95\linewidth}{ % Una sola línea
\ifthenelse{\institutionentrywtitle<\dimexpr0.95\linewidth}{ % Una sola línea
\textcolor{\instentrytitlecolor}{\textbf{#1}}%
\hfill\LOCALinstitutionentrydate \\%
\vspace{-0.5\baselineskip}%
}{%
\begin{minipage}[t][][t]{0.69\linewidth}%
\settowidth\institutionentrywdate{\LOCALinstitutionentrydate} % Calcula ancho del título
\ifthenelse{\institutionentrywdate<\dimexpr0.175\linewidth}{%
\def\LOCALinstitutionentrypagew {0.17}%
}{%
\def\LOCALinstitutionentrypagew {0.3}%
}%
\begin{minipage}[t][][t]{\dimexpr\linewidth-\LOCALinstitutionentrypagew\linewidth}%
\textcolor{\instentrytitlecolor}{\textbf{#1}} \\%
\vspace{-0.5\baselineskip}%
\end{minipage}%
\begin{minipage}[t][][t]{0.31\linewidth}%
\begin{minipage}[t][][t]{\dimexpr\LOCALinstitutionentrypagew\linewidth}%
\begin{flushright}%
\LOCALinstitutionentrydate%
\end{flushright}%
Expand Down Expand Up @@ -1548,11 +1556,12 @@
\break%
\end{indentsection}%
\hypersetup{urlcolor=\urlcolor}%
\vspace{-1.55\baselineskip}%
\vspace{-1.75\baselineskip}%
\noindent%
\global\def\GLOBALinstitutionicon {}%
\global\def\GLOBALinstitutionenabled {true}~%
}{%
\vspace{0.25\baselineskip}%
\global\def\GLOBALinstitutionenabled {false}%
\par%
\nopagebreak[4]%
Expand Down Expand Up @@ -1671,23 +1680,23 @@
Template.Author.Email={pablo@ppizarror.com},
Template.Author.Name={Pablo Pizarro R.},
Template.Author.Web={https://ppizarror.com/},
Template.Date={01/11/2023},
Template.Date={03/11/2023},
Template.Encoding={UTF-8},
Template.License.Type={MIT},
Template.License.Web={https://opensource.org/licenses/MIT/},
Template.Name={Professional-CV},
Template.Type={Normal},
Template.Version.Dev={4.0.0-3},
Template.Version.Hash={2A716FDDD672441DA6712E15235D9851},
Template.Version.Release={4.0.0},
Template.Version.Dev={4.0.1},
Template.Version.Hash={DB49D4B19BEB147FC347CD18989C88C6},
Template.Version.Release={4.0.1},
Template.Web.Dev={https://github.com/Template-Latex/Professional-CV/},
Template.Web.Manual={https://latex.ppizarror.com/Professional-CV/}
},
pdfkeywords={CV, \name, \headertitle, \email},
pdfmenubar={\cfgpdfmenubar},
pdfpagelayout={\cfgpdfpagemode},
pdfpagemode={\cdfpagemodepdf},
pdfproducer={Professional-CV v4.0.0 | (Pablo Pizarro R.) ppizarror.com},
pdfproducer={Professional-CV v4.0.1 | (Pablo Pizarro R.) ppizarror.com},
pdfremotestartview={Fit},
pdfstartpage={1},
pdfstartview={\cfgpdfpageview},
Expand Down
2 changes: 1 addition & 1 deletion template_config.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% Template: Professional-CV
% Documento: Configuraciones del template
% Versión: 4.0.0 (01/11/2023)
% Versión: 4.0.1 (03/11/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down

0 comments on commit 804c81e

Please sign in to comment.