sb2nov: allow unbolding and unitalicizing of text

This commit is contained in:
Sina Atalay 2024-03-21 18:59:05 +01:00
parent 7fd57c9f3a
commit 7bfa3c9bb0
4 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
\resumeSubheading \resumeSubheading
{<<entry.institution>>}{<<entry.location>>} {\textbf{<<entry.institution>>}}{\textit{<<entry.location>>}}
{((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>}{<<entry.date_string>>} {\textit{((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>}}{\textit{<<entry.date_string>>}}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\resumeItemListStart \resumeItemListStart

View File

@ -1,6 +1,6 @@
\resumeSubheading \resumeSubheading
{<<entry.company>>}{<<entry.location>>} {\textbf{<<entry.company>>}}{\textit{<<entry.location>>}}
{<<entry.position>>}{<<entry.date_string>>} {\textit{<<entry.position>>}}{\textit{<<entry.date_string>>}}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\resumeItemListStart \resumeItemListStart

View File

@ -116,8 +116,8 @@
\newcommand{\resumeSubheading}[4]{ \newcommand{\resumeSubheading}[4]{
\item \item
\begin{tabularx}{0.98\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>}[t]{X R{<<design.margins.entry_area.date_and_location_width>>}} \begin{tabularx}{0.98\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>}[t]{X R{<<design.margins.entry_area.date_and_location_width>>}}
\textbf{#1} & \textit{\small\ifthenelse{\equal{#2}{}}{#4}{#2}} \\ #1 & \small\ifthenelse{\equal{#2}{}}{#4}{#2} \\
\textit{\small#3} & \textit{\small\ifthenelse{\equal{#2}{}}{}{#4}} \\ {\small#3} & \small\ifthenelse{\equal{#2}{}}{}{#4} \\
\end{tabularx} \end{tabularx}
} }

View File

@ -1,14 +1,14 @@
\resumeSubheading \resumeSubheading
{<<entry.title>>}{<<entry.date_string>>} {\textbf{<<entry.title>>}}{\textit{<<entry.date_string>>}}
{ {
((*- if entry.doi != "" -*)) \textit{((*- if entry.doi != "" -*))
\href{<<entry.doi_url>>}{<<entry.doi>>} \href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*)) ((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*)) ((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*)) ((*- if entry.journal != "" -*))
<<entry.journal>> <<entry.journal>>
((*- endif -*)) ((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*)) ((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))}
}{} }{}
\resumeItemListStart \resumeItemListStart
\resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par} \resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par}