0

\name, \title and \social (basically everything before the \begin{document} line) do not appear in my document. I've tried using XeLaTex, LuaLaTex, but it does not affect the output. My code:

\documentclass[11pt,a4paper,sans]{moderncv}

\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian, english]{babel}

\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3cm}
\setlength{\makecvtitlenamewidth}{10cm}
\name{John}{Doe}
\title{Resumé title}
\social[linkedin]{john.doe} 
\social[github]{jdoe} 

1 Answer 1

2

Commands like \name{},\title and \social are preamble commands that wont make visual direct changes to the final document.

Make sure the command \maketitle is inside the document environment

1
  • Exactly this. Thanks for the solution Sep 3, 2022 at 11:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .