
В среде теоремы стиль шрифта текста — курсив, включая цифры. Однако курсивный стиль по умолчанию для цифр, похоже, является орнаментальным почерком. Я бы хотел настроить его на удобный курсив.
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amsthm,amssymb,mathrsfs,lineno}
\newtheorem{theorem}{Theorem}[section]
\begin{document}
\begin{theorem}
Any simple 1-planar graph with minimum degree 7 has at least 24 vertices of degree 7.
\end{theorem}
\end{document}
Курсивное начертание цифр 24 и 7 на рисунке ниже — это то, что я ожидал.
Я хотел бы узнать, как настроить шрифт цифрового курсива в среде теоремы. Заранее спасибо.
решение1
Результат, который вы видите, — это просто курсивный шрифт Computer Modern. Похоже, вы бы предпочли, чтобы цифры были наклонными, а не курсивными.
Для этого можно \textsl
использовать наклонный шрифт только для цифр. Тогда результат будет выглядеть так.
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amsthm,amssymb,mathrsfs,lineno}
\newtheorem{theorem}{Theorem}[section]
\begin{document}
\begin{theorem}
Any simple \textsl{1}-planar graph with minimum degree \textsl{7} has at least \textsl{24} vertices of degree \textsl{7}.
\end{theorem}
\end{document}
Другая возможность — изменить весь plain
стиль теоремы (или определить новый) так, чтобы тело теоремы было наклонным. Результат выглядит так.
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amsthm,amssymb,mathrsfs,lineno}
\newtheoremstyle{plain}
{\topsep} % ABOVESPACE
{\topsep} % BELOWSPACE
{\slshape} % BODYFONT
{0pt} % INDENT (empty value is the same as 0pt)
{\bfseries} % HEADFONT
{.} % HEADPUNCT
{5pt plus 1pt minus 1pt} % HEADSPACE
{} % CUSTOM-HEAD-SPEC
\newtheorem{theorem}{Theorem}[section]
\begin{document}
\begin{theorem}
Any simple 1-planar graph with minimum degree 7 has at least 24 vertices of degree 7.
\end{theorem}
\end{document}