I have read a few entries here, but I could not make any of them work for my issue.
I am trying to write a cv in LaTeX and am using a template for it. The Template uses the command "cvitem" with two entries (\cvitem {one}{two}).
But in one case, the first item is a longer word, messing up the allignment:
In the Picture you can see that the first entry exceeds the first column, but not readjusting the table, hence causing the allignment in the first column, first row being messed up. Any ideas?
Command for first row: \cvitem{Staatsangehörigkeit}{{\small{}Deutsch}}
Minimal LaTeX Code, overleaf gives me a undefined control sequence error, but compiles it just fine. The Full CV does not display such error:
%% LyX 2.1.4 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,ngerman]{moderncv}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=2cm,lmargin=2.5cm,rmargin=2.5cm}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{graphicx}
% required
\firstname{a}
% required
\familyname{b}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\moderncvtheme[blue]{classic}
\usepackage{babel}
\begin{document}
\section{Persönliche Daten}
\cvitem{Geschlecht}{{Männlich}}
\cvitem{Staatsangehörigkeit}{{\small{}Deutsch}}
\cvitem{Geschlecht2}{{Männlich2}}
\end{document}



\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – DG' Oct 12 '20 at 11:51