따로 여러번 사용해 보려고 하는데 vwcol
원하는 결과가 나오지 않네요. 어떻게 해결해야 할지 아시나요? 아니면 다른 패키지를 제안하시겠습니까? 이에 따라 MWE는 다음과 같습니다.
\documentclass[12pt]{my_cv}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a4paper, total={7in, 11in}]{geometry}
\usepackage{xcolor, enumitem, multicol, hyperref, vwcol}
\definecolor{darkmidnightblue}{rgb}{0.0, 0.2, 0.4}
\setlength{\columnseprule}{1pt}
\def\columnseprulecolor{\color{darkmidnightblue}}
\setlength{\columnsep}{.5cm}
\hypersetup{colorlinks, urlcolor=darkmidnightblue}
%-------------------------------------------------------------
\begin{document}
%\pagecolor{lightgray}
\name{\color{darkmidnightblue} \textbf{-}
\vspace{.3em}
\name{\color{darkmidnightblue} \large \textit{Curriculum Vitae}}
\vspace{.5em}
\section*{\color{darkmidnightblue} Personal data}
\begin{description}[itemsep=0em, align=left, labelwidth=1.55in]
\item [Date of birth] -
\item [Address] -
\item [E-mail] -
\item [Mobile] -
\end{description}
\section*{\color{darkmidnightblue} Education}
\begin{vwcol}[widths={0.23, 0.5}, sep=.5cm, rule=1pt, postrule, indent=0em, rulecolor=darkmidnightblue, justify=flush]
\textsc{Sep 2018 -- Dec 2018}
\subsection{-} \vspace{-.8em}
\subsubsection{-} \vspace{-.8em}
-
\end{vwcol}
\begin{vwcol}
...
\end{vwcol}
\end{document}
클래스 파일:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{my_cv}[2019/08/11 My custom CV class]
\LoadClass{article}
\newcommand{\name}[1]{%
\leftline{\Large{#1}}
}
\RequirePackage{titlesec}
\titleformat{\section} % Customise the \section command
{\large\bfseries\scshape\raggedright} % Make the \section headers large (\Large)
{}{0em}
{}
[\color{darkmidnightblue}\bfseries\titlerule] % Inserts a horizontal line after the heading
\titleformat{\subsection}
{\large\bfseries\scshape\raggedright}
{}{0em}
{}
\titleformat{\subsubsection}
{\large\scshape\raggedright}
{}{0em}
{}
\newcommand{\datedsection}[2]{%
\section[#1]{#1 \hfill #2}%
}
\newcommand{\datedsubsection}[2]{%
\subsection[#1]{#1 \hfill #2}%
}