===== How to Know Where to Put Your Font File (Windows) ===== At the commandline, run this: kpsewhich --var=TEXMFLOCAL It will give you a directory, such as C:\texlive\texmf-local. On that path you will find \fonts\truetype\public This is where you put your fonts (you can use subfolders if you want to). ===== How to Add Fonts for Use with LuaLaTex (Windows) ===== - Locate your lualatex fonts folder (for example, C:\texlive\texmf-local\fonts\truetype\public - Place your font there (you can use a subfolder if you like) - Now you have to tell lualatex that they are available. Open your commandline and run this command: texhash - Don't forget that in your tex file, you have to use \usepackage{fontspec} - And, to actually call the font, do this within the \begin{document} section: \newfontface\MyFont{MyFont} %or, to use it in just one place \begin{center}\MyFont\huge{The Score Title}\end{center} ===== Updating an Existing Font ===== To update a font, you do the same thing you would if you want to add a font, except that you *first* have to erase lulatex's font cache, so you would do this: luaotfload-tool --cache=erase texhash Running the luaotfload-tool --cache=erase command will erase the cache located at C:\texlive\2013\texmf-var\luatex-cache\. But don't worry, the next time you compile a tex file, lualatex will rebuid the cache automatically. ===== Links ====== * [[http://tex.stackexchange.com/questions/232921/updating-your-own-font/232931#232931|Updating Your Own Font]] * [[http://tex.stackexchange.com/questions/25249/how-do-i-use-a-particular-font-for-a-small-section-of-text-in-my-document|How to use a particular font in a particular place]] Back to [[Start]] Page