Skip to content

Commit 5067525

Browse files
committed
fix vrule color
#55
1 parent c0722eb commit 5067525

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ example_4.*
5555
example_4_files/
5656
example_5.*
5757
example_5_files/
58+
*.html

_extensions/titlepage/_titlepage.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
\newcommand{\vrulecode}{\noindent\colorbox{$titlepage-theme.vrule-color$}{\begin{minipage}[b][0.99\textheight][c]{\vrulewidth}$if(titlepage-theme.vrule-text)$
165165
\centering\rotatebox{90}{\makebox[0.88\textheight][r]{$if(titlepage-theme.vrule-text-fontstyle)$$for(titlepage-theme.vrule-text-fontstyle)$\$titlepage-theme.vrule-text-fontstyle${$endfor$$endif$$if(titlepage-theme.vrule-text-color)$\color{$titlepage-theme.vrule-text-color$}$endif$$titlepage-theme.vrule-text$$for(titlepage-theme.vrule-text-fontstyle)$}$endfor$}}$endif$\end{minipage}}}
166166
$else$
167-
\newcommand{\vrulecode}{\rule{\vrulewidth}{\textheight}}
167+
\newcommand{\vrulecode}{\textcolor{$titlepage-theme.vrule-color$}{\rule{\vrulewidth}{\textheight}}}
168168
$endif$
169169
\newlength{\vrulewidth}
170170
\setlength{\vrulewidth}{$titlepage-theme.vrule-width$}

example_1.pdf

440 Bytes
Binary file not shown.

example_1.qmd

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ author:
2626
address: R Tradição 35, Portugal 2950-726
2727
bibliography: references.bib
2828
format:
29-
html: default
3029
titlepage-pdf:
3130
documentclass: scrbook
3231
classoption: ["oneside", "open=any"]

example_3.pdf

-6 Bytes
Binary file not shown.

example_3.qmd

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ format:
3030
- tex/copyright.tex
3131
titlepage-include-file:
3232
- tex/dedication.tex
33+
titlepage-theme:
34+
vrule-color: "green"
35+
vrule-width: "10pt"
3336
coverpage: otter
3437
coverpage-bg-image: "img/otter-bar.jpeg"
3538
coverpage-title: "Otters"

0 commit comments

Comments
 (0)