added local fonts

This commit is contained in:
2024-10-18 12:02:19 +02:00
parent 4393325d2d
commit 6dacdd95af
5 changed files with 25 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
[submodule "library/freie_lieder"] [submodule "library/freie_lieder"]
path = library/freie_lieder path = library/freie_lieder
url = ssh://leopoldf@gitea.leopold.fajtak.at:44903/leopold/freie_lieder.git url = ssh://leopoldf@gitea.leopold.fajtak.at:44903/leopold/freie_lieder.git
[submodule "fonts/EBGaramond12"]
path = fonts/EBGaramond12
url = https://github.com/octaviopardo/EBGaramond12.git
[submodule "fonts/dosis-vf"]
path = fonts/dosis-vf
url = https://github.com/googlefonts/dosis-vf.git
+1 -1
View File
@@ -1,5 +1,5 @@
.PHONY: all .PHONY: all
tex_deps = variables.tt library/*/*/*.tt song_choices.csv song_template.tt propers/*.tt purpose_processing.tt tex_deps = build variables.tt library/*/*/*.tt song_choices.csv song_template.tt propers/*.tt purpose_processing.tt
all: build leadsheet_collection.pdf print_a3.pdf print_a4.pdf clean_intermediate all: build leadsheet_collection.pdf print_a3.pdf print_a4.pdf clean_intermediate
%.pdf: %.tex %.pdf: %.tex
cd build && \ cd build && \
Submodule fonts/EBGaramond12 added at e608414f52
+1
Submodule fonts/dosis-vf added at 3407d52f1d
+16 -2
View File
@@ -31,9 +31,23 @@
\definecolor{hope_white}{HTML}{916836} \definecolor{hope_white}{HTML}{916836}
\definecolor{hope_green}{HTML}{36913a} \definecolor{hope_green}{HTML}{36913a}
\definecolor{hope_red}{HTML}{91363b} \definecolor{hope_red}{HTML}{91363b}
\setmainfont[Numbers={OldStyle, Proportional},RawFeature={+ss06}]{EB Garamond}
\newfontfamily\headingfont[]{Dosis}
\newcommand{\raisedrulefill}[2][0ex]{\leaders\hbox{\rule[#1]{1pt}{#2}}\hfill} \newcommand{\raisedrulefill}[2][0ex]{\leaders\hbox{\rule[#1]{1pt}{#2}}\hfill}
\setmainfont[
Path = ../fonts/EBGaramond12/fonts/ttf/,
Extension = .ttf,
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Numbers = {OldStyle, Proportional},
RawFeature = {+ss06}
]{EBGaramond}
\newfontfamily\headingfont[
Path=../fonts/dosis-vf/fonts/ttf/,
Extension = .ttf,
UprightFont = *-Regular,
BoldFont = *-Bold
]{Dosis}
\titleformat{\section}{\headingfont\color{hope_[% color %]}\bfseries\huge}{\thesection. }{0em}{#1} \titleformat{\section}{\headingfont\color{hope_[% color %]}\bfseries\huge}{\thesection. }{0em}{#1}
\titleformat{\subsection}{\headingfont\Large}{\thesubsection. }{0em}{\color{black}#1\,\color{hope_[% color %]}\raisedrulefill[0.0ex]{2pt}} \titleformat{\subsection}{\headingfont\Large}{\thesubsection. }{0em}{\color{black}#1\,\color{hope_[% color %]}\raisedrulefill[0.0ex]{2pt}}
\newcommand{\song}[3]{% \newcommand{\song}[3]{%