Skip to content

Commit

Permalink
Mejora configuración espaciado de títulos
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Dec 12, 2023
1 parent 1c7bf3e commit f389995
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 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.4 (13/11/2023)
% Versión: 4.0.5 (11/12/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -71,7 +71,7 @@
\stop%
\else%
\ifthenelse{\equal{#2}{}}{}{%
\section*{#2}\vspace{-0.3em}\nopagebreak[4]%
\section*{#2}\nopagebreak[4]%
\addcontentsline{toc}{section}{#2}%
}%
\fi%
Expand Down
5 changes: 3 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.0.4 (13/11/2023)
% Versión: 4.0.5 (11/12/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -169,7 +169,8 @@
}{%
\ifthenelse{\equal{#1}{np}}{% Lo inserta pero con una nueva página
\printifspacefill%
\printifnewpage#3%
\printifnewpage%
#3%
}{%
\ifthenelse{\equal{#1}{i}}{% Nueva página
\printifspacefill%
Expand Down
6 changes: 5 additions & 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.4 (13/11/2023)
% Versión: 4.0.5 (11/12/2023)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
Expand Down Expand Up @@ -107,6 +107,10 @@
\usepackage{geometry}
}

% Configura los títulos
\usepackage{titlesec}
\titlespacing{\section}{0pt}{1.1em plus 0.25em minus 0.25em}{0.9em plus 0.25em minus 0.25em}

% -----------------------------------------------------------------------------
% Librerías con parámetros
% -----------------------------------------------------------------------------
Expand Down

0 comments on commit f389995

Please sign in to comment.