So basically the question is in the title. How can I adjust the width of the part where I put info about myself? Currently it looks like this:
You see how there is weird looking break. How can I extend it so that it expands to certain width? Or so that it fits in one line?
Ok, here's the MWE that's producing the same problem:
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[green]{classic}
% character encoding
\usepackage[utf8x]{inputenc}
\usepackage[croatian]{babel}
\usepackage{ucs} % replace by the encoding you are using
% adjust the page margins
\usepackage[scale=0.8]{geometry}
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
%\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
% personal data
\firstname{John}
\familyname{Doe}
%\title{Resumé title (optional)} % optional, remove the line if not wanted
\address{Blabla place 14}{xxxxx Randomcity} % optional, remove the line if not wanted
\mobile{06548946354} % optional, remove the line if not wanted
\phone{2314864464} % optional, remove the line if not wanted
%\fax{fax (optional)} % optional, remove the line if not wanted
\email{john.doe@some.something.com} % optional, remove the line if not wanted
\homepage{http://www.somepage.com} % optional, remove the line if not wanted
%\extrainfo{additional information (optional)} % optional, remove the line if not wanted
%\photo[64pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
%\quote{Some quote (optional)} % optional, remove the line if not wanted
% to show numerical labels in the bibliography; only useful if you make citations in your resume
\makeatletter
\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
\makeatother
% bibliography with mutiple entries
%\usepackage{multibib}
%\newcites{book,misc}{{Books},{Others}}
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\maketitle
\section{Datum i mjesto rođenja}
\cventry{14.01.1955.}{Someplace}{Somecountry}{}{}{}
\section{Poznavanje jezika}
\cvlanguage{Hrvatski}{Materinji jezik}{}
\cvlanguage{Engleski}{Aktivan u jeziku i pismu}{}
\cvlanguage{Njemački}{Pasivan u jeziku i pismu}{}
\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}{}{}
\renewcommand{\listitemsymbol}{-} % change the symbol for lists
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications} % 'publications' is the name of a BibTeX file
\end{document}
Best Answer
This is because of the way
\cvcomputer
is defined. From cvmodern.cls:So let's see how
\cvdoubleitem
is defined: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:Make sure you remove the third and fourth arguments, which are empty, from your source. Your section would be like this:
BUT, why not make use of the two-column layout? Then, don't use the redefinition and just reorder the arguments: