Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change font? #7

Closed
joelnitta opened this issue Dec 17, 2023 · 3 comments
Closed

Change font? #7

joelnitta opened this issue Dec 17, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@joelnitta
Copy link

Thanks for the great template!

How can I change the font?

@mps9506
Copy link
Owner

mps9506 commented Dec 17, 2023

@joelnitta You should be able to add the following in the yaml header

fontfamily: lmodern

Where fontfamily corresponds to one of the font families in the latex font catalogue: https://tug.org/FontCatalogue/latinmodernroman/

But it isn't working when I tried. I can see tinytex download the required files so something is wrong in the template.

I'll plan on updating this to use both local fonts and latex package fonts when I have the chance. Thanks for the report.

@mps9506 mps9506 self-assigned this Dec 17, 2023
@mps9506 mps9506 added the bug Something isn't working label Dec 17, 2023
@joelnitta
Copy link
Author

Thanks!

BTW if you're interested in seeing a use-case for the template along with a few tweaks, please check out my new CV :) https://github.com/joelnitta/joelnitta-cv

mps9506 added a commit that referenced this issue Dec 18, 2023
@mps9506 mps9506 mentioned this issue Dec 18, 2023
Merged
@mps9506
Copy link
Owner

mps9506 commented Dec 18, 2023

@joelnitta I just pushed a new release that enables specifying fonts. See the readme or new template.qmd for info on how to use. You will need to reinstall/update the template in your project directory to utilize it:

mps9506@DESKTOP-I3HUM8A:~/temp-quarto-fonts$ quarto install extension mps9506/quarto-cv

Quarto extensions may execute code when documents are rendered. If you do not 
trust the authors of the extension, we recommend that you do not install or 
use the extension.
 ? Do you trust the authors of this extension (Y/n) › Yes
[✓] Downloading
[✓] Unzipping
    Found 1 extension.

The following changes will be made:
quarto-cv   [Update] 1.0.1 -> 1.0.2 (format)
 ? Would you like to continue (Y/n) › Yes

[✓] Extension installation complete.
Learn more about this extension at https://www.github.com/mps9506/quarto-cv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants