sb2nov: fix templating bugs

This commit is contained in:
Sina Atalay 2024-04-16 15:50:43 +03:00
parent 2860053f4c
commit 3bc42aa77f
6 changed files with 19 additions and 19 deletions

View File

@ -3,5 +3,5 @@
((* endif *))
\begin{onecolentry}
\textbullet \hspace{3pt} <<entry.bullet>>
\textbullet \hspace{<<design.margins.entry_area.bullet_width>>-0.2cm}<<entry.bullet>>
\end{onecolentry}

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>}
\vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *))
((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px}
\vspace*{\fill}
}{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
}
((* else *))
\begin{onecolentrybulleted}
@ -28,7 +28,7 @@
((* for item in entry.highlights *))
((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>}
\vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry}
\begin{highlights}
((* endif *))

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>}
\vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *))
((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px}
\vspace*{\fill}
}{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
}
((* else *))
\begin{onecolentrybulleted}
@ -28,7 +28,7 @@
((* for item in entry.highlights *))
((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>}
\vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry}
\begin{highlights}
((* endif *))

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>}
\vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *))
((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px}
\vspace*{\fill}
}{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
}
((* else *))
\begin{onecolentrybulleted}
@ -26,7 +26,7 @@
((* for item in entry.highlights *))
((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>}
\vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry}
\begin{highlights}
((* endif *))

View File

@ -70,7 +70,7 @@
\pagestyle{customFooterStyle}
((* endif *))
\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]
\titleformat{\section}{\scshape\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]
\titlespacing{\section}{
% left space:

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>}
\vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *))
\begin{samepage}
@ -15,7 +15,7 @@
\end{threecolentry}
((* if entry.doi or entry.journal *))
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>-3px}
\begin{onecolentry}
\hspace{<<design.margins.entry_area.bullet_width>>}%