Ich versuche, vwcol
mehrere Male separat zu verwenden, aber es führt nicht zum gewünschten Ergebnis. Irgendeine Idee, wie man das Problem lösen kann? Oder vielleicht Vorschläge für ein anderes Paket? Hiermit ein 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}
Klassendatei:
\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}%
}