From af31d07715cf29b3dc3e16860324f2938401d258 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin <account@voronind.com> Date: Mon, 31 Jul 2023 06:23:58 +0300 Subject: [PATCH] style : add title styles and colors. --- tex/style.tex | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/tex/style.tex b/tex/style.tex index 01beb53..5f2dd5d 100644 --- a/tex/style.tex +++ b/tex/style.tex @@ -3,13 +3,19 @@ \sloppy % correct word placement on newline. % colors. -\definecolor{white}{RGB}{255,255,255} % default white color. -\definecolor{link}{RGB}{46,116,181} % web link color. +\definecolor{white}{RGB}{255,255,255} % default white. +\definecolor{link}{RGB}{46,116,181} % web link. +\definecolor{main}{RGB}{244,67,54} % main. +\definecolor{gray}{RGB}{209,213,219} % gray. % styles. -\newcommand{\spar}[0]{\par\vspace{2mm}} % default paragraph break. -\newcommand{\stext}[1]{\fontsize{14}{7}{\selectfont{#1}}} % default text. -\newcommand{\sitallic}[1]{\textit{#1}} % itallic text. -\newcommand{\sbold}[1]{\textbf{#1}} % bold text. -\newcommand{\sunderline}[1]{\underline{#1}} % underline text. -\newcommand{\slink}[2]{\href{#1}{\textcolor{link}{\sunderline{#2}}}} % link webpage. +\newcommand{\spar}[0]{\par\vspace{2mm}} % default paragraph break. +\newcommand{\stext}[1]{\fontsize{14}{7}{\selectfont{#1}}} % default text. +\newcommand{\sitallic}[1]{\textit{#1}} % itallic text. +\newcommand{\sbold}[1]{\textbf{#1}} % bold text. +\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{24}{24}{\selectfont{\sbold{#1}}}} % name style. +\newcommand{\scolor}[2]{\textcolor{#1}{#2}} % text color alias. +\newcommand{\sicon}[1]{\raisebox{-1mm}{\includegraphics[height=5mm]{#1}}} % icons.