Skip to content

Commit

Permalink
links underline + header 1 on new page
Browse files Browse the repository at this point in the history
  • Loading branch information
msberends committed Dec 8, 2023
1 parent c1b25c1 commit 81a6be9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: certestyle
Title: A Certe R Package for Applying Certe Organisational Style
Version: 1.3.16
Version: 1.3.17
Authors@R: c(
person(given = c("Matthijs", "S."),
family = "Berends",
Expand Down
2 changes: 1 addition & 1 deletion certestyle.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
LaTeX: XeLaTeX

BuildType: Package
PackageUseDevtools: Yes
Expand Down
13 changes: 12 additions & 1 deletion inst/rmarkdown/latextemplate/certe.tex
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,23 @@

\usepackage{sectsty}
% kop 1
\sectionfont{\color{certeblauw}\selectfont}
\sectionfont{\newpage\color{certeblauw}\selectfont}
% kop 2
\subsectionfont{\color{certeroze}\selectfont}
% kop 3
\subsubsectionfont{\color{certeblauw}\selectfont}

% links in certeroze
\usepackage[normalem]{ulem} % underlining
\hypersetup{
colorlinks = true,
urlcolor = certeroze, % external hyperlinks
filecolor = linkcolor, % file links
% linkcolor = linkcolor, % internal links (like ToC)
% citecolor = linkcolor, % citations
}
\renewcommand{\url}[1]{\textcolor{certeroze}{\underline{\urlstyle{same}\href{#1}{#1}}}}

% footer opmaken met paginanummers en klein Certe-logo
\usepackage{fancyhdr}
\usepackage{lastpage}
Expand Down

0 comments on commit 81a6be9

Please sign in to comment.