This is because of the way \cvcomputer
is defined. From cvmodern.cls:
% usage (inside 'computer skills' cvsection environment): \cvcomputer{category}{programs}{category}{programs}
\newcommand*{\cvcomputer}[4]{%
\cvdoubleitem{#1}{\small#2}{#3}{\small#4}}
So let's see how \cvdoubleitem
is defined:
% usage: \cvdoubleitem{subtitle}{text}{subtitle}{text}
\newcommand*{\cvdoubleitem}[4]{%
\cvline{#1}{\begin{minipage}[t]{\doubleitemmaincolumnwidth}#2\end{minipage}%
\hfill%
\begin{minipage}[t]{\hintscolumnwidth}\raggedleft\hintfont{#3}\end{minipage}\hspace*{\separatorcolumnwidth}\begin{minipage}[t]{\doubleitemmaincolumnwidth}#4\end{minipage}}}
While I didn't bother to understand all of this, the minipage
s and a look at the CTAN template tells me that this type of entry is geared toward a two-column layout, presumably because the author assumed computer entries won't be very long.
If you don't want the two-column layout, I recommend redefining \cvcomputer
like this:
\renewcommand{\cvcomputer}[2]{\cvline{#1}{\small#2}}
Make sure you remove the third and fourth arguments, which are empty, from your source. Your section would be like this:
\renewcommand{\cvcomputer}[2]{\cvline{#1}{\small#2}}
\section{Računalne vještine}
\cvcomputer{Operativni sustavi}{Windows, UNIX(Linux), izvrsno poznavanje rada operativnih sustava}
\cvcomputer{Programiranje}{Osnove rada u Phythonu}
\cvcomputer{WEB dizajn}{HTML}
\cvcomputer{Office paketi}{Znanje rada s Wordom, Excellom, Powerpointom}
\cvcomputer{Adobe}{Poznavanje rada s Adobe Photoshopom, Illustratorom i InDesignom}
\cvcomputer{Hardware}{PC, mreže}
BUT, why not make use of the two-column layout? Then, don't use the redefinition and just reorder the arguments:
\section{Računalne vještine}
\cvcomputer{Operativni sustavi}{Windows, UNIX(Linux), izvrsno poznavanje rada operativnih sustava}{Office paketi}{Znanje rada s Wordom, Excellom, Powerpointom}
\cvcomputer{Programiranje}{Osnove rada u Phythonu}{Adobe}{Poznavanje rada s Adobe Photoshopom, Illustratorom i InDesignom}
\cvcomputer{WEB dizajn}{HTML}{Hardware}{PC, mreže}
You can use \cvlistdoubleitem{Reading}{Athletics}
to have Reading in one column and the Athletics in the other. Languages are better be left alone as the current format is more descriptive IMO.
Code:
\documentclass[11pt,a4paper,sans]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman
\moderncvstyle{classic} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{orange} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\usepackage{csquotes}
\usepackage[margin=.9in,scale=0.75]{geometry} % Reduce document margins-- ,scale=0.75
\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column
\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
\firstname{Harish} % Your first name
\familyname{Kumar} % Your last name
% All information in this block is optional, comment out any lines you don't need
\title{Curriculum Vitae}
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% LANGUAGES SECTION
%----------------------------------------------------------------------------------------
\section{Languages}
\cvitemwithcomment{Tulu}{Mother tongue}{}
\cvitemwithcomment{Kannada}{Advanced}{Read, Write and Conversationally fluent}
\cvitemwithcomment{English}{Advanced}{Read, Write and Conversationally fluent}
\cvitemwithcomment{Hindi}{Advanced}{Read, Write and Conversationally fluent}
\cvitemwithcomment{Sanskrit}{Advanced}{Read, Write and Conversationally fluent}
\cvitemwithcomment{Konkani}{Basic}{Conversationally fluent}
%----------------------------------------------------------------------------------------
% INTERESTS SECTION
%----------------------------------------------------------------------------------------
\section{Interests}
\renewcommand{\listitemsymbol}{-~} % Changes the symbol used for lists
\cvlistdoubleitem{\href{http://tex.stackexchange.com/users/11232/harish-kumar}{TeX.SX}}{Chess}
\cvlistdoubleitem{Reading}{Athletics}
\cvlistdoubleitem{Yoga}{Pranayama}
\cvlistdoubleitem{Meditation}{Eating}
\cvlistitem{Not sleeping} %% This will give only one column
%----------------------------------------------------------------------------------------
\end{document}
Best Answer
Unfortunately,
\recomputecvbodylengths
derives all document's dimensions from the\textwidth
variable, not\linewidth
. The difference between these commands is that the former keeps its value the same in multicolumn mode, while the latter changes appropriately.So the following code should do the trick with minor boilerplate:
The modified
\textwidth
would be restored back to it's previous state by themulticols
environment, so there is no need to manually rescue its value.