From f38999513db27ba9d3a01de9d07c05015d0acc46 Mon Sep 17 00:00:00 2001 From: ppizarror Date: Mon, 11 Dec 2023 21:38:28 -0300 Subject: [PATCH] =?UTF-8?q?Mejora=20configuraci=C3=B3n=20espaciado=20de=20?= =?UTF-8?q?t=C3=ADtulos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/env.tex | 4 ++-- src/function.tex | 5 +++-- src/imports.tex | 6 +++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/env.tex b/src/env.tex index b3c33c1..60f8f21 100644 --- a/src/env.tex +++ b/src/env.tex @@ -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. @@ -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% diff --git a/src/function.tex b/src/function.tex index 7e6e303..502d154 100644 --- a/src/function.tex +++ b/src/function.tex @@ -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. @@ -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% diff --git a/src/imports.tex b/src/imports.tex index 808215c..0805cd9 100644 --- a/src/imports.tex +++ b/src/imports.tex @@ -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. @@ -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 % -----------------------------------------------------------------------------