
La dirección completa de mi universidad es demasiado larga para caber en una línea con la configuración de formato predeterminada. Aquí está mi salida actual:
Sin embargo, necesito que la ubicación quepa en una línea, ya que altera el formato. Intenté modificar el \cventry
comando, pero no encontré nada. El código está a continuación:
% Define an entry of cv information
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
\newcommand*{\cventry}[5]{%
\vspace{-2.0mm}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
\ifempty{#2#3}
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
\end{tabular*}%
}
el formato específico de la ubicación es:
\newcommand*{\entrylocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
Editar: así es como llamo a cventry
\cventry
{Bachelor of Computer Science (BCS) Honours, Software Engineering Stream} % Degree
{Carleton University} % Institution
{1125 Colonel By Dr, Ottawa ON, Canada K1S 5B6} % Location
{Sep. 2022 - Apr. 2026} % Date(s)
{
\textbf{Courses:} Accelerated Intro to Computer Science I and II, Intro to Systems Programming, Discrete Structures I, Calculus I, Linear Algebra I, \newline Critical Thinking, Intro to Cognitive Science, Intro to Film Studies.
}
% \vspace{-\baselineskip}
%---------------------------------------------------------
\end{cventries}
Respuesta1
Agregar después\documentclass[11pt, letterpaper]{awesome-cv}
Ampliará la columna de la izquierda para permitir direcciones más largas.
\renewcommand*{\cventry}[5]{%
\vspace{-2.0mm}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{0.6\textwidth} R{0.4\textwidth}}
\ifempty{#2#3}
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
\end{tabular*}%
}