moderncv: disable italicizing text by default

This commit is contained in:
Sina Atalay 2024-03-21 18:58:43 +01:00
parent d956fe8d84
commit 7fd57c9f3a
5 changed files with 37 additions and 7 deletions

View File

@ -1,4 +1,10 @@
\cventry{((* if design.show_only_years *))<<entry.date_string_only_years>>((* else *))<<entry.date_string>>((* endif *))}{((* if entry.degree != "" *))<<entry.degree>>, ((* endif *))<<entry.area>>}{<<entry.institution>>}{<<entry.location>>}{}{} \cventry{
((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*))
}{\textbf{<<entry.institution>>}}{
((*- if entry.degree != "" *))<<entry.degree>> in ((* endif *))<<entry.area->>
}{
<<-entry.location->>
}{}{}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
\cvlistitem{<<item>>} \cvlistitem{<<item>>}
((* endfor *)) ((* endfor *))

View File

@ -1,4 +1,10 @@
\cventry{((* if design.show_only_years *))<<entry.date_string_only_years>>((* else *))<<entry.date_string>>((* endif *))}{<<entry.position>>}{<<entry.company>>}{<<entry.location>>}{}{} \cventry{
((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*))
}{\textbf{<<entry.company>>}}{
<<-entry.position->>
}{
<<-entry.location->>
}{}{}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
\cvlistitem{<<item>>} \cvlistitem{<<item>>}
((* endfor *)) ((* endfor *))

View File

@ -1,4 +1,10 @@
\cventry{((* if design.show_only_years *))<<entry.date_string_only_years>>((* else *))<<entry.date_string>>((* endif *))}{<<entry.name>>}{}{<<entry.location>>}{}{} \cventry{
((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*))
}{
<<-entry.name->>
}{
<<-entry.location->>
}{}{}{}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
\cvlistitem{<<item>>} \cvlistitem{<<item>>}
((* endfor *)) ((* endfor *))

View File

@ -85,3 +85,13 @@
% \social[signal]{12345678901} % optional, remove / comment the line if not wanted % \social[signal]{12345678901} % optional, remove / comment the line if not wanted
% \social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted % \social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted
% \social[googlescholar]{googlescholarid} % optional, remove / comment the line if not wanted % \social[googlescholar]{googlescholarid} % optional, remove / comment the line if not wanted
% new command for cventry (this is done to allow users unbold or unitalicize the text in the cventry command)
\renewcommand*{\cventry}[6][.25em]{%
\cvitem[#1]{#2}{%
#3%
\ifthenelse{\equal{#4}{}}{}{, #4}%
\ifthenelse{\equal{#5}{}}{}{, #5}%
\ifthenelse{\equal{#6}{}}{}{, #6}%
}
}

View File

@ -1,6 +1,8 @@
\cventry{<<entry.date_string>>}{<<entry.title>>}{<<entry.journal>>}{ \cventry{
((*- if entry.doi != "" -*)) <<-entry.date_string->>
\href{<<entry.doi_url>>}{<<entry.doi>>} }{\textbf{<<entry.title>>}}{
((*- endif -*)) <<-entry.journal->>
}{
((*- if entry.doi != "" -*))\href{<<entry.doi_url>>}{<<entry.doi>>}((*- endif -*))
}{}{} }{}{}
\cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>} \cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>}