# How to use non-default Google Font (Damion) in a LaTeX document?

Is there any way of using a Google font that is not provided in LaTeX by default? More specifically, I would like to use the Damion font for a special word in my LaTeX document:

I have downloaded the .ttf file for the font, and I am wondering how I can use it for my LaTeX document.

TeX - LaTeX Asked on November 12, 2021

If you copy the font to the appropriate directory, you should be able to load it with setmainfont or newfontfamily. The preferred way to load it is by its filename, but you can also load it by family name.

On Windows, you need to install it for all users, not just for your user account, or LuaTeX/XeTeX will not be able to find it. On Mac, I believe you need to install it as a System font as well. The Linux version, however, does search user directories such as ~/.fonts/.

You can also save it under the fonts/truetype/ subdirectory of your local TeX tree. With TeX Live, you can look this up with kpsewhich -var-value=TEXMFLOCAL. (Or TEXMFHOME if you aren’t the sysadmin.) With MikTeX, you would create a new directory yourself and set the TEXINPUTS environment variable.

Finally, if you only need it for one project, you can put it in the project folder. You can also put your fonts in a subdirectory and tell fontspec where to find them with the Path= key. This should be a relative, not absolute, path if you want your document to compile on any other computer, including your next one.

Answered by Davislor on November 12, 2021

## Related Questions

### How to typeset this Euro sign from Cochineal font

3  Asked on June 11, 2021 by gamification

### How to create this chapter title style in XeLaTeX with scrbook

1  Asked on June 11, 2021

### Font family name for Josefin Sans

2  Asked on June 11, 2021 by fogof-mylife

### Why can’t I get the letter F to be aligned nicely

1  Asked on June 11, 2021 by botenvouwer

### Tikz inline plots

0  Asked on June 11, 2021

### How can I include small line before or above title in 2 columns document in center?

0  Asked on June 11, 2021

### Customize enumerate list counter with tikz node

1  Asked on June 11, 2021

### Right header containing the numbers of all exercises in both, left and right, pages

0  Asked on June 11, 2021 by andr-bellache

### Modular arithmetic on node names in TikZ?

6  Asked on June 11, 2021 by leah-wrenn-berman

### Can I use regular polygon wthout using node?

1  Asked on June 11, 2021

### Definition counter resetting on new section

1  Asked on June 11, 2021

### Pandoc unable to find images converting LaTeX do MS Doc

0  Asked on June 11, 2021

### Any way to remove duplicate term IEEE from bibliography?

1  Asked on June 10, 2021

### cannot compile matrix to pdf

0  Asked on June 10, 2021 by josephine-woon

### Big Brackets not working

1  Asked on June 10, 2021

### Why does this regex_split:nnN results in error and insertion of {?

1  Asked on June 10, 2021 by fabian-schneider

### X-axis discontinuity for plot with two ordinate axes – not in pgfplots manual

1  Asked on June 10, 2021

### How can I move the date from right (default) to left side in a letter in LaTeX?

2  Asked on June 10, 2021 by sahoo

### Using TikZ to get correct framing

1  Asked on June 10, 2021

### How to define an adaptive grid or coordinate system on an image?

1  Asked on June 10, 2021