I use concrete-roman
as in Knuth's Concrete Mathematics as my main font. However, it does not come with a math font, so I include eulervm
for it.
\usepackage{amsmath,amssymb,amsthm}
\usepackage{concrete}% the concrete-roman, used in concrete mathetics
\usepackage{eulervm}% the math fonts used in concrete mathematics
This has gone well until I tried to boldify my theorems. Namely, instead of
Theorem 4.1. 1+1 = 2
I want
Theorem 4.1. 1+1 = 2.
For this, I added the following command to header copying from How to make the optional title of a theorem bold with amsthm?
\newtheoremstyle{mystyle}% % Name
{}% % Space above
{}% % Space below
{}% % Body font
{}% % Indent amount
{\bfseries}% % Theorem head font
{.}% % Punctuation after theorem head
{.5em}% % Space after theorem head, ' ', or \newline
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}% % Theorem head spec (can be left empty, meaning `normal')
\theoremstyle{mystyle}
\numberwithin{equation}{subsection}
\newtheorem{theorem}[equation]{Theorem}
It does not work.
If I remove eulervm
, then the theorems do get boldified. However, the fonts fall back to some default ones..
Question
How to I remain in the la-la-land of concrete+eulervm
fonts, with boldified theorems?
possibly related
It's pointed out in Bold mathematics in eulervm that eulervm
handles bold fonts differently. But they only addressed bold math fonts..
Minimal example
Below is a minimal example that compiles with $ pdflatex
. You can toggle eulervm
to see the effects described in my question. Notice that mystyle
is indeed working: disabling \theoremstyle{mystyle}
changes the font of the body to italic (default).
\documentclass[15pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{concrete}% the concrete-roman, used in concrete mathetics
\usepackage{eulervm}% the math fonts used in concrete mathematics
\newtheoremstyle{mystyle}% % Name
{}% % Space above
{}% % Space below
{}% % Body font
{}% % Indent amount
{\bfseries}% % Theorem head font
{.}% % Punctuation after theorem head
{.5em}% % Space after theorem head, ' ', or \newline
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}% % Theorem head spec (can be left empty, meaning `normal')
\theoremstyle{mystyle}
\newtheorem{theorem}[equation]{Theorem}
\begin{document}
\begin{theorem}
The sum of $1$ and $1$ is $2$.
\end{theorem}
\end{document}
\usepackage{concrete}
to\usepackage{ccfonts}
. Longer answer: tex.stackexchange.com/a/425887/61644\newtheorem{theorem}{Theorem}
.