update tests

This commit is contained in:
Sina Atalay 2024-02-24 20:28:00 +01:00
parent 97da623650
commit e4eeb913bb
15 changed files with 22 additions and 14 deletions

View File

@ -17,6 +17,7 @@
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color \definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists \usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons \usepackage{fontawesome5} % for using icons
\usepackage{amsmath} % for math
\usepackage[ \usepackage[
pdftitle={None's CV}, pdftitle={None's CV},
pdfauthor={None}, pdfauthor={None},
@ -27,7 +28,7 @@
\usepackage{calc} % for calculating lengths \usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks \usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages \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} \usepackage{ifthen}
% Some settings: % Some settings:

View File

@ -17,6 +17,7 @@
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color \definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists \usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons \usepackage{fontawesome5} % for using icons
\usepackage{amsmath} % for math
\usepackage[ \usepackage[
pdftitle={John Doe's CV}, pdftitle={John Doe's CV},
pdfauthor={John Doe}, pdfauthor={John Doe},
@ -27,7 +28,7 @@
\usepackage{calc} % for calculating lengths \usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks \usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages \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} \usepackage{ifthen}
% Some settings: % Some settings:
@ -182,8 +183,7 @@
\vspace{0.10 cm} \vspace{0.10 cm}
\href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () \href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () &
&
Dec. 2023 Dec. 2023
\end{tabularx} \end{tabularx}
@ -197,8 +197,7 @@
\vspace{0.10 cm} \vspace{0.10 cm}
\href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () \href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () &
&
Dec. 2023 Dec. 2023
\end{tabularx} \end{tabularx}

View File

@ -12,6 +12,8 @@
\moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
\usepackage{amsmath} % for math
% adjust the page margins % adjust the page margins
\usepackage[scale=0.75]{geometry} \usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates \setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates

View File

@ -12,6 +12,8 @@
\moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
\usepackage{amsmath} % for math
% adjust the page margins % adjust the page margins
\usepackage[scale=0.75]{geometry} \usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates \setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates

View File

@ -17,6 +17,7 @@
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color \definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists \usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons \usepackage{fontawesome5} % for using icons
\usepackage{amsmath} % for math
\usepackage[ \usepackage[
pdftitle={None's CV}, pdftitle={None's CV},
pdfauthor={None}, pdfauthor={None},
@ -27,7 +28,7 @@
\usepackage{calc} % for calculating lengths \usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks \usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages \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} \usepackage{ifthen}
% Some settings: % Some settings:

View File

@ -17,6 +17,7 @@
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color \definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists \usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons \usepackage{fontawesome5} % for using icons
\usepackage{amsmath} % for math
\usepackage[ \usepackage[
pdftitle={John Doe's CV}, pdftitle={John Doe's CV},
pdfauthor={John Doe}, pdfauthor={John Doe},
@ -27,7 +28,7 @@
\usepackage{calc} % for calculating lengths \usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks \usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages \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} \usepackage{ifthen}
% Some settings: % Some settings:
@ -182,8 +183,7 @@
\vspace{0.10 cm} \vspace{0.10 cm}
\href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () \href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () &
&
Dec. 2023 Dec. 2023
\end{tabularx} \end{tabularx}
@ -197,8 +197,7 @@
\vspace{0.10 cm} \vspace{0.10 cm}
\href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () \href{https://doi.org/10.1109/TASC.2023.3340648}{10.1109/TASC.2023.3340648} () &
&
Dec. 2023 Dec. 2023
\end{tabularx} \end{tabularx}

View File

@ -12,6 +12,8 @@
\moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
\usepackage{amsmath} % for math
% adjust the page margins % adjust the page margins
\usepackage[scale=0.75]{geometry} \usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates \setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates

View File

@ -12,6 +12,8 @@
\moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
\usepackage{amsmath} % for math
% adjust the page margins % adjust the page margins
\usepackage[scale=0.75]{geometry} \usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates \setlength{\hintscolumnwidth}{3.8 cm} % if you want to change the width of the column with the dates

View File

@ -60,12 +60,12 @@ def test_escape_latex_characters(string, expected_string):
("*My* Text", "\\textit{My} Text"), ("*My* Text", "\\textit{My} Text"),
("***My*** Text", "\\textit{\\textbf{My}} Text"), ("***My*** Text", "\\textit{\\textbf{My}} Text"),
("[My](https://myurl.com) Text", "\\href{https://myurl.com}{My} Text"), ("[My](https://myurl.com) Text", "\\href{https://myurl.com}{My} Text"),
("`My` Text", "\\texttt{My} Text"), ("`My` Text", "`My` Text"),
( (
"[**My** *Text* ***Is*** `Here`](https://myurl.com)", "[**My** *Text* ***Is*** `Here`](https://myurl.com)",
( (
"\\href{https://myurl.com}{\\textbf{My} \\textit{Text}" "\\href{https://myurl.com}{\\textbf{My} \\textit{Text}"
" \\textit{\\textbf{Is}} \\texttt{Here}}" " \\textit{\\textbf{Is}} `Here`}"
), ),
), ),
], ],