Fonts & Character Sets ⇒ Package times - no bold fonts
Package times - no bold fonts
\usepackage{times}
to my document, I can see no bold fonts (e.g. in chapter titles). What's wrong?
I'm using MiKTeX 2.8 and report document class.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Package times - no bold fonts
=>
"Serif Fonts"
=>
"Times"
=>
Code: Select all
\usepackage{mathptmx}

(It's a clone.)
But an answer for what might be wrong with the Times-package, I have no idea. I've never used that before. I always use command I quoted.
If the problem lies within your document class or your preamble, this answer in its whole might be useless to you. I don't know what have set up in your preamble.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Package times - no bold fonts
[1] View topic: Obsolete packages and document classes - Avoid usage!
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Package times - no bold fonts
Bold fonts are working properly when I'm using package [polish]{babel} instead of polski. However, I'm not satisfied, because "polski" has some extra functions, e.g. printing \tan function as tg - exactly like in Polish math textbooks.
A simple solution is:
Code: Select all
\renewcommand{\tan}{\mathrm{tg\,}}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Package times - no bold fonts
Code: Select all
\makeatletter
\def\tg{\mathop{\operator@font tg}\nolimits}
\makeatother
Code: Select all
\def\tan{\mathop{\operator@font tg}\nolimits}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Package times - no bold fonts
\usepackage[T1,plmath]{polski}
and everything works like a charm

Package times - no bold fonts
Package times - no bold fonts
Code: Select all
\usepackage[T1]{fontenc}
\usepackage{times}
If you want more options, you can compile your document using xelatex and use the fontspec package.
Code: Select all
\usepackage{fontspec}
\setmainfont{Times New Roman}
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Package times - no bold fonts
No! As already told, package times is outdated. So the suggestion is not to add another encoding but to use another package instead of times.davidrm wrote:You also have to add some encoding along with times package.
