AAGI-AUS / AAGITemplates

Rmarkdown, LaTeX, and Knitr reporting templates for AAGI staff.
MIT License
6 stars 4 forks source link

Use Proxima font (if available) as default for reports/presentations? #4

Open RussellAndrewEdson opened 4 months ago

RussellAndrewEdson commented 4 months ago

This seems like it should be possible with minimal fuss with Quarto/RMarkdown/LaTeX, see e.g. here: https://www.overleaf.com/learn/latex/Questions/I_have_a_custom_font_I'd_like_to_load_to_my_document._How_can_I_do_this

Something like:

  1. Check if Proxima font is available in the font directory hierarchy
  2. If so, use it as the default font (we might need to check how this works with math typesetting, etc)
  3. If not, fallback to Computer Modern (Edit: Or Arial? I expect Computer Modern looks better and is the easier default, but the logo guidelines specify Arial when Proxima Nova isn't available...)
adamhsparks commented 3 months ago

Fallback to Arial and then Computer Modern gets my vote.

It's pretty easy to set it up in the Word documents as the default font as illustrated in the https://github.com/AAGI-Org-AU-Public/quarto_word repo's, https://github.com/AAGI-Org-AU-Public/quarto_word/blob/main/AAGI_Word_Style_Template.docx file.