Skip to content

Commit d25b81b

Browse files
committed
blue instead of orange
1 parent 2fbcfa2 commit d25b81b

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

StyleInd.ist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
delim_0 "\\dotfill\ "
22
delim_1 "\\dotfill\ "
33
headings_flag 1
4-
heading_prefix "\\nopagebreak\n\\tikz\\node at (0pt,0pt) [draw=none,fill=ocre!50,line width=1pt,inner sep=5pt]{\\parbox{\\linewidth-2\\fboxsep-2\\fboxrule-2pt}{\\centering\\large\\sffamily\\bfseries\\textcolor{white}{" heading_suffix "}}};\\vspace*{0.2cm}\\nopagebreak\n"
4+
heading_prefix "\\nopagebreak\n\\tikz\\node at (0pt,0pt) [draw=none,fill=hhublue!50,line width=1pt,inner sep=5pt]{\\parbox{\\linewidth-2\\fboxsep-2\\fboxrule-2pt}{\\centering\\large\\sffamily\\bfseries\\textcolor{white}{" heading_suffix "}}};\\vspace*{0.2cm}\\nopagebreak\n"

main.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
\node at (current page.north west)
6262
{\begin{tikzpicture}[remember picture,overlay]
6363
\node[anchor=north west,inner sep=0pt] at (0,0) {\includegraphics[width=\paperwidth]{background}}; % Background image
64-
\draw[anchor=north] (midpoint) node [fill=ocre!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering The Search for a Title\\[15pt] % Book title
64+
\draw[anchor=north] (midpoint) node [fill=hhublue!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering The Search for a Title\\[15pt] % Book title
6565
{\Large A Profound Subtitle}\\[20pt] % Subtitle
6666
{\huge Dr. John Smith}}}; % Author name
6767
\end{tikzpicture}};
@@ -349,7 +349,7 @@ \part{Philosophische Grundlagen}
349349
%%----------------------------------------------------------------------------------------
350350

351351
\chapter*{Bibliography}
352-
\addcontentsline{toc}{chapter}{\textcolor{ocre}{Bibliography}}
352+
\addcontentsline{toc}{chapter}{\textcolor{hhublue}{Bibliography}}
353353
\section*{Books}
354354
\addcontentsline{toc}{section}{Books}
355355
\printbibliography[heading=bibempty,type=book]
@@ -364,7 +364,7 @@ \section*{Articles}
364364
\cleardoublepage
365365
\phantomsection
366366
\setlength{\columnsep}{0.75cm}
367-
\addcontentsline{toc}{chapter}{\textcolor{ocre}{Index}}
367+
\addcontentsline{toc}{chapter}{\textcolor{hhublue}{Index}}
368368
\printindex
369369

370370
%----------------------------------------------------------------------------------------

structure.tex

+32-32
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
\usepackage{booktabs} % Required for nicer horizontal rules in tables
3737

3838
\usepackage{xcolor} % Required for specifying colors by name
39-
\definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book
39+
\definecolor{hhublue}{RGB}{0,106,179} % Define the orange color used for highlighting throughout the book
4040

4141
%----------------------------------------------------------------------------------------
4242
% FONTS
@@ -80,9 +80,9 @@
8080
% Chapter text styling
8181
\titlecontents{chapter}[1.25cm] % Indentation
8282
{\addvspace{12pt}\large\sffamily\bfseries} % Spacing and font options for chapters
83-
{\color{ocre!60}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{ocre}} % Chapter number
84-
{\color{ocre}}
85-
{\color{ocre!60}\normalsize\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number
83+
{\color{hhublue!70}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{hhublue}} % Chapter number
84+
{\color{hhublue}}
85+
{\color{hhublue!70}\normalsize\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number
8686

8787
% Section text styling
8888
\titlecontents{section}[1.25cm] % Indentation
@@ -123,9 +123,9 @@
123123
% Chapter text styling
124124
\titlecontents{lchapter}[0em] % Indenting
125125
{\addvspace{15pt}\large\sffamily\bfseries} % Spacing and font options for chapters
126-
{\color{ocre}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{ocre}} % Chapter number
126+
{\color{hhublue}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{hhublue}} % Chapter number
127127
{}
128-
{\color{ocre}\normalsize\sffamily\bfseries\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number
128+
{\color{hhublue}\normalsize\sffamily\bfseries\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number
129129

130130
% Section text styling
131131
\titlecontents{lsection}[0em] % Indenting
@@ -180,15 +180,15 @@
180180
\newtheorem{notation}{Notation}[chapter]
181181

182182
% Boxed/framed environments
183-
\newtheoremstyle{ocrenumbox}% % Theorem style name
183+
\newtheoremstyle{hhubluenumbox}% % Theorem style name
184184
{0pt}% Space above
185185
{0pt}% Space below
186186
{\normalfont}% % Body font
187187
{}% Indent amount
188-
{\small\bf\sffamily\color{ocre}}% % Theorem head font
188+
{\small\bf\sffamily\color{hhublue}}% % Theorem head font
189189
{\;}% Punctuation after theorem head
190190
{0.25em}% Space after theorem head
191-
{\small\sffamily\color{ocre}\thmname{#1}\nobreakspace\thmnumber{\@ifnotempty{#1}{}\@upn{#2}}% Theorem text (e.g. Theorem 2.1)
191+
{\small\sffamily\color{hhublue}\thmname{#1}\nobreakspace\thmnumber{\@ifnotempty{#1}{}\@upn{#2}}% Theorem text (e.g. Theorem 2.1)
192192
\thmnote{\nobreakspace\the\thm@notefont\sffamily\bfseries\color{black}---\nobreakspace#3.}} % Optional theorem note
193193
\renewcommand{\qedsymbol}{$\blacksquare$}% Optional qed square
194194

@@ -215,23 +215,23 @@
215215
\thmnote{\nobreakspace\the\thm@notefont\sffamily\bfseries---\nobreakspace#3.}}% Optional theorem note
216216

217217
% Non-boxed/non-framed environments
218-
\newtheoremstyle{ocrenum}% % Theorem style name
218+
\newtheoremstyle{hhubluenum}% % Theorem style name
219219
{5pt}% Space above
220220
{5pt}% Space below
221221
{\normalfont}% % Body font
222222
{}% Indent amount
223-
{\small\bf\sffamily\color{ocre}}% % Theorem head font
223+
{\small\bf\sffamily\color{hhublue}}% % Theorem head font
224224
{\;}% Punctuation after theorem head
225225
{0.25em}% Space after theorem head
226-
{\small\sffamily\color{ocre}\thmname{#1}\nobreakspace\thmnumber{\@ifnotempty{#1}{}\@upn{#2}}% Theorem text (e.g. Theorem 2.1)
226+
{\small\sffamily\color{hhublue}\thmname{#1}\nobreakspace\thmnumber{\@ifnotempty{#1}{}\@upn{#2}}% Theorem text (e.g. Theorem 2.1)
227227
\thmnote{\nobreakspace\the\thm@notefont\sffamily\bfseries\color{black}---\nobreakspace#3.}} % Optional theorem note
228228
\renewcommand{\qedsymbol}{$\blacksquare$}% Optional qed square
229229
\makeatother
230230

231231
% Defines the theorem text style for each type of theorem to one of the three styles above
232232
\newcounter{dummy}
233233
\numberwithin{dummy}{section}
234-
\theoremstyle{ocrenumbox}
234+
\theoremstyle{hhubluenumbox}
235235
\newtheorem{theoremeT}[dummy]{Theorem}
236236
\newtheorem{problem}{Problem}[chapter]
237237
\newtheorem{exerciseT}{Exercise}[chapter]
@@ -241,7 +241,7 @@
241241
\newtheorem{vocabulary}{Vocabulary}[chapter]
242242
\newtheorem{definitionT}{Definition}[section]
243243
\newtheorem{corollaryT}[dummy]{Corollary}
244-
\theoremstyle{ocrenum}
244+
\theoremstyle{hhubluenum}
245245
\newtheorem{proposition}[dummy]{Proposition}
246246

247247
%----------------------------------------------------------------------------------------
@@ -254,7 +254,7 @@
254254
\newmdenv[skipabove=7pt,
255255
skipbelow=7pt,
256256
backgroundcolor=black!5,
257-
linecolor=ocre,
257+
linecolor=hhublue,
258258
innerleftmargin=5pt,
259259
innerrightmargin=5pt,
260260
innertopmargin=5pt,
@@ -269,8 +269,8 @@
269269
leftline=true,
270270
topline=false,
271271
bottomline=false,
272-
backgroundcolor=ocre!10,
273-
linecolor=ocre,
272+
backgroundcolor=hhublue!10,
273+
linecolor=hhublue,
274274
innerleftmargin=5pt,
275275
innerrightmargin=5pt,
276276
innertopmargin=5pt,
@@ -286,7 +286,7 @@
286286
leftline=true,
287287
topline=false,
288288
bottomline=false,
289-
linecolor=ocre,
289+
linecolor=hhublue,
290290
innerleftmargin=5pt,
291291
innerrightmargin=5pt,
292292
innertopmargin=0pt,
@@ -314,7 +314,7 @@
314314

315315
% Creates an environment for each type of theorem and assigns it a theorem text style from the "Theorem Styles" section above and a colored box from above
316316
\newenvironment{theorem}{\begin{tBox}\begin{theoremeT}}{\end{theoremeT}\end{tBox}}
317-
\newenvironment{exercise}{\begin{eBox}\begin{exerciseT}}{\hfill{\color{ocre}\tiny\ensuremath{\blacksquare}}\end{exerciseT}\end{eBox}}
317+
\newenvironment{exercise}{\begin{eBox}\begin{exerciseT}}{\hfill{\color{hhublue}\tiny\ensuremath{\blacksquare}}\end{exerciseT}\end{eBox}}
318318
\newenvironment{definition}{\begin{dBox}\begin{definitionT}}{\end{definitionT}\end{dBox}}
319319
\newenvironment{example}{\begin{exampleT}}{\hfill{\tiny\ensuremath{\blacksquare}}\end{exampleT}}
320320
\newenvironment{corollary}{\begin{cBox}\begin{corollaryT}}{\end{corollaryT}\end{cBox}}
@@ -328,15 +328,15 @@
328328
\leftmargin=35pt % Indentation on the left
329329
\rightmargin=25pt}\item\ignorespaces % Indentation on the right
330330
\makebox[-2.5pt]{\begin{tikzpicture}[overlay]
331-
\node[draw=ocre!60,line width=1pt,circle,fill=ocre!25,font=\sffamily\bfseries,inner sep=2pt,outer sep=0pt] at (-15pt,0pt){\textcolor{ocre}{R}};\end{tikzpicture}} % Orange R in a circle
331+
\node[draw=hhublue!70,line width=1pt,circle,fill=hhublue!25,font=\sffamily\bfseries,inner sep=2pt,outer sep=0pt] at (-15pt,0pt){\textcolor{hhublue}{R}};\end{tikzpicture}} % Orange R in a circle
332332
\advance\baselineskip -1pt}{\end{list}\vskip5pt} % Tighter line spacing and white space after remark
333333

334334
%----------------------------------------------------------------------------------------
335335
% SECTION NUMBERING IN THE MARGIN
336336
%----------------------------------------------------------------------------------------
337337

338338
\makeatletter
339-
\renewcommand{\@seccntformat}[1]{\llap{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}}
339+
\renewcommand{\@seccntformat}[1]{\llap{\textcolor{hhublue}{\csname the#1\endcsname}\hspace{1em}}}
340340
\renewcommand{\section}{\@startsection{section}{1}{\z@}
341341
{-4ex \@plus -1ex \@minus -.4ex}
342342
{1ex \@plus.2ex }
@@ -361,12 +361,12 @@
361361
% numbered part in the table of contents
362362
\newcommand{\@mypartnumtocformat}[2]{%
363363
\setlength\fboxsep{0pt}%
364-
\noindent\colorbox{ocre!20}{\strut\parbox[c][.7cm]{\ecart}{\color{ocre!70}\Large\sffamily\bfseries\centering#1}}\hskip\esp\colorbox{ocre!40}{\strut\parbox[c][.7cm]{\linewidth-\ecart-\esp}{\Large\sffamily\centering#2}}}%
364+
\noindent\colorbox{hhublue!30}{\strut\parbox[c][.7cm]{\ecart}{\color{hhublue!70}\Large\sffamily\bfseries\centering#1}}\hskip\esp\colorbox{hhublue!50}{\strut\parbox[c][.7cm]{\linewidth-\ecart-\esp}{\Large\sffamily\centering#2}}}%
365365
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
366366
% unnumbered part in the table of contents
367367
\newcommand{\@myparttocformat}[1]{%
368368
\setlength\fboxsep{0pt}%
369-
\noindent\colorbox{ocre!40}{\strut\parbox[c][.7cm]{\linewidth}{\Large\sffamily\centering#1}}}%
369+
\noindent\colorbox{hhublue!50}{\strut\parbox[c][.7cm]{\linewidth}{\Large\sffamily\centering#1}}}%
370370
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
371371
\newlength\esp
372372
\setlength\esp{4pt}
@@ -386,8 +386,8 @@
386386
{\thispagestyle{empty}%
387387
\begin{tikzpicture}[remember picture,overlay]%
388388
\node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]%
389-
\fill[ocre!20](0cm,0cm) rectangle (\paperwidth,-\paperheight);
390-
\node[anchor=north] at (4cm,-3.25cm){\color{ocre!40}\fontsize{220}{100}\sffamily\bfseries\@Roman\c@part};
389+
\fill[hhublue!30](0cm,0cm) rectangle (\paperwidth,-\paperheight);
390+
\node[anchor=north] at (4cm,-3.25cm){\color{hhublue!50}\fontsize{220}{100}\sffamily\bfseries\@Roman\c@part};
391391
\node[anchor=south east] at (\paperwidth-1cm,-\paperheight+1cm){\parbox[t][][t]{8.5cm}{
392392
\printcontents{l}{0}{\setcounter{tocdepth}{1}}%
393393
}};
@@ -401,13 +401,13 @@
401401
{\thispagestyle{empty}%
402402
\begin{tikzpicture}[remember picture,overlay]%
403403
\node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]%
404-
\fill[ocre!20](0cm,0cm) rectangle (\paperwidth,-\paperheight);
404+
\fill[hhublue!30](0cm,0cm) rectangle (\paperwidth,-\paperheight);
405405
\node[anchor=north east] at (\paperwidth-1.5cm,-3.25cm){\parbox[t][][t]{15cm}{\strut\raggedleft\color{white}\fontsize{30}{30}\sffamily\bfseries#1}};
406406
\end{tikzpicture}};
407407
\end{tikzpicture}}
408408
\addcontentsline{toc}{part}{\texorpdfstring{%
409409
\setlength\fboxsep{0pt}%
410-
\noindent\protect\colorbox{ocre!40}{\strut\protect\parbox[c][.7cm]{\linewidth}{\Large\sffamily\protect\centering #1\quad\mbox{}}}}{#1}}%
410+
\noindent\protect\colorbox{hhublue!50}{\strut\protect\parbox[c][.7cm]{\linewidth}{\Large\sffamily\protect\centering #1\quad\mbox{}}}}{#1}}%
411411
\@endpart}
412412
\def\@endpart{\vfil\newpage
413413
\if@twoside
@@ -438,7 +438,7 @@
438438
\node at (current page.north west)
439439
{\begin{tikzpicture}[remember picture,overlay]
440440
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
441-
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
441+
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=hhublue,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
442442
\draw[anchor=west] (\Gm@lmargin+.3cm,-9cm) node {\huge\sffamily\bfseries\color{black}\thechapter. #1\strut};
443443
\end{tikzpicture}};
444444
\end{tikzpicture}
@@ -447,7 +447,7 @@
447447
\node at (current page.north west)
448448
{\begin{tikzpicture}[remember picture,overlay]
449449
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
450-
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
450+
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=hhublue,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
451451
\draw[anchor=west] (\Gm@lmargin+.3cm,-9cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
452452
\end{tikzpicture}};
453453
\end{tikzpicture}
@@ -460,7 +460,7 @@
460460
\node at (current page.north west)
461461
{\begin{tikzpicture}[remember picture,overlay]
462462
\node[anchor=north west,inner sep=0pt] at (0,0) {\ifusechapterimage\includegraphics[width=\paperwidth]{\thechapterimage}\fi};
463-
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
463+
\draw[anchor=west] (\Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=hhublue,fill=white,fill opacity=0.5,inner sep=15pt]{\strut\makebox[22cm]{}};
464464
\draw[anchor=west] (\Gm@lmargin+.3cm,-9cm) node {\huge\sffamily\bfseries\color{black}#1\strut};
465465
\end{tikzpicture}};
466466
\end{tikzpicture}
@@ -472,7 +472,7 @@
472472
%----------------------------------------------------------------------------------------
473473

474474
\usepackage{hyperref}
475-
\hypersetup{hidelinks,backref=true,pagebackref=true,hyperindex=true,colorlinks=false,breaklinks=true,urlcolor= ocre,bookmarks=true,bookmarksopen=false,pdftitle={Title},pdfauthor={Author}}
475+
\hypersetup{hidelinks,backref=true,pagebackref=true,hyperindex=true,colorlinks=false,breaklinks=true,urlcolor= hhublue,bookmarks=true,bookmarksopen=false,pdftitle={Title},pdfauthor={Author}}
476476
\usepackage{bookmark}
477477
\bookmarksetup{
478478
open,
@@ -482,7 +482,7 @@
482482
\bookmarksetup{bold}%
483483
\fi
484484
\ifnum\bookmarkget{level}=-1 % part
485-
\bookmarksetup{color=ocre,bold}%
485+
\bookmarksetup{color=hhublue,bold}%
486486
\fi
487487
}
488488
}

0 commit comments

Comments
 (0)