fixed minor errors in code and added instructions for fonts
This commit is contained in:
parent
8e8ad51007
commit
361d5ba78d
7
Makefile
7
Makefile
@ -8,14 +8,17 @@ MAKEFLAGS += --no-builtin-rules
|
||||
LATEX_CMD = lualatex --halt-on-error --synctex=1 --output-directory=out
|
||||
|
||||
|
||||
.PHONY: clean clean_fonts
|
||||
.PHONY: clean clean_fonts basics
|
||||
|
||||
fonts/sentinel:
|
||||
mkdir -p fonts
|
||||
fc-list | grep -E 'Lato-|DejaVu' | grep -v -- "-minimal" | cut -d : -f 1 | xargs -I{} bash -c 'ln -s {} fonts/$$(basename {})'
|
||||
touch fonts/sentinel
|
||||
|
||||
base.pdf: base.tex cv_base.cls fonts/sentinel
|
||||
basics: fonts/sentinel
|
||||
mkdir -p out
|
||||
|
||||
base.pdf: base.tex cv_base.cls basics
|
||||
${LATEX_CMD} base.tex
|
||||
|
||||
clean:
|
||||
|
@ -2,5 +2,8 @@
|
||||
|
||||
This repo tries to provide a uniform CV and cover letter document class (and template)
|
||||
|
||||
## Requirements
|
||||
|
||||
You need lato and DejaVu Sans Extra installed on your system. On ubuntu, you need the packages `tf-dejavu-extra` and `fonts-lato` installed.
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
% Set main fonts
|
||||
\usepackage{fontspec}
|
||||
\setmainfont[Color=2b2b2b, Path = fonts/,BoldItalicFont=Lato-Italic,BoldFont=Lato-Regular,ItalicFont=Lato-LightItalic]{Lato-Light}
|
||||
\setsansfont[Scale=MatchLowercase,Ligatures=TeX, Path = fonts/]{DeJaVuSans-ExtraLight}
|
||||
\setsansfont[Scale=MatchLowercase,Ligatures=TeX, Path = fonts/]{DejaVuSans-ExtraLight}
|
||||
|
||||
% link styling and helpers
|
||||
\RequirePackage[dvipsnames]{xcolor}
|
||||
|
Loading…
Reference in New Issue
Block a user