# Tag Info

## Hot answers tagged fonts

5

There is no boldface small caps font available, so you won't get it. Also \fontsize{50}{50} is not really something one wants to do. What you have to modify is not the \title command, but the \maketitle command. What \title does is just storing the title is a safe place for later retrieval, when the document header will be typeset. Don't forget the sc ...

5

Your log-file says LaTeX Font Info: No file OT1qtm.fd. on input line 862. LaTeX then falls back to cmr and so you are missing the bold font. The missing file is from the TeX-Gyre fonts. You will have to install them, or remove the code which change to this font, or add something like \usepackage{mathptmx} in your document to switch to another font.

4

The titling package allows you to reformat the title etc. relatively painlessly. However, even using egreg's font size suggestion, your title took the entire first page when I tested, without even room for the date. So I've used a somewhat smaller size for purposes of demonstration. I'd still recommend a smaller size but you may have different ideas. ...

4

I would say that really much depends on what you are trying to achieve. Do you want to make a class that others can use as well? You can define your own commands for sectioning. Are there just minor changes within one of your documents? Use package etoolbox and patch your changes. Are there bigger changes to the sectioning and titles? Package titlesec is ...

4

Something like this? This takes a maths alphabet. You can avoid this if necessary but if you want several symbols from the font, it is more straightforward this way. \documentclass{article} \DeclareSymbolFont{extraitalic} {U}{zavm}{m}{it} \DeclareMathSymbol{\Qoppa}{\mathord}{extraitalic}{161} \DeclareMathSymbol{\qoppa}{\mathord}{extraitalic}{162} ...

3

Only hints how to change the fonts, although there are other ways, of course. The standard font is Computer Modern, to use a font it's necessary to know it's font family and available shapes/series. Important is the \selectfont command. \documentclass{article} \usepackage[scaled=0.92]{helvet} \usepackage{courier} \usepackage{blindtext} \begin{document} ...

3

Since QuickLaTeX allows a custom preamble you can simply add a font package, just like you would in a LaTeX document: $[preamble] \usepackage{chemfig} [/preamble] \chemname{\chemfig{CH_3-CH(-[2]CH_3)-CH_2-Cl}}{Isobutyl chloride}$ [latex] [preamble] \usepackage{libertine} \usepackage[libertine]{newtxmath} \usepackage{chemfig} [/preamble] ...

3

It's a well known problem with mathspec; you have to precede the letter with " in order that superscripts are better placed: \documentclass{article} \usepackage{amsmath} \usepackage{sfmath} \usepackage{mathspec} %\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \setmainfont{Universalis ADF Std} \setmathfont{XITS Math} ...

2

opmac defines its own font selection scheme in the ams-math.tex file with the \regtfm and auxiliary macros. Unfortunately, this fss works only for ordinary tfm fonts, afaik. Again, unfortunately, the macros are documented only in Czech; fortunately, they are simple yet somewhat terse.

2

Quick and dirty: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage{mathpazo} \usepackage{blindtext} \title{\fontsize{40}{45}\scshape\bfseries\noindent Hinter eines Baumes Rinde wohnt die Made mit dem Kinde. Sie ist Witwe, denn der Gatte, den sie hatte, fiel vom Blatte. ...

2

Disclaimer: I do not recommend changing the metrics of standard font files, especially not on system level. Using a new font name and configuring the TeX file/package/... to use the new font name instead seems the cleaner approach to me. In the virtual font, ocmr10.tfm is referred. But only the metrics exists. An actual font mapping is needed, but you ...

2

In the case of dvipdfmx, it seems that cmr10.vf is not read if the original map is effective. The follwoing gives an output which Igor wants: \special{pdf:mapline -cmr10 CMR10 <cmr10.pfb} \special{pdf:mapline +ocmr10 CMR10 <cmr10.pfb} \nopagenumbers \font\xxx=cmr10 \xxx M \bye

2

A bit long as a comment so I'm adding this as answer. As it looks as if you don't take the font metrics into account here an example to show you that you can't simply exchange glyphs. The following document uses only one "real" font: sftt1000.pfb. The first paragraph sets this font using the metrics from the normal roman family and the second the correct ...

1

Ah, thanks very much for spotting this! The reason this occurs is two-fold. Firstly, when loading a maths font, unicode-math queries it to establish the sizes it should define for script and scriptscript sizes. After doing this, it needs to re-load the font with these new sizes, and that wasn't happening. (I don't know if this was actually a problem in ...

1

That the math font for \mathcal changes, when package txgreeks is loaded, is not an incompatibility, but intended behavior, the abstract of package txgreeks: The TX Fonts 1 of Young Ryu provide a very complete replacement for the default math fonts of TeX and LaTeX, containing all CM symbols and even all symbols from the AMS fonts, and more. In ...

Only top voted, non community-wiki answers of a minimum length are eligible