
우리 대학의 전체 주소가 너무 길어서 기본 형식 설정으로는 한 줄에 들어갈 수 없습니다. 내 현재 출력은 다음과 같습니다.
그러나 서식이 엉망이므로 한 줄에 들어갈 위치가 필요합니다. 명령 을 수정해 보았지만 \cventry
아무것도 찾지 못했습니다. 코드는 아래와 같습니다:
% 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*}%
}
위치와 관련된 형식은 다음과 같습니다.
\newcommand*{\entrylocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
편집: 이것이 내가 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}
답변1
뒤에 추가\documentclass[11pt, letterpaper]{awesome-cv}
더 긴 주소를 허용하려면 왼쪽 열을 확장합니다.
\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*}%
}