From 01011741f04e701186ca3d14ef503e5bbfdab5f5 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 24 Feb 2024 20:09:39 +0100 Subject: [PATCH] include amsmath in all themes --- rendercv/themes/classic/Preamble.j2.tex | 3 ++- rendercv/themes/moderncv/Preamble.j2.tex | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rendercv/themes/classic/Preamble.j2.tex b/rendercv/themes/classic/Preamble.j2.tex index 7481741..0c0666e 100644 --- a/rendercv/themes/classic/Preamble.j2.tex +++ b/rendercv/themes/classic/Preamble.j2.tex @@ -17,6 +17,7 @@ \definecolor{primaryColor}{RGB}{<>} % define primary color \usepackage{enumitem} % for customizing lists \usepackage{fontawesome5} % for using icons +\usepackage{amsmath} % for math \usepackage[ pdftitle={<>'s CV}, pdfauthor={<>}, @@ -27,7 +28,7 @@ \usepackage{calc} % for calculating lengths \usepackage{bookmark} % for bookmarks \usepackage{lastpage} % for getting the total number of pages -\usepackage[default, type1]{sourcesanspro} % for using source sans pro font +\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font \usepackage{ifthen} % Some settings: diff --git a/rendercv/themes/moderncv/Preamble.j2.tex b/rendercv/themes/moderncv/Preamble.j2.tex index d52086e..56366c1 100644 --- a/rendercv/themes/moderncv/Preamble.j2.tex +++ b/rendercv/themes/moderncv/Preamble.j2.tex @@ -15,6 +15,8 @@ \nopagenumbers{} ((* endif *)) +\usepackage{amsmath} % for math + % adjust the page margins \usepackage[scale=<>]{geometry} \setlength{\hintscolumnwidth}{<>} % if you want to change the width of the column with the dates