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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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}
\makeatotherCode: 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.