From d269320825f186d30614c55b166c36ffec9c704f Mon Sep 17 00:00:00 2001 From: Marco Otte-Witte Date: Tue, 20 Aug 2024 16:54:53 +0200 Subject: [PATCH] set link and url styles --- book/book.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/book/book.toml b/book/book.toml index 7ad7bcc..ae209cb 100644 --- a/book/book.toml +++ b/book/book.toml @@ -37,13 +37,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"] @@ -51,13 +51,16 @@ 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}", ] @@ -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"]