我尝试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}%
}