Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This has been my go to resource for choosing the fonts before starting a new LaTeX project.


This is great. But how do you use them? I've not ever been able to successfully figure out how to bring new fonts a latex doc (I use miktek).


You really want to use LuaLaTeX (if you don't do so already) and then you can just load any font on your system using

    \usepackage{fontspec}
    \setmainfont{Whatever your font's name is}
Especially you don't have to deal with installing old Type 1 fonts which is messy, especially when they are not included in your TeX distribution.

You can also follow the instructions in the catalog which for some fonts show how to use them in pdfLaTeX, but these days pdfLaTeX mostly makes sense if you want to submit to journals which do not accept modern engines and such journals probably don't allow you to change the font anyway.


if you click through to the pages for any of the fonts, there is usage instructions and a working example.


now lot of fonts are available as packages just including those packages will change the default font even with pdflatex

for example:

\usepackage{libertine}

or

\usepackage{kpfonts}

should get you going




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: