0
\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{classic}
\moderncvcolor{blue}

\usepackage[margin=1in]{geometry}
\usepackage[english]{babel}
\usepackage{multicol, lipsum}
\setlength{\hintscolumnwidth}{2cm}
\setlength{\separatorcolumnwidth}{1em}

\title{Resume}
\firstname{New}
\familyname{Name}
\address{AADD}{alpha}
\extrainfo{* May 12, 1955}

\begin{document}
\makecvtitle
% switch to two-column layout
\begin{multicols}{2}
\section{FRAMEWORKS}
\section{DATA STORE}


\end{multicols}

\end{document}

When I compile it I get two columns with Frameworks and data store (left and right).
I'm running into two issues sort of: 1) I would like to get a handle on text, that is what text stays in left column and otherwise.
2)I've seen when I put text it flow to the right column. For example:

%% keep everything else as same
    \section{DATA STORE}
    
    \lipsum[1-3] %

Above, when I compile and run, text will flow to the right side and a huge chunk of the page is left blank. I'd like to stop the text on left side in this case

I'm new to latex and would like to learn it for self. I begun creating CV, I took template from moderncv library. Please be patient with my steep learning curve.

Edit 1: I do not want multicols to balance the text heights. I'd like to have handle on text heights, for example, in the left all the way to the bottom page for the content I like.

Edit 1, continued, I'd like to have two section titles stay in two different columns and text never flows from the left to the right column.

I've added image of the desired output.

desiredoutput

6
  • 1
    Welcome to TeX.SX! Regarding: "Above, when I compile and run, text will flow to the right side and a huge chunk of the page is left blank. I'd like to stop the text on left side in this case" Could you please add a sketch of the desired output. Which part of the text should be left blank and where exactly do you expect the text? The output you currently get is because multicols balances the text heights in both columns instead of filling the left column all the way to the bottom of the page and then starting a new column. [...]
    – leandriis
    Aug 7, 2020 at 6:21
  • 1
    [...] Do you actually want two completely independant columns? e.g. The two section titles stay in two different columns no matter how lon ght econtents are and text never flows from the left to the right column? Please clarify.
    – leandriis
    Aug 7, 2020 at 6:21
  • @leandriis thanks for your reply. I've edited my post, with image of the desired output. Aug 7, 2020 at 13:14
  • 1
    Do you plan on using \cvitem and the similar commands from the moderncv class? If so, you might also want to have a look at: Two columns with moderncv
    – leandriis
    Aug 7, 2020 at 14:47
  • Yes, I plan to use \cvitem and similar features from the moderncv class, however, as I have experienced the text from left column flows to the right, which is not I'd like to do in the layout. Aug 7, 2020 at 15:41

1 Answer 1

1

You can achieve something similar to the screenshot in your question if you use two side by side minipage environments:

enter image description here

\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{classic}
\moderncvcolor{blue}

\usepackage[margin=1in]{geometry}
\usepackage[english]{babel}
\usepackage{multicol, lipsum}
\setlength{\hintscolumnwidth}{2cm}
\setlength{\separatorcolumnwidth}{1em}

\title{Resume}
\firstname{New}
\familyname{Name}
\address{AADD}{alpha}
\extrainfo{* May 12, 1955}

\begin{document}
\makecvtitle
% switch to two-column layout
\begin{minipage}[t]{0.5\textwidth}
\section{FRAMEWORKS}
\cvitem{text}{more text}
\section{DATA STORE}
\section{LANGUAGES}
\end{minipage}%
\begin{minipage}[t]{0.5\textwidth}
\section{WORK EXPERIENCE}
\cventry{today -- today}{text}{text}{text}{text}{text}%
\cventry{today -- today}{text}{text}{text}{text}{text}%
\cventry{today -- today}{text}{text}{text}{text}{text}%
\end{minipage}


\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .