Using cvlistdoubleitem in combination with two column layout in moderncv











up vote
2
down vote

favorite












I am working on my resume with the moderncv class. Since I want it to be with a two-columns page layout, I have followed the steps in this question.



What is not working fine with that layout is the lists with cvlistdoubleitem: in fact the items do not appear paired one next to the other but up and down.



This can be seen in the pic, in the First subset group (the second subset is a normal cvlistitem):





How can I fix this layout? The code I am using is the following:



documentclass[10pt,a4paper,sans]{moderncv}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{url}
usepackage{relsize}
usepackage[margin=1in]{geometry}
usepackage{multicol}
usepackage{lipsum}

moderncvstyle{classic} %classic, oldstyle, banking casual
moderncvcolor{blue} %blue orange green red purple grey black

firstname{Fat}
familyname{Tony}
title{Curriculum Vitae}

address{Somewhere in Springfield}{12345}{United States}
email{fat.tony@themob.com}
homepage{linkedin.com/in/fat.tony}

setlength{hintscolumnwidth}{2.5cm}
begin{document}
makecvtitle
lipsum[1]

setlength{hintscolumnwidth}{2.6cm}
begin{multicols}{2}
setlength{hintscolumnwidth}{0.175textwidth}
setlength{separatorcolumnwidth}{0.015textwidth}
setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
section{Personal Information}
cvitem{Nationality}{Italian American}
cvitem{Driving License}{Cars and limos}

section{Education}
cventry{1990-1995}%
{PhD in something something}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1988--1990}%
{Msc of science in another thing}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1985-1988}{Bsc in the first thing ever}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1980-1985}%
{High school of the best school diploma}%
{A high school}%
{City}%
{High grade}%
{Some description of the thing}
section{Professional experience}
cventry{1995-present}
{Mob boss}{A university}%
{City}%
{High grade}%
{Some description of the thing}

section{Languages}
cvitem{English}{Native speaker}
cvitem{Sicilian}{Proficient user }
cvitem{Italian}{Independent user}
cvitem{Spanish}{Living the vida loca}

section{A set of skills}
subsection{First subset}
cvlistdoubleitem{First}{Second}
cvlistdoubleitem{Third}{Fourth}
cvlistdoubleitem{Here is}{two more}

subsection{Second subset}
cvlistitem{Fifth}
cvlistitem{Seventh}
cvlistitem{AAAAAAAAAA}
end{multicols}
end{document}









share|improve this question









New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please see my answer ...
    – Kurt
    3 hours ago















up vote
2
down vote

favorite












I am working on my resume with the moderncv class. Since I want it to be with a two-columns page layout, I have followed the steps in this question.



What is not working fine with that layout is the lists with cvlistdoubleitem: in fact the items do not appear paired one next to the other but up and down.



This can be seen in the pic, in the First subset group (the second subset is a normal cvlistitem):





How can I fix this layout? The code I am using is the following:



documentclass[10pt,a4paper,sans]{moderncv}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{url}
usepackage{relsize}
usepackage[margin=1in]{geometry}
usepackage{multicol}
usepackage{lipsum}

moderncvstyle{classic} %classic, oldstyle, banking casual
moderncvcolor{blue} %blue orange green red purple grey black

firstname{Fat}
familyname{Tony}
title{Curriculum Vitae}

address{Somewhere in Springfield}{12345}{United States}
email{fat.tony@themob.com}
homepage{linkedin.com/in/fat.tony}

setlength{hintscolumnwidth}{2.5cm}
begin{document}
makecvtitle
lipsum[1]

setlength{hintscolumnwidth}{2.6cm}
begin{multicols}{2}
setlength{hintscolumnwidth}{0.175textwidth}
setlength{separatorcolumnwidth}{0.015textwidth}
setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
section{Personal Information}
cvitem{Nationality}{Italian American}
cvitem{Driving License}{Cars and limos}

section{Education}
cventry{1990-1995}%
{PhD in something something}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1988--1990}%
{Msc of science in another thing}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1985-1988}{Bsc in the first thing ever}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1980-1985}%
{High school of the best school diploma}%
{A high school}%
{City}%
{High grade}%
{Some description of the thing}
section{Professional experience}
cventry{1995-present}
{Mob boss}{A university}%
{City}%
{High grade}%
{Some description of the thing}

section{Languages}
cvitem{English}{Native speaker}
cvitem{Sicilian}{Proficient user }
cvitem{Italian}{Independent user}
cvitem{Spanish}{Living the vida loca}

section{A set of skills}
subsection{First subset}
cvlistdoubleitem{First}{Second}
cvlistdoubleitem{Third}{Fourth}
cvlistdoubleitem{Here is}{two more}

subsection{Second subset}
cvlistitem{Fifth}
cvlistitem{Seventh}
cvlistitem{AAAAAAAAAA}
end{multicols}
end{document}









share|improve this question









New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please see my answer ...
    – Kurt
    3 hours ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am working on my resume with the moderncv class. Since I want it to be with a two-columns page layout, I have followed the steps in this question.



What is not working fine with that layout is the lists with cvlistdoubleitem: in fact the items do not appear paired one next to the other but up and down.



This can be seen in the pic, in the First subset group (the second subset is a normal cvlistitem):





How can I fix this layout? The code I am using is the following:



documentclass[10pt,a4paper,sans]{moderncv}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{url}
usepackage{relsize}
usepackage[margin=1in]{geometry}
usepackage{multicol}
usepackage{lipsum}

moderncvstyle{classic} %classic, oldstyle, banking casual
moderncvcolor{blue} %blue orange green red purple grey black

firstname{Fat}
familyname{Tony}
title{Curriculum Vitae}

address{Somewhere in Springfield}{12345}{United States}
email{fat.tony@themob.com}
homepage{linkedin.com/in/fat.tony}

setlength{hintscolumnwidth}{2.5cm}
begin{document}
makecvtitle
lipsum[1]

setlength{hintscolumnwidth}{2.6cm}
begin{multicols}{2}
setlength{hintscolumnwidth}{0.175textwidth}
setlength{separatorcolumnwidth}{0.015textwidth}
setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
section{Personal Information}
cvitem{Nationality}{Italian American}
cvitem{Driving License}{Cars and limos}

section{Education}
cventry{1990-1995}%
{PhD in something something}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1988--1990}%
{Msc of science in another thing}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1985-1988}{Bsc in the first thing ever}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1980-1985}%
{High school of the best school diploma}%
{A high school}%
{City}%
{High grade}%
{Some description of the thing}
section{Professional experience}
cventry{1995-present}
{Mob boss}{A university}%
{City}%
{High grade}%
{Some description of the thing}

section{Languages}
cvitem{English}{Native speaker}
cvitem{Sicilian}{Proficient user }
cvitem{Italian}{Independent user}
cvitem{Spanish}{Living the vida loca}

section{A set of skills}
subsection{First subset}
cvlistdoubleitem{First}{Second}
cvlistdoubleitem{Third}{Fourth}
cvlistdoubleitem{Here is}{two more}

subsection{Second subset}
cvlistitem{Fifth}
cvlistitem{Seventh}
cvlistitem{AAAAAAAAAA}
end{multicols}
end{document}









share|improve this question









New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am working on my resume with the moderncv class. Since I want it to be with a two-columns page layout, I have followed the steps in this question.



What is not working fine with that layout is the lists with cvlistdoubleitem: in fact the items do not appear paired one next to the other but up and down.



This can be seen in the pic, in the First subset group (the second subset is a normal cvlistitem):





How can I fix this layout? The code I am using is the following:



documentclass[10pt,a4paper,sans]{moderncv}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{url}
usepackage{relsize}
usepackage[margin=1in]{geometry}
usepackage{multicol}
usepackage{lipsum}

moderncvstyle{classic} %classic, oldstyle, banking casual
moderncvcolor{blue} %blue orange green red purple grey black

firstname{Fat}
familyname{Tony}
title{Curriculum Vitae}

address{Somewhere in Springfield}{12345}{United States}
email{fat.tony@themob.com}
homepage{linkedin.com/in/fat.tony}

setlength{hintscolumnwidth}{2.5cm}
begin{document}
makecvtitle
lipsum[1]

setlength{hintscolumnwidth}{2.6cm}
begin{multicols}{2}
setlength{hintscolumnwidth}{0.175textwidth}
setlength{separatorcolumnwidth}{0.015textwidth}
setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
section{Personal Information}
cvitem{Nationality}{Italian American}
cvitem{Driving License}{Cars and limos}

section{Education}
cventry{1990-1995}%
{PhD in something something}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1988--1990}%
{Msc of science in another thing}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1985-1988}{Bsc in the first thing ever}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1980-1985}%
{High school of the best school diploma}%
{A high school}%
{City}%
{High grade}%
{Some description of the thing}
section{Professional experience}
cventry{1995-present}
{Mob boss}{A university}%
{City}%
{High grade}%
{Some description of the thing}

section{Languages}
cvitem{English}{Native speaker}
cvitem{Sicilian}{Proficient user }
cvitem{Italian}{Independent user}
cvitem{Spanish}{Living the vida loca}

section{A set of skills}
subsection{First subset}
cvlistdoubleitem{First}{Second}
cvlistdoubleitem{Third}{Fourth}
cvlistdoubleitem{Here is}{two more}

subsection{Second subset}
cvlistitem{Fifth}
cvlistitem{Seventh}
cvlistitem{AAAAAAAAAA}
end{multicols}
end{document}






moderncv cv






share|improve this question









New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago









Kurt

34.6k846157




34.6k846157






New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









GGiacomo

132




132




New contributor




GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






GGiacomo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Please see my answer ...
    – Kurt
    3 hours ago


















  • Please see my answer ...
    – Kurt
    3 hours ago
















Please see my answer ...
– Kurt
3 hours ago




Please see my answer ...
– Kurt
3 hours ago










2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










Edit: I've updated my answer with a modified cvlistdoubleitem command.



The modernCV class (v2.0.0) uses the following definition for cvlistdoubleitem:



renewcommand*{cvlistdoubleitem}[3][.25em]{%
cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
hfill% fill of separatorcolumnwidth
ifthenelse{equal{#3}{}}%
{}%
{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


The hfill in there and the minipage with listdoubleitemcolumnwidth seem problematic for your two-column layout. I've modified the command, creating cvlistdoubleitemnew:



LaTeX



documentclass[10pt,a4paper,sans]{moderncv}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{url}
usepackage{relsize}
usepackage[margin=1in]{geometry}
usepackage{multicol}
usepackage{lipsum}

moderncvstyle{classic} %classic, oldstyle, banking casual
moderncvcolor{blue} %blue orange green red purple grey black

firstname{Fat}
familyname{Tony}
title{Curriculum Vitae}

address{Somewhere in Springfield}{12345}{United States}
email{fat.tony@themob.com}
homepage{linkedin.com/in/fat.tony}

% copied from moderncvbodyi.sty
newcommand{cvlistdoubleitemnew}[3][.25em]{%
cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#2end{minipage}%
ifthenelse{equal{#3}{}}%
{}%
{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#3end{minipage}}}}

begin{document}
makecvtitle
lipsum[1]

begin{multicols}{2}
setlength{hintscolumnwidth}{0.175textwidth}
setlength{separatorcolumnwidth}{0.015textwidth}
setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
section{Personal Information}
cvitem{Nationality}{Italian American}
cvitem{Driving License}{Cars and limos}

section{Education}
cventry{1990-1995}%
{PhD in something something}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1988--1990}%
{Msc of science in another thing}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1985-1988}{Bsc in the first thing ever}%
{A university}%
{City}%
{High grade}%
{Some description of the thing}

cventry{1980-1985}%
{High school of the best school diploma}%
{A high school}%
{City}%
{High grade}%
{Some description of the thing}
section{Professional experience}
cventry{1995-present}
{Mob boss}{A university}%
{City}%
{High grade}%
{Some description of the thing}

section{Languages}
cvitem{English}{Native speaker}
cvitem{Sicilian}{Proficient user }
cvitem{Italian}{Independent user}
cvitem{Spanish}{Living the vida loca}

section{A set of skills}
subsection{First subset}
cvlistdoubleitemnew{First}{Second}
cvlistdoubleitemnew{Third}{Fourth}
cvlistdoubleitemnew{Here is}{two more}

subsection{Second subset}
cvlistitem{Fifth}
cvlistitem{Seventh}
cvlistitem{AAAAAAAAAA}
end{multicols}
end{document}





share|improve this answer






























    up vote
    0
    down vote













    The problem here is the definition of command cvlistdoubleitem:



    renewcommand*{cvlistdoubleitem}[3][.25em]{%
    cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
    hfill% fill of separatorcolumnwidth
    ifthenelse{equal{#3}{}}%
    {}%
    {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


    The used length listdoubleitemcolumnwidth depends on length maincolumnwidth as you can see from the definitions in file moderncvbodyi.sty:



      setlength{maincolumnwidth}{textwidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}%
    setlength{listitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth}%
    setlength{doubleitemcolumnwidth}{maincolumnwidth-hintscolumnwidth-separatorcolumnwidth-separatorcolumnwidth}%
    setlength{doubleitemcolumnwidth}{0.5doubleitemcolumnwidth}%
    setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}%
    setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth}%


    So you simply need to add the both definition for length listdoubleitemcolumnwidth after you defined the other length after starting environment multicols (see the added two lines to your code marked with <=========, scroll to the right to see both):



    begin{multicols}{2}
    setlength{hintscolumnwidth}{0.175textwidth}
    setlength{separatorcolumnwidth}{0.015textwidth}
    setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
    setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
    setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================


    So at last you have to follow the advice in your linked question:




    For different commands, you might have to tweak different lengths, and
    you might have to fiddle around to get a pleasing result.




    In your case you need to add a corrected length listdoubleitemcolumnwidth after starting multicols.



    The following complete MWE



    documentclass[10pt,a4paper,sans]{moderncv}

    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[english]{babel}
    usepackage{url}
    usepackage{relsize}
    usepackage[margin=1in]{geometry}
    usepackage{multicol}
    usepackage{lipsum}

    moderncvstyle{classic} %classic, oldstyle, banking casual
    moderncvcolor{blue} %blue orange green red purple grey black

    firstname{Fat}
    familyname{Tony}
    title{Curriculum Vitae}

    address{Somewhere in Springfield}{12345}{United States}
    email{fat.tony@themob.com}
    homepage{linkedin.com/in/fat.tony}

    % copied from moderncvbodyi.sty
    %renewcommand*{cvlistdoubleitem}[3][.25em]{%
    %cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
    %hfill% fill of separatorcolumnwidth
    %ifthenelse{equal{#3}{}}%
    %{}%
    %{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


    begin{document}

    makecvtitle
    lipsum[1]

    begin{multicols}{2}
    setlength{hintscolumnwidth}{0.175textwidth}
    setlength{separatorcolumnwidth}{0.015textwidth}
    setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
    setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
    setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================

    section{Personal Information}
    cvitem{Nationality}{Italian American}
    cvitem{Driving License}{Cars and limos}

    section{Education}
    cventry{1990-1995}%
    {PhD in something something}%
    {A university}%
    {City}%
    {High grade}%
    {Some description of the thing}

    cventry{1988--1990}%
    {Msc of science in another thing}%
    {A university}%
    {City}%
    {High grade}%
    {Some description of the thing}

    cventry{1985-1988}{Bsc in the first thing ever}%
    {A university}%
    {City}%
    {High grade}%
    {Some description of the thing}

    cventry{1980-1985}%
    {High school of the best school diploma}%
    {A high school}%
    {City}%
    {High grade}%
    {Some description of the thing}
    section{Professional experience}
    cventry{1995-present}
    {Mob boss}{A university}%
    {City}%
    {High grade}%
    {Some description of the thing}

    section{Languages}
    cvitem{English}{Native speaker}
    cvitem{Sicilian}{Proficient user }
    cvitem{Italian}{Independent user}
    cvitem{Spanish}{Living the vida loca}

    section{A set of skills}
    subsection{First subset}
    cvlistdoubleitem{First}{Second}
    cvlistdoubleitem{Third}{Fourth}
    cvlistdoubleitem{Here is}{two more}

    subsection{Second subset}
    cvlistitem{Fifth}
    cvlistitem{Seventh}
    cvlistitem{AAAAAAAAAA}
    end{multicols}
    end{document}


    you get the following wished result:



    wished resulting pdf






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "85"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });






      GGiacomo is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464142%2fusing-cvlistdoubleitem-in-combination-with-two-column-layout-in-moderncv%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote



      accepted










      Edit: I've updated my answer with a modified cvlistdoubleitem command.



      The modernCV class (v2.0.0) uses the following definition for cvlistdoubleitem:



      renewcommand*{cvlistdoubleitem}[3][.25em]{%
      cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
      hfill% fill of separatorcolumnwidth
      ifthenelse{equal{#3}{}}%
      {}%
      {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


      The hfill in there and the minipage with listdoubleitemcolumnwidth seem problematic for your two-column layout. I've modified the command, creating cvlistdoubleitemnew:



      LaTeX



      documentclass[10pt,a4paper,sans]{moderncv}

      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage[english]{babel}
      usepackage{url}
      usepackage{relsize}
      usepackage[margin=1in]{geometry}
      usepackage{multicol}
      usepackage{lipsum}

      moderncvstyle{classic} %classic, oldstyle, banking casual
      moderncvcolor{blue} %blue orange green red purple grey black

      firstname{Fat}
      familyname{Tony}
      title{Curriculum Vitae}

      address{Somewhere in Springfield}{12345}{United States}
      email{fat.tony@themob.com}
      homepage{linkedin.com/in/fat.tony}

      % copied from moderncvbodyi.sty
      newcommand{cvlistdoubleitemnew}[3][.25em]{%
      cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#2end{minipage}%
      ifthenelse{equal{#3}{}}%
      {}%
      {listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#3end{minipage}}}}

      begin{document}
      makecvtitle
      lipsum[1]

      begin{multicols}{2}
      setlength{hintscolumnwidth}{0.175textwidth}
      setlength{separatorcolumnwidth}{0.015textwidth}
      setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
      section{Personal Information}
      cvitem{Nationality}{Italian American}
      cvitem{Driving License}{Cars and limos}

      section{Education}
      cventry{1990-1995}%
      {PhD in something something}%
      {A university}%
      {City}%
      {High grade}%
      {Some description of the thing}

      cventry{1988--1990}%
      {Msc of science in another thing}%
      {A university}%
      {City}%
      {High grade}%
      {Some description of the thing}

      cventry{1985-1988}{Bsc in the first thing ever}%
      {A university}%
      {City}%
      {High grade}%
      {Some description of the thing}

      cventry{1980-1985}%
      {High school of the best school diploma}%
      {A high school}%
      {City}%
      {High grade}%
      {Some description of the thing}
      section{Professional experience}
      cventry{1995-present}
      {Mob boss}{A university}%
      {City}%
      {High grade}%
      {Some description of the thing}

      section{Languages}
      cvitem{English}{Native speaker}
      cvitem{Sicilian}{Proficient user }
      cvitem{Italian}{Independent user}
      cvitem{Spanish}{Living the vida loca}

      section{A set of skills}
      subsection{First subset}
      cvlistdoubleitemnew{First}{Second}
      cvlistdoubleitemnew{Third}{Fourth}
      cvlistdoubleitemnew{Here is}{two more}

      subsection{Second subset}
      cvlistitem{Fifth}
      cvlistitem{Seventh}
      cvlistitem{AAAAAAAAAA}
      end{multicols}
      end{document}





      share|improve this answer



























        up vote
        0
        down vote



        accepted










        Edit: I've updated my answer with a modified cvlistdoubleitem command.



        The modernCV class (v2.0.0) uses the following definition for cvlistdoubleitem:



        renewcommand*{cvlistdoubleitem}[3][.25em]{%
        cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
        hfill% fill of separatorcolumnwidth
        ifthenelse{equal{#3}{}}%
        {}%
        {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


        The hfill in there and the minipage with listdoubleitemcolumnwidth seem problematic for your two-column layout. I've modified the command, creating cvlistdoubleitemnew:



        LaTeX



        documentclass[10pt,a4paper,sans]{moderncv}

        usepackage[T1]{fontenc}
        usepackage[utf8]{inputenc}
        usepackage[english]{babel}
        usepackage{url}
        usepackage{relsize}
        usepackage[margin=1in]{geometry}
        usepackage{multicol}
        usepackage{lipsum}

        moderncvstyle{classic} %classic, oldstyle, banking casual
        moderncvcolor{blue} %blue orange green red purple grey black

        firstname{Fat}
        familyname{Tony}
        title{Curriculum Vitae}

        address{Somewhere in Springfield}{12345}{United States}
        email{fat.tony@themob.com}
        homepage{linkedin.com/in/fat.tony}

        % copied from moderncvbodyi.sty
        newcommand{cvlistdoubleitemnew}[3][.25em]{%
        cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#2end{minipage}%
        ifthenelse{equal{#3}{}}%
        {}%
        {listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#3end{minipage}}}}

        begin{document}
        makecvtitle
        lipsum[1]

        begin{multicols}{2}
        setlength{hintscolumnwidth}{0.175textwidth}
        setlength{separatorcolumnwidth}{0.015textwidth}
        setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
        section{Personal Information}
        cvitem{Nationality}{Italian American}
        cvitem{Driving License}{Cars and limos}

        section{Education}
        cventry{1990-1995}%
        {PhD in something something}%
        {A university}%
        {City}%
        {High grade}%
        {Some description of the thing}

        cventry{1988--1990}%
        {Msc of science in another thing}%
        {A university}%
        {City}%
        {High grade}%
        {Some description of the thing}

        cventry{1985-1988}{Bsc in the first thing ever}%
        {A university}%
        {City}%
        {High grade}%
        {Some description of the thing}

        cventry{1980-1985}%
        {High school of the best school diploma}%
        {A high school}%
        {City}%
        {High grade}%
        {Some description of the thing}
        section{Professional experience}
        cventry{1995-present}
        {Mob boss}{A university}%
        {City}%
        {High grade}%
        {Some description of the thing}

        section{Languages}
        cvitem{English}{Native speaker}
        cvitem{Sicilian}{Proficient user }
        cvitem{Italian}{Independent user}
        cvitem{Spanish}{Living the vida loca}

        section{A set of skills}
        subsection{First subset}
        cvlistdoubleitemnew{First}{Second}
        cvlistdoubleitemnew{Third}{Fourth}
        cvlistdoubleitemnew{Here is}{two more}

        subsection{Second subset}
        cvlistitem{Fifth}
        cvlistitem{Seventh}
        cvlistitem{AAAAAAAAAA}
        end{multicols}
        end{document}





        share|improve this answer

























          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Edit: I've updated my answer with a modified cvlistdoubleitem command.



          The modernCV class (v2.0.0) uses the following definition for cvlistdoubleitem:



          renewcommand*{cvlistdoubleitem}[3][.25em]{%
          cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
          hfill% fill of separatorcolumnwidth
          ifthenelse{equal{#3}{}}%
          {}%
          {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


          The hfill in there and the minipage with listdoubleitemcolumnwidth seem problematic for your two-column layout. I've modified the command, creating cvlistdoubleitemnew:



          LaTeX



          documentclass[10pt,a4paper,sans]{moderncv}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage[english]{babel}
          usepackage{url}
          usepackage{relsize}
          usepackage[margin=1in]{geometry}
          usepackage{multicol}
          usepackage{lipsum}

          moderncvstyle{classic} %classic, oldstyle, banking casual
          moderncvcolor{blue} %blue orange green red purple grey black

          firstname{Fat}
          familyname{Tony}
          title{Curriculum Vitae}

          address{Somewhere in Springfield}{12345}{United States}
          email{fat.tony@themob.com}
          homepage{linkedin.com/in/fat.tony}

          % copied from moderncvbodyi.sty
          newcommand{cvlistdoubleitemnew}[3][.25em]{%
          cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#2end{minipage}%
          ifthenelse{equal{#3}{}}%
          {}%
          {listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#3end{minipage}}}}

          begin{document}
          makecvtitle
          lipsum[1]

          begin{multicols}{2}
          setlength{hintscolumnwidth}{0.175textwidth}
          setlength{separatorcolumnwidth}{0.015textwidth}
          setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
          section{Personal Information}
          cvitem{Nationality}{Italian American}
          cvitem{Driving License}{Cars and limos}

          section{Education}
          cventry{1990-1995}%
          {PhD in something something}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1988--1990}%
          {Msc of science in another thing}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1985-1988}{Bsc in the first thing ever}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1980-1985}%
          {High school of the best school diploma}%
          {A high school}%
          {City}%
          {High grade}%
          {Some description of the thing}
          section{Professional experience}
          cventry{1995-present}
          {Mob boss}{A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          section{Languages}
          cvitem{English}{Native speaker}
          cvitem{Sicilian}{Proficient user }
          cvitem{Italian}{Independent user}
          cvitem{Spanish}{Living the vida loca}

          section{A set of skills}
          subsection{First subset}
          cvlistdoubleitemnew{First}{Second}
          cvlistdoubleitemnew{Third}{Fourth}
          cvlistdoubleitemnew{Here is}{two more}

          subsection{Second subset}
          cvlistitem{Fifth}
          cvlistitem{Seventh}
          cvlistitem{AAAAAAAAAA}
          end{multicols}
          end{document}





          share|improve this answer














          Edit: I've updated my answer with a modified cvlistdoubleitem command.



          The modernCV class (v2.0.0) uses the following definition for cvlistdoubleitem:



          renewcommand*{cvlistdoubleitem}[3][.25em]{%
          cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
          hfill% fill of separatorcolumnwidth
          ifthenelse{equal{#3}{}}%
          {}%
          {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


          The hfill in there and the minipage with listdoubleitemcolumnwidth seem problematic for your two-column layout. I've modified the command, creating cvlistdoubleitemnew:



          LaTeX



          documentclass[10pt,a4paper,sans]{moderncv}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage[english]{babel}
          usepackage{url}
          usepackage{relsize}
          usepackage[margin=1in]{geometry}
          usepackage{multicol}
          usepackage{lipsum}

          moderncvstyle{classic} %classic, oldstyle, banking casual
          moderncvcolor{blue} %blue orange green red purple grey black

          firstname{Fat}
          familyname{Tony}
          title{Curriculum Vitae}

          address{Somewhere in Springfield}{12345}{United States}
          email{fat.tony@themob.com}
          homepage{linkedin.com/in/fat.tony}

          % copied from moderncvbodyi.sty
          newcommand{cvlistdoubleitemnew}[3][.25em]{%
          cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#2end{minipage}%
          ifthenelse{equal{#3}{}}%
          {}%
          {listitemsymbolbegin{minipage}[t]{0.4listdoubleitemcolumnwidth}#3end{minipage}}}}

          begin{document}
          makecvtitle
          lipsum[1]

          begin{multicols}{2}
          setlength{hintscolumnwidth}{0.175textwidth}
          setlength{separatorcolumnwidth}{0.015textwidth}
          setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
          section{Personal Information}
          cvitem{Nationality}{Italian American}
          cvitem{Driving License}{Cars and limos}

          section{Education}
          cventry{1990-1995}%
          {PhD in something something}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1988--1990}%
          {Msc of science in another thing}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1985-1988}{Bsc in the first thing ever}%
          {A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          cventry{1980-1985}%
          {High school of the best school diploma}%
          {A high school}%
          {City}%
          {High grade}%
          {Some description of the thing}
          section{Professional experience}
          cventry{1995-present}
          {Mob boss}{A university}%
          {City}%
          {High grade}%
          {Some description of the thing}

          section{Languages}
          cvitem{English}{Native speaker}
          cvitem{Sicilian}{Proficient user }
          cvitem{Italian}{Independent user}
          cvitem{Spanish}{Living the vida loca}

          section{A set of skills}
          subsection{First subset}
          cvlistdoubleitemnew{First}{Second}
          cvlistdoubleitemnew{Third}{Fourth}
          cvlistdoubleitemnew{Here is}{two more}

          subsection{Second subset}
          cvlistitem{Fifth}
          cvlistitem{Seventh}
          cvlistitem{AAAAAAAAAA}
          end{multicols}
          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 8 hours ago

























          answered 9 hours ago









          chrisma

          798416




          798416






















              up vote
              0
              down vote













              The problem here is the definition of command cvlistdoubleitem:



              renewcommand*{cvlistdoubleitem}[3][.25em]{%
              cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
              hfill% fill of separatorcolumnwidth
              ifthenelse{equal{#3}{}}%
              {}%
              {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


              The used length listdoubleitemcolumnwidth depends on length maincolumnwidth as you can see from the definitions in file moderncvbodyi.sty:



                setlength{maincolumnwidth}{textwidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}%
              setlength{listitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth}%
              setlength{doubleitemcolumnwidth}{maincolumnwidth-hintscolumnwidth-separatorcolumnwidth-separatorcolumnwidth}%
              setlength{doubleitemcolumnwidth}{0.5doubleitemcolumnwidth}%
              setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}%
              setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth}%


              So you simply need to add the both definition for length listdoubleitemcolumnwidth after you defined the other length after starting environment multicols (see the added two lines to your code marked with <=========, scroll to the right to see both):



              begin{multicols}{2}
              setlength{hintscolumnwidth}{0.175textwidth}
              setlength{separatorcolumnwidth}{0.015textwidth}
              setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
              setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
              setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================


              So at last you have to follow the advice in your linked question:




              For different commands, you might have to tweak different lengths, and
              you might have to fiddle around to get a pleasing result.




              In your case you need to add a corrected length listdoubleitemcolumnwidth after starting multicols.



              The following complete MWE



              documentclass[10pt,a4paper,sans]{moderncv}

              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage[english]{babel}
              usepackage{url}
              usepackage{relsize}
              usepackage[margin=1in]{geometry}
              usepackage{multicol}
              usepackage{lipsum}

              moderncvstyle{classic} %classic, oldstyle, banking casual
              moderncvcolor{blue} %blue orange green red purple grey black

              firstname{Fat}
              familyname{Tony}
              title{Curriculum Vitae}

              address{Somewhere in Springfield}{12345}{United States}
              email{fat.tony@themob.com}
              homepage{linkedin.com/in/fat.tony}

              % copied from moderncvbodyi.sty
              %renewcommand*{cvlistdoubleitem}[3][.25em]{%
              %cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
              %hfill% fill of separatorcolumnwidth
              %ifthenelse{equal{#3}{}}%
              %{}%
              %{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


              begin{document}

              makecvtitle
              lipsum[1]

              begin{multicols}{2}
              setlength{hintscolumnwidth}{0.175textwidth}
              setlength{separatorcolumnwidth}{0.015textwidth}
              setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
              setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
              setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================

              section{Personal Information}
              cvitem{Nationality}{Italian American}
              cvitem{Driving License}{Cars and limos}

              section{Education}
              cventry{1990-1995}%
              {PhD in something something}%
              {A university}%
              {City}%
              {High grade}%
              {Some description of the thing}

              cventry{1988--1990}%
              {Msc of science in another thing}%
              {A university}%
              {City}%
              {High grade}%
              {Some description of the thing}

              cventry{1985-1988}{Bsc in the first thing ever}%
              {A university}%
              {City}%
              {High grade}%
              {Some description of the thing}

              cventry{1980-1985}%
              {High school of the best school diploma}%
              {A high school}%
              {City}%
              {High grade}%
              {Some description of the thing}
              section{Professional experience}
              cventry{1995-present}
              {Mob boss}{A university}%
              {City}%
              {High grade}%
              {Some description of the thing}

              section{Languages}
              cvitem{English}{Native speaker}
              cvitem{Sicilian}{Proficient user }
              cvitem{Italian}{Independent user}
              cvitem{Spanish}{Living the vida loca}

              section{A set of skills}
              subsection{First subset}
              cvlistdoubleitem{First}{Second}
              cvlistdoubleitem{Third}{Fourth}
              cvlistdoubleitem{Here is}{two more}

              subsection{Second subset}
              cvlistitem{Fifth}
              cvlistitem{Seventh}
              cvlistitem{AAAAAAAAAA}
              end{multicols}
              end{document}


              you get the following wished result:



              wished resulting pdf






              share|improve this answer

























                up vote
                0
                down vote













                The problem here is the definition of command cvlistdoubleitem:



                renewcommand*{cvlistdoubleitem}[3][.25em]{%
                cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                hfill% fill of separatorcolumnwidth
                ifthenelse{equal{#3}{}}%
                {}%
                {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                The used length listdoubleitemcolumnwidth depends on length maincolumnwidth as you can see from the definitions in file moderncvbodyi.sty:



                  setlength{maincolumnwidth}{textwidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}%
                setlength{listitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth}%
                setlength{doubleitemcolumnwidth}{maincolumnwidth-hintscolumnwidth-separatorcolumnwidth-separatorcolumnwidth}%
                setlength{doubleitemcolumnwidth}{0.5doubleitemcolumnwidth}%
                setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}%
                setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth}%


                So you simply need to add the both definition for length listdoubleitemcolumnwidth after you defined the other length after starting environment multicols (see the added two lines to your code marked with <=========, scroll to the right to see both):



                begin{multicols}{2}
                setlength{hintscolumnwidth}{0.175textwidth}
                setlength{separatorcolumnwidth}{0.015textwidth}
                setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================


                So at last you have to follow the advice in your linked question:




                For different commands, you might have to tweak different lengths, and
                you might have to fiddle around to get a pleasing result.




                In your case you need to add a corrected length listdoubleitemcolumnwidth after starting multicols.



                The following complete MWE



                documentclass[10pt,a4paper,sans]{moderncv}

                usepackage[T1]{fontenc}
                usepackage[utf8]{inputenc}
                usepackage[english]{babel}
                usepackage{url}
                usepackage{relsize}
                usepackage[margin=1in]{geometry}
                usepackage{multicol}
                usepackage{lipsum}

                moderncvstyle{classic} %classic, oldstyle, banking casual
                moderncvcolor{blue} %blue orange green red purple grey black

                firstname{Fat}
                familyname{Tony}
                title{Curriculum Vitae}

                address{Somewhere in Springfield}{12345}{United States}
                email{fat.tony@themob.com}
                homepage{linkedin.com/in/fat.tony}

                % copied from moderncvbodyi.sty
                %renewcommand*{cvlistdoubleitem}[3][.25em]{%
                %cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                %hfill% fill of separatorcolumnwidth
                %ifthenelse{equal{#3}{}}%
                %{}%
                %{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                begin{document}

                makecvtitle
                lipsum[1]

                begin{multicols}{2}
                setlength{hintscolumnwidth}{0.175textwidth}
                setlength{separatorcolumnwidth}{0.015textwidth}
                setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================

                section{Personal Information}
                cvitem{Nationality}{Italian American}
                cvitem{Driving License}{Cars and limos}

                section{Education}
                cventry{1990-1995}%
                {PhD in something something}%
                {A university}%
                {City}%
                {High grade}%
                {Some description of the thing}

                cventry{1988--1990}%
                {Msc of science in another thing}%
                {A university}%
                {City}%
                {High grade}%
                {Some description of the thing}

                cventry{1985-1988}{Bsc in the first thing ever}%
                {A university}%
                {City}%
                {High grade}%
                {Some description of the thing}

                cventry{1980-1985}%
                {High school of the best school diploma}%
                {A high school}%
                {City}%
                {High grade}%
                {Some description of the thing}
                section{Professional experience}
                cventry{1995-present}
                {Mob boss}{A university}%
                {City}%
                {High grade}%
                {Some description of the thing}

                section{Languages}
                cvitem{English}{Native speaker}
                cvitem{Sicilian}{Proficient user }
                cvitem{Italian}{Independent user}
                cvitem{Spanish}{Living the vida loca}

                section{A set of skills}
                subsection{First subset}
                cvlistdoubleitem{First}{Second}
                cvlistdoubleitem{Third}{Fourth}
                cvlistdoubleitem{Here is}{two more}

                subsection{Second subset}
                cvlistitem{Fifth}
                cvlistitem{Seventh}
                cvlistitem{AAAAAAAAAA}
                end{multicols}
                end{document}


                you get the following wished result:



                wished resulting pdf






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The problem here is the definition of command cvlistdoubleitem:



                  renewcommand*{cvlistdoubleitem}[3][.25em]{%
                  cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                  hfill% fill of separatorcolumnwidth
                  ifthenelse{equal{#3}{}}%
                  {}%
                  {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                  The used length listdoubleitemcolumnwidth depends on length maincolumnwidth as you can see from the definitions in file moderncvbodyi.sty:



                    setlength{maincolumnwidth}{textwidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}%
                  setlength{listitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth}%
                  setlength{doubleitemcolumnwidth}{maincolumnwidth-hintscolumnwidth-separatorcolumnwidth-separatorcolumnwidth}%
                  setlength{doubleitemcolumnwidth}{0.5doubleitemcolumnwidth}%
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}%
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth}%


                  So you simply need to add the both definition for length listdoubleitemcolumnwidth after you defined the other length after starting environment multicols (see the added two lines to your code marked with <=========, scroll to the right to see both):



                  begin{multicols}{2}
                  setlength{hintscolumnwidth}{0.175textwidth}
                  setlength{separatorcolumnwidth}{0.015textwidth}
                  setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================


                  So at last you have to follow the advice in your linked question:




                  For different commands, you might have to tweak different lengths, and
                  you might have to fiddle around to get a pleasing result.




                  In your case you need to add a corrected length listdoubleitemcolumnwidth after starting multicols.



                  The following complete MWE



                  documentclass[10pt,a4paper,sans]{moderncv}

                  usepackage[T1]{fontenc}
                  usepackage[utf8]{inputenc}
                  usepackage[english]{babel}
                  usepackage{url}
                  usepackage{relsize}
                  usepackage[margin=1in]{geometry}
                  usepackage{multicol}
                  usepackage{lipsum}

                  moderncvstyle{classic} %classic, oldstyle, banking casual
                  moderncvcolor{blue} %blue orange green red purple grey black

                  firstname{Fat}
                  familyname{Tony}
                  title{Curriculum Vitae}

                  address{Somewhere in Springfield}{12345}{United States}
                  email{fat.tony@themob.com}
                  homepage{linkedin.com/in/fat.tony}

                  % copied from moderncvbodyi.sty
                  %renewcommand*{cvlistdoubleitem}[3][.25em]{%
                  %cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                  %hfill% fill of separatorcolumnwidth
                  %ifthenelse{equal{#3}{}}%
                  %{}%
                  %{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                  begin{document}

                  makecvtitle
                  lipsum[1]

                  begin{multicols}{2}
                  setlength{hintscolumnwidth}{0.175textwidth}
                  setlength{separatorcolumnwidth}{0.015textwidth}
                  setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================

                  section{Personal Information}
                  cvitem{Nationality}{Italian American}
                  cvitem{Driving License}{Cars and limos}

                  section{Education}
                  cventry{1990-1995}%
                  {PhD in something something}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1988--1990}%
                  {Msc of science in another thing}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1985-1988}{Bsc in the first thing ever}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1980-1985}%
                  {High school of the best school diploma}%
                  {A high school}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}
                  section{Professional experience}
                  cventry{1995-present}
                  {Mob boss}{A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  section{Languages}
                  cvitem{English}{Native speaker}
                  cvitem{Sicilian}{Proficient user }
                  cvitem{Italian}{Independent user}
                  cvitem{Spanish}{Living the vida loca}

                  section{A set of skills}
                  subsection{First subset}
                  cvlistdoubleitem{First}{Second}
                  cvlistdoubleitem{Third}{Fourth}
                  cvlistdoubleitem{Here is}{two more}

                  subsection{Second subset}
                  cvlistitem{Fifth}
                  cvlistitem{Seventh}
                  cvlistitem{AAAAAAAAAA}
                  end{multicols}
                  end{document}


                  you get the following wished result:



                  wished resulting pdf






                  share|improve this answer












                  The problem here is the definition of command cvlistdoubleitem:



                  renewcommand*{cvlistdoubleitem}[3][.25em]{%
                  cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                  hfill% fill of separatorcolumnwidth
                  ifthenelse{equal{#3}{}}%
                  {}%
                  {listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                  The used length listdoubleitemcolumnwidth depends on length maincolumnwidth as you can see from the definitions in file moderncvbodyi.sty:



                    setlength{maincolumnwidth}{textwidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}%
                  setlength{listitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth}%
                  setlength{doubleitemcolumnwidth}{maincolumnwidth-hintscolumnwidth-separatorcolumnwidth-separatorcolumnwidth}%
                  setlength{doubleitemcolumnwidth}{0.5doubleitemcolumnwidth}%
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}%
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth}%


                  So you simply need to add the both definition for length listdoubleitemcolumnwidth after you defined the other length after starting environment multicols (see the added two lines to your code marked with <=========, scroll to the right to see both):



                  begin{multicols}{2}
                  setlength{hintscolumnwidth}{0.175textwidth}
                  setlength{separatorcolumnwidth}{0.015textwidth}
                  setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================


                  So at last you have to follow the advice in your linked question:




                  For different commands, you might have to tweak different lengths, and
                  you might have to fiddle around to get a pleasing result.




                  In your case you need to add a corrected length listdoubleitemcolumnwidth after starting multicols.



                  The following complete MWE



                  documentclass[10pt,a4paper,sans]{moderncv}

                  usepackage[T1]{fontenc}
                  usepackage[utf8]{inputenc}
                  usepackage[english]{babel}
                  usepackage{url}
                  usepackage{relsize}
                  usepackage[margin=1in]{geometry}
                  usepackage{multicol}
                  usepackage{lipsum}

                  moderncvstyle{classic} %classic, oldstyle, banking casual
                  moderncvcolor{blue} %blue orange green red purple grey black

                  firstname{Fat}
                  familyname{Tony}
                  title{Curriculum Vitae}

                  address{Somewhere in Springfield}{12345}{United States}
                  email{fat.tony@themob.com}
                  homepage{linkedin.com/in/fat.tony}

                  % copied from moderncvbodyi.sty
                  %renewcommand*{cvlistdoubleitem}[3][.25em]{%
                  %cvitem[#1]{}{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#2end{minipage}%
                  %hfill% fill of separatorcolumnwidth
                  %ifthenelse{equal{#3}{}}%
                  %{}%
                  %{listitemsymbolbegin{minipage}[t]{listdoubleitemcolumnwidth}#3end{minipage}}}}


                  begin{document}

                  makecvtitle
                  lipsum[1]

                  begin{multicols}{2}
                  setlength{hintscolumnwidth}{0.175textwidth}
                  setlength{separatorcolumnwidth}{0.015textwidth}
                  setlength{maincolumnwidth}{linewidth-leftskip-rightskip-separatorcolumnwidth-hintscolumnwidth}
                  setlength{listdoubleitemcolumnwidth}{maincolumnwidth-listitemsymbolwidth-separatorcolumnwidth-listitemsymbolwidth}% <================================================
                  setlength{listdoubleitemcolumnwidth}{0.5listdoubleitemcolumnwidth} % <==============================

                  section{Personal Information}
                  cvitem{Nationality}{Italian American}
                  cvitem{Driving License}{Cars and limos}

                  section{Education}
                  cventry{1990-1995}%
                  {PhD in something something}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1988--1990}%
                  {Msc of science in another thing}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1985-1988}{Bsc in the first thing ever}%
                  {A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  cventry{1980-1985}%
                  {High school of the best school diploma}%
                  {A high school}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}
                  section{Professional experience}
                  cventry{1995-present}
                  {Mob boss}{A university}%
                  {City}%
                  {High grade}%
                  {Some description of the thing}

                  section{Languages}
                  cvitem{English}{Native speaker}
                  cvitem{Sicilian}{Proficient user }
                  cvitem{Italian}{Independent user}
                  cvitem{Spanish}{Living the vida loca}

                  section{A set of skills}
                  subsection{First subset}
                  cvlistdoubleitem{First}{Second}
                  cvlistdoubleitem{Third}{Fourth}
                  cvlistdoubleitem{Here is}{two more}

                  subsection{Second subset}
                  cvlistitem{Fifth}
                  cvlistitem{Seventh}
                  cvlistitem{AAAAAAAAAA}
                  end{multicols}
                  end{document}


                  you get the following wished result:



                  wished resulting pdf







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 3 hours ago









                  Kurt

                  34.6k846157




                  34.6k846157






















                      GGiacomo is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      GGiacomo is a new contributor. Be nice, and check out our Code of Conduct.













                      GGiacomo is a new contributor. Be nice, and check out our Code of Conduct.












                      GGiacomo is a new contributor. Be nice, and check out our Code of Conduct.
















                      Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464142%2fusing-cvlistdoubleitem-in-combination-with-two-column-layout-in-moderncv%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                      Calculate evaluation metrics using cross_val_predict sklearn

                      Insert data from modal to MySQL (multiple modal on website)