style : fix styles causing extra margins.

This commit is contained in:
Dmitry Voronin 2023-07-31 18:02:25 +03:00
parent 5159fbb3c2
commit e0f691c3f7

View file

@ -22,7 +22,7 @@
}
% styles.
\newcommand{\sreset} [1]{\fontsize{14}{7}\selectfont\rm\color{black}\noindent#1} % reset font style.
\newcommand{\sreset} [1]{\fontsize{14}{14}\selectfont\rm\color{black}#1} % reset font style.
\newcommand{\spar} [0]{\par\vspace{2mm}} % default paragraph break.
\newcommand{\stext} [1]{\sreset{#1}} % default text.
\newcommand{\sitallic} [1]{\textit{#1}} % itallic text.
@ -30,10 +30,10 @@
\newcommand{\ssemibold} [1]{\fontseries{sb}{\selectfont{#1}}} % semi-bold text.
\newcommand{\sunderline}[1]{\underline{#1}} % underline text.
\newcommand{\slink} [2]{\href{#1}{\textcolor{link}{\sunderline{#2}}}} % link webpage.
\newcommand{\sname} [1]{\fontsize{21}{9}{\selectfont{\sbold{#1}}}} % name style.
\newcommand{\sname} [1]{\fontsize{21}{21}{\selectfont{\sbold{#1}}}} % name style.
\newcommand{\scolor} [2]{\textcolor{#1}{#2}} % text color alias.
\newcommand{\sicon} [1]{\raisebox{-1mm}{\includegraphics[height=5mm]{#1}}} % icons.
\newcommand{\stitle} [1]{\hypertarget{#1}{}\fontsize{11}{11}
\newcommand{\stitle} [1]{\hypertarget{#1}{}\fontsize{11}{11}%
{\selectfont{\textcolor{main}{\ssemibold{#1}}}}} % section title.
\newcommand{\shref} [1]{\hyperlink{#1}{\textcolor{link}{\sunderline{#1}}}} % reference section.
\newcommand{\sref} [1]{\textcolor{ref}{#1}} % reference text.