정리 환경에서 숫자의 기울임꼴 글꼴을 조정하는 방법은 무엇입니까?

정리 환경에서 숫자의 기울임꼴 글꼴을 조정하는 방법은 무엇입니까?

정리 환경에서 텍스트의 글꼴 스타일은 숫자를 포함하는 기울임꼴입니다. 그러나 숫자의 기본 이탤릭체는 장식적인 글씨체로 보입니다. 편안한 이탤릭체로 조정하고 싶습니다.

\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의 이탤릭체 스타일은 제가 예상했던 것입니다.

여기에 이미지 설명을 입력하세요

Theorem 환경에서 디지털 이탤릭체 글꼴을 조정하는 방법을 알고 싶습니다. 미리 감사드립니다.

답변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}

관련 정보