0

Why can \glqq not be used with moderncv?

For example you can use this:

https://github.com/mliu7/latex-moderncv

the problem is: using \glqqinside the \cventry leads to compilation error

! Undefined control sequence.

Anyone knows how to solve this?

As demanded, here a minimal working example:

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

\usepackage{verbatim}

\moderncvstyle{classic}
\moderncvcolor{blue}

\usepackage[utf8]{inputenc}

\usepackage[scale=0.8]{geometry}

\firstname{name}
\familyname{name}
\begin{document}
\maketitle

\section{Education}
\cventry{2000--2010}{Some degree}
{
%\glqq
University of Narnia
%\grqq
}
{Some city, Some country}{}{}

\end{document}

uncomment \glqq to get minimal NOT working example.

  • I think babel defines that. Do you load babel? – TeXnician Jul 16 '17 at 10:30
  • Please help us (and also you) and add a minimal working example (MWE), that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass and ending with \end{document}. – Bobyandbob Jul 16 '17 at 10:31
1

Since you're asking for German quotes, I assume you want to write in German, but you can change this. The important fact is that you need to use babel.

quoted

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

\usepackage{verbatim}
\usepackage[ngerman]{babel}

\moderncvstyle{classic}
\moderncvcolor{blue}

\usepackage[utf8]{inputenc}

\usepackage[scale=0.8]{geometry}

\firstname{name}
\familyname{name}
\begin{document}
\maketitle

\section{Education}
\cventry{2000--2010}{Some degree}
{
\glqq
University of Narnia
\grqq
}
{Some city, Some country}{}{}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.