کافی است در شروع سند دستور \makecvtitle
را قرار دهید تا نام، عنوان و اطلاعات تماس نمایش داده شوند. دستور بالا را بعد از \begin{document}
بنویسید.
\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{blue} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage[scale=0.75]{geometry} % Reduce document margins
\firstname{John} % Your first name
\familyname{Doe} % Your last name
\title{Curriculum Vitae}
\address{street and number}{postcode city}{country}
\mobile{(+98) 111 111 1111}
\email{jdoe@gmail.com}
\begin{document}
\makecvtitle
This is my modern CV!
\end{document}