color, cleanup

glossary
Jeff Moe 2022-08-26 17:39:36 -06:00
parent f28a9506f2
commit 6f548cc86f
2 changed files with 9 additions and 10 deletions

View File

@ -23,7 +23,7 @@ by Jeff Moe
Copyright \copyright\ 2022, Jeff Moe.\par
Permission is granted to copy, distribute and\slash or modify
this document under the terms of the
this document under the terms of the\\
Creative Commons Attribution 4.0 International Public License
(CC BY-SA 4.0).

View File

@ -60,15 +60,14 @@ leftmargin=1cm,rightmargin=1cm
\usepackage{epstopdf} % /usr/share/doc/texlive-doc/latex/oberdiek/epstopdf.pdf
% http://www.tug.org/applications/hyperref/manual.html
% /usr/share/doc/texlive-doc/latex/hyperref/hyperref.pdf
\usepackage[colorlinks=true,linkcolor=jebba-dark-orange,urlcolor=jebba-dark-orange]{hyperref}
\usepackage[colorlinks=true,linkcolor=jebba-dark-blue,urlcolor=jebba-dark-orange]{hyperref}
%\usepackage{url} % /usr/share/doc/texlive-doc/latex/url/url.pdf % Use hyperref.
\graphicspath{{./figures/}}
\makeindex
\makeglossary
\usepackage{color} % Docs: /usr/share/doc/texlive-latex-base-doc/latex/graphics/grfguide.pdf
%\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{xcolor}
%%% PREAMBLE FONTS %%%
% For XeTeX
@ -138,12 +137,13 @@ leftmargin=1cm,rightmargin=1cm
\makechapterstyle{jebbaski}{%
\renewcommand*{\printchaptername}{} % Clear out the chapter name (e.g. capítulo)
\renewcommand*{\printchapternum}{} % Clear out the chapter number
\renewcommand*{\chaptitlefont}{\fontspec{lmroman12-regular.otf}\fontsize{20pt}{3em}\selectfont} % Set chapter title font
\renewcommand*{\chaptitlefont}{\fontspec{GemunuLibre-ExtraBold.otf}\fontsize{20pt}{3em}\selectfont} % Set chapter title font
\renewcommand*{\printchaptertitle}[1]{%
\color{jebba-light-orange}
\hrule\vskip\onelineskip \centering \chaptitlefont{##1}\par}
% Set chapter title font
\renewcommand*{\afterchaptertitle}{\vskip\onelineskip \hrule\vskip
\afterchapskip}
\afterchapskip}
}
%%% END SNOUGSKI CHAPTER STYLE %%%
@ -167,8 +167,7 @@ leftmargin=1cm,rightmargin=1cm
%%% END FOOTNOTES %%%
%%% COLORS %%%
\definecolor{jebba-purple}{cmyk}{0.40,0.70,0.00,0.43} % ???
%\definecolor{jebba-purple}{cmyk}{0.84 0.80 0.00 0.04} % ???
\definecolor{jebba-purple}{cmyk}{0.40,0.70,0.00,0.43}
\definecolor{jebba-dark-blue}{cmyk}{0.83 0.24 0.00 0.22}
\definecolor{jebba-light-blue}{cmyk}{0.42 0.24 0.00 0.08}
\definecolor{jebba-light-orange}{cmyk}{0.00 0.40 0.88 0.03}
@ -178,9 +177,9 @@ leftmargin=1cm,rightmargin=1cm
\definecolor{jebba-white}{cmyk}{0.00 0.00 0.00 0.00}
\definecolor{jebba-black}{cmyk}{1.00 1.00 1.00 1.00}
\definecolor{jebba-green}{cmyk}{0.22 0.00 0.78 0.24}
\definecolor{jebba-darker-blue}{cmyk}{0.87 0.45 0.00 0.76}
%%% END COLORS %%%
%%% DEBUG %%%
%\showoutput
%\typeoutlayout
@ -247,7 +246,7 @@ leftmargin=1cm,rightmargin=1cm
% value 2 is title of chapter
% value 3 is sub title of chapter
\newcommand{\chapterconf}[3]{
\chapter{\emph{{#2}}\protect \\
\chapter{\emph{\fontspec{GemunuLibre-ExtraBold.otf}\color{jebba-darker-blue}{#2}}\protect \\
{#3}}
\thispagestyle{empty}
\markboth{#2}{\chapterheader}