mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-23 05:15:30 +08:00
Merge c5c3d72285 into 36075ed034
This commit is contained in:
commit
9a653bf670
3 changed files with 18 additions and 4 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM texlive/texlive:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
fonts-roboto \
|
||||
fonts-adobe-sourcesans3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN luaotfload-tool --update
|
||||
12
README.md
12
README.md
|
|
@ -90,17 +90,23 @@ xelatex {your-cv}.tex
|
|||
Or using docker:
|
||||
|
||||
```bash
|
||||
docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc texlive/texlive:latest make
|
||||
IMAGE_NAME="texlive-with-fonts"
|
||||
|
||||
# Build Docker image if needed
|
||||
docker build -t "$IMAGE_NAME" .
|
||||
|
||||
# Compile all
|
||||
docker run --rm --user "$(id -u):$(id -g)" -i -w "/doc" -v "$PWD":/doc "$IMAGE_NAME:latest" make
|
||||
```
|
||||
|
||||
In either case, this should result in the creation of ``{your-cv}.pdf``
|
||||
In either case, this should result in the creation of `{your-cv}.pdf`.
|
||||
|
||||
|
||||
## Credit
|
||||
|
||||
[**LaTeX**](https://www.latex-project.org) is a fantastic typesetting program that a lot of people use these days, especially the math and computer science people in academia.
|
||||
|
||||
[**FontAwesome6 LaTeX Package**](https://github.com/braniii/fontawesome) is a LaTeX package that provides access to the [Font Awesome 6](https://fontawesome.com/v6/icons) icon set.
|
||||
[**FontAwesome7 LaTeX Package**](https://github.com/braniii/fontawesome) is a LaTeX package that provides access to the [Font Awesome 7](https://fontawesome.com/v7/icons) icon set.
|
||||
|
||||
[**Roboto**](https://github.com/google/roboto) is the default font on Android and ChromeOS, and the recommended font for Google’s visual language, Material Design.
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
% Needed to manage math fonts
|
||||
\RequirePackage{unicode-math}
|
||||
% Needed to use icons from font-awesome
|
||||
\RequirePackage{fontawesome6}
|
||||
\RequirePackage{fontawesome7}
|
||||
\RequirePackage{accsupp}
|
||||
\defaultfontfeatures{
|
||||
Renderer=HarfBuzz,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue