I could never be able to use Extra and Ulta Bold font series. Do you know how to define these. Below is my code:

\newcommand{\bfont}{\usefont{T1}{cmr}{b}{n}\fontsize{10}{\baselineskip} \selectfont}
\newcommand{\ubfont}{\usefont{T1}{cmr}{ub}{n}\fontsize{10}{\baselineskip} \selectfont}
\newcommand{\ebfont}{\usefont{T1}{cmr}{eb}{n}\fontsize{10}{\baselineskip} \selectfont}
{\bfont Bold}\\
{\ubfont Ultra Bold}\\
{\ebfont Extra Bold}\\


Which creates: enter image description here

  • Are you using a bespoke version of the Computer Modern font family, i.e., one which defines the "ultra bold" and "extra bold" font weights? I've been using TeX and LaTeX for roughly 30 years, and I've never heard of these two font weights having been created for Computer Modern. The only CM font weights I know about are normal (aka medium), bold extended, and bold.
    – Mico
    Commented Oct 20, 2021 at 5:20
  • Hi Mico. I used just the regular Computer Modern. The font weights can be found on page 26 of: texdoc.org/serve/latex2e.pdf/0
    – Aria
    Commented Oct 20, 2021 at 5:32
  • 1
    @Aria that just lists how the weights are named, it does not say that every font has designs in all those weights (most do not) computer modern (and latin modern) just have bold and bold extended b and bx Commented Oct 20, 2021 at 7:14
  • 1
    @Aria Some example fonts with both Ultra bold and extra bold would be the "Inter" and "Noto" font families. Commented Oct 20, 2021 at 7:25
  • 1
    yes your fonts look pixilated, are you using miktex and have not installed the cm-super package (type 1 computer modern fonts) ? Commented Oct 20, 2021 at 8:07


You must log in to answer this question.

Browse other questions tagged .