Log in Sign up

Changing fonts and TeX typesetting

I would like to change fonts for my posts and perhaps also change the font used in TeX equations and formulas, is that possible? It feels off having text and formulas with different fonts/styles.


3 years ago, 3 replies   Edit question

You can change the fonts for most of Blot's templates if you 'Fork' your existing template, and open the template editor. You should see font options in the sidebar on the left of the template editor.

It's not possible to customize the TeX font at the moment. Behind the scenes Blot uses KaTeX and it seems that KaTeX does not support custom fonts.

Answered 4 years ago · Edit answer

Is there a way to add a custom font (e.g. from Google Fonts) instead of choosing from the list provided?

Answered 3 years ago · Edit answer

Absolutely, you'll need to follow Google's instructions for embedding the font and using in your template. Typically, you'll add some <link> elements to your template's <head> section, which is typically located in head.html. Then you'll need to replace the relevant font-face declarations in your template's CSS file, which is typically style.css.

Answered 3 years ago · Edit answer