Skip to content

Commit

Permalink
set link and url styles
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Aug 20, 2024
1 parent 8368433 commit b9e3cec
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,30 @@ mainfont = "CoreSansA45.ttf"
mainfontoptions = [
"BoldFont=CoreSansA65.ttf",
"ItalicFont=CoreSansA45It.ttf",
"BoldItalicFont=CoreSansA65It.ttf"
"BoldItalicFont=CoreSansA65It.ttf",
]
sansfont = "CoreSansA45.ttf"
sansfontoptions = [
"BoldFont=CoreSansA65.ttf",
"ItalicFont=CoreSansA45It.ttf",
"BoldItalicFont=CoreSansA65It.ttf"
"BoldItalicFont=CoreSansA65It.ttf",
]
monofont = "Noto Sans Mono"
mainfontfallback = ["Noto Color Emoji:mode=harf"]
sansfontfallback = ["Noto Color Emoji:mode=harf"]
monofontfallback = [
"Noto Color Emoji:mode=harf",
]
linkcolor = "blue"
urlcolor = "blue"
monobackgroundcolor = "\\color[HTML]{e7e7e7}"
linkcolor = "Links"
urlcolor = "Links"
linkstyle = "bold"
urlstyle = "rm"
documentclass = "book"
fontsize = "11pt"
geometry = "papersize={8in,10in},top=2cm,bottom=2cm,left=2.4cm,right=2.4cm"
header-includes = [
"\\definecolor{Links}{HTML}{6200EE}",
# Reduce font size of code blocks
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
]
Expand All @@ -77,13 +80,13 @@ mainfont = "CoreSansA45.ttf"
mainfontoptions = [
"BoldFont=CoreSansA65.ttf",
"ItalicFont=CoreSansA45It.ttf",
"BoldItalicFont=CoreSansA65It.ttf"
"BoldItalicFont=CoreSansA65It.ttf",
]
sansfont = "CoreSansA45.ttf"
sansfontoptions = [
"BoldFont=CoreSansA65.ttf",
"ItalicFont=CoreSansA45It.ttf",
"BoldItalicFont=CoreSansA65It.ttf"
"BoldItalicFont=CoreSansA65It.ttf",
]
monofont = "Noto Sans Mono"
mainfontfallback = ["Noto Color Emoji:mode=harf"]
Expand Down

0 comments on commit b9e3cec

Please sign in to comment.