I am trying to write my CV. I used one of the templates, which has:
Education Entry
\newcommand{\EducationEntry}[4]{
\noindent \textbf{#1} \hfill % Study
\colorbox{Cyan}{%
\parbox{6em}{%
\hfill\color{Black}#2}} \par % Duration
\noindent \textit{#3} \par % School
\noindent\hangindent=2em\hangafter=0 \small #4 % Description
\normalsize \par}
Work Entry
\newcommand{\WorkEntry}[4]{
\noindent \textbf{#1} \hfill
\colorbox{White}{\color{Black}#2} \par
\noindent {#3} \par
\noindent\hangindent=2em\hangafter=0 \small #4
\normalsize \par}
By default, the entry for Education looks like:
\EducationEntry{Master's degree in Data Science}{2016-2018}{Higher School of Economics, Moscow}
{GPA 7.71/10.00}
I am running into compile errors Undefined control sequence for each of my entries. The packages that I am using:
\usepackage[a4paper,
left=1.5in,
right=1.5in,
top=.6in,
bottom=0in]{geometry}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{graphicx}
\usepackage[svgnames]{xcolor}
\usepackage{geometry}
\textheight=700px
\usepackage{url}
\usepackage{ragged2e}
\usepackage{fontawesome}
\usepackage{hyperref}
\usepackage{sectsty}
I assume that the problem is with defining entries structure but now I am not sure what exactly to do. Also, after I included the hyperref package the problem with compiling occurred.
UPDATE 1
My entry is equally formatted as the example above.
The error message is:
*Undefined control sequence.
The compiler is having trouble understanding a command you have used. Check that the command is spelled correctly. If the command is part of a package, make sure you have included the package in your preamble using \usepackage{...}.*
\usepackage[utf8x]{inputenc}– David Carlisle Oct 04 '22 at 16:22utf8xdoes nothing in a current release. – David Carlisle Oct 04 '22 at 16:25\documentclass{article} \usepackage[utf8x]{inputenc} \usepackage{hyperref} \begin{document} a \end{document}on Overleaf with TeXLive 2022 is giving an error. – Teepeemm Oct 04 '22 at 17:16