Document Classesmoderncv | Class Documentation for its Commands

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
_samir
Posts: 5
Joined: Sun Sep 30, 2012 8:24 pm

moderncv | Class Documentation for its Commands

Post by _samir »

Hi guys.

I'm new to LaTeX and this forum. I'm working with TeXworks on Window 7. I have one simple question.

Where can I find the whole documentation for the moderncv class and its commands?

I found this:

http://texdoc.net/texmf-dist/doc/latex/moderncv/README
The moderncv documentclass need it's input to be formatted with regular
commands like:
\section,
\subsection,
\maketitle,
but also defines its own special commands:
\cventry,
\firstname,
\familyname,
Where can I see what are all the available commands and what are their arguments?

Code: Select all

\cventry{years}{degree/job title}{institution/employer}{localization}{grade}{description}
thx for any help

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

moderncv | Class Documentation for its Commands

Post by cgnieder »

Apperently moderncv has no manual/documentation?! The only things you can do I can think of are studying the code and search for examples including their source.

Regards
site moderator & package author
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

moderncv | Class Documentation for its Commands

Post by localghost »

Take a look at one of the examples.


Thorsten
_samir
Posts: 5
Joined: Sun Sep 30, 2012 8:24 pm

moderncv | Class Documentation for its Commands

Post by _samir »

Ok i tried something and i need a little bit of your help.
I have a large last name and when i add my first and last name + a picture it is broken apart in two lines
How can i have my First and last name in one line or at least

First name
Last name (but without a break ) my last name has 16 letters -.-

2.question as you can see
\section{Interesi}
\cvitem{Fotografisvegasvacega}{Amatersko fotografiranje prirode}
"fotografisvegasvacega" is written over "amatersko fotografiranje" How to change this?

3.question why cant i bold my phone number and mobile?I could bold my address but i get an error while trying to bold email and phone number.Is it because latex adds a little icon (phone ,letter)???

Code: Select all

\address{\textbf{Ulica Slobodnog Koda 48}}{6802 Kernelgrad}							% neobavezno
\mobile{+123~(2131)~5246~8090}                     							% neobavezno
\phone{+221~(3435)~6732~9031}                      							% neobavezno
\fax{+332~(4224)~7834~0134}                        							% neobavezno
\email{lpingvic@linuxzasve.com}

Code: Select all

\documentclass[11pt,a4paper]{moderncv}

\moderncvtheme[green]{classic}

% Alternativa naredbi \moderncvtheme:
% \moderncvstyle{casual} 
% \moderncvcolor{green}

% stilovi: 'casual' (default), 'classic', 'oldstyle' and 'banking'
% boje: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'


% character encoding
\usepackage[utf8]{inputenc}

% Sirina teskta u odnosu na sirinu papira
\usepackage[scale=0.8]{geometry}
\recomputelengths


\firstname{Arnold}
\familyname{A very large lastname}
\title{Životopis}               											% neobavezno
\address{\textbf{Ulica Slobodnog Koda 48}}{6802 Kernelgrad}							% neobavezno
\mobile{+123~(2131)~5246~8090}                     							% neobavezno
\phone{+221~(3435)~6732~9031}                      							% neobavezno
\fax{+332~(4224)~7834~0134}                        							% neobavezno
\email{lpingvic@linuxzasve.com}                          							% neobavezno
\homepage{www.linuxzasve.com}                    									% neobavezno
\extrainfo{Single and avaliable!}            								% neobavezno
%\photo[100pt]{penguin.jpg}                        							% '100pt' je visina na koju je slika skalirana


%----------------------------------------------------------------------------------
%            sadrzaj
%----------------------------------------------------------------------------------
\begin{document}
\maketitle


\section{Interesi}
\cvitem{Fotografisvegasvacega}{Amatersko fotografiranje prirode}
\cvitem{Nogomet}{5. zamjena u 3. županijskoj nogometnoj ligi}
\cvitem{PES}{Igram na dnevnoj bazi}


\end{document}
Kreuz Elf
Posts: 22
Joined: Thu Mar 04, 2021 7:33 pm

moderncv | Class Documentation for its Commands

Post by Kreuz Elf »

Of couse there's a documentation. It's available at http://ctan.ebinger.cc/tex-archive/macr ... rguide.pdf
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

moderncv | Class Documentation for its Commands

Post by Ijon Tichy »

8 years ago, there wasn't any documentation and even the current documentation is incomplete and more a kind of short introduction instead of a real manual.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply