Skip to content

Commit

Permalink
Mejora entrada institución espaciado
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Dec 14, 2024
1 parent 88c8aea commit 847c4f8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
3 changes: 1 addition & 2 deletions 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.1.0 (18/08/2024)
% Versión: 4.1.1 (14/12/2024)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -36,7 +36,6 @@
% \addheaderspace{0.25cm} Agrega un espacio horizontal
\addheadermail{\email}
\addheadertext{\phonenumber}
\addheadertext{RUT: 12.345.678-9}
\addheaderlink{https://johndoe.com}
\addheaderlink[linkedin]{https://linkedin.com/john.doe} % latex.ppizarror.com/icons
\addheaderlink[github]{https://github.com/ppizarror}
Expand Down
3 changes: 2 additions & 1 deletion 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.1.0 (18/08/2024)
% Versión: 4.1.1 (14/12/2024)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -281,6 +281,7 @@
}{%
\vspace{0.25\baselineskip}%
\global\def\GLOBALinstitutionenabled {false}%
\setcounter{institutionentrycount}{0}%
\nopagebreak[4]%
}

Expand Down
8 changes: 6 additions & 2 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.1.0 (18/08/2024)
% Versión: 4.1.1 (14/12/2024)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand All @@ -14,6 +14,7 @@
\global\def\GLOBALheaderlineitem {false}
\global\def\GLOBALheaderseparatorsticky {false}
\global\def\GLOBALprintspacefilled {false}
\newcounter{institutionentrycount}

% Ignora linebreaks
\def\ignorelinebreaks{%
Expand Down Expand Up @@ -471,7 +472,10 @@
\throwwarning{Funciones \noexpand\newinstitutionentry, \noexpand\institutionentry o \noexpand\institutionentrynodate no pueden usarse fuera del entorno \noexpand\institution}\stop%
}%
\emptyvarerr{\newinstitutionentry}{#1}{Cargo o posición no definido}%
\nopagebreak[4]%
\stepcounter{institutionentrycount}%
\ifnum\value{institutionentrycount}=1%
\nopagebreak[4]%
\fi%
\begin{institutionindent}%
\def\LOCALinstitutionentrydate {%
\ifthenelse{\equal{#2}{}}{%
Expand Down
19 changes: 12 additions & 7 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.1.0 (18/08/2024)
% Versión: 4.1.1 (14/12/2024)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -734,6 +734,7 @@
\global\def\GLOBALheaderlineitem {false}
\global\def\GLOBALheaderseparatorsticky {false}
\global\def\GLOBALprintspacefilled {false}
\newcounter{institutionentrycount}

% Ignora linebreaks
\def\ignorelinebreaks{%
Expand Down Expand Up @@ -1191,7 +1192,10 @@
\throwwarning{Funciones \noexpand\newinstitutionentry, \noexpand\institutionentry o \noexpand\institutionentrynodate no pueden usarse fuera del entorno \noexpand\institution}\stop%
}%
\emptyvarerr{\newinstitutionentry}{#1}{Cargo o posición no definido}%
\nopagebreak[4]%
\stepcounter{institutionentrycount}%
\ifnum\value{institutionentrycount}=1%
\nopagebreak[4]%
\fi%
\begin{institutionindent}%
\def\LOCALinstitutionentrydate {%
\ifthenelse{\equal{#2}{}}{%
Expand Down Expand Up @@ -1625,6 +1629,7 @@
}{%
\vspace{0.25\baselineskip}%
\global\def\GLOBALinstitutionenabled {false}%
\setcounter{institutionentrycount}{0}%
\nopagebreak[4]%
}

Expand Down Expand Up @@ -1765,23 +1770,23 @@
Template.Author.Email={[email protected]},
Template.Author.Name={Pablo Pizarro R.},
Template.Author.Web={https://ppizarror.com/},
Template.Date={18/08/2024},
Template.Date={14/12/2024},
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.1.0-6},
Template.Version.Hash={158D004E556F2B714EA84B144B259324},
Template.Version.Release={4.1.0},
Template.Version.Dev={4.1.1},
Template.Version.Hash={7302B7C24BC65A3AE80B2D44E3B099FC},
Template.Version.Release={4.1.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.1.0 | (Pablo Pizarro R.) ppizarror.com},
pdfproducer={Professional-CV v4.1.1 | (Pablo Pizarro R.) ppizarror.com},
pdfremotestartview={Fit},
pdfstartpage={1},
pdfstartview={\cfgpdfpageview},
Expand Down

0 comments on commit 847c4f8

Please sign in to comment.