앰퍼샌드, &, 정리 내부?

앰퍼샌드, &, 정리 내부?

정리 안에 "&" 기호를 쓰려고 하면 내가 원하는 것과 다르게 보입니다. 정리 내부에 기호를 가져오는 방법이 있나요? 내가 얻는 것은 다음과 같습니다.

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

코드는 다음과 같습니다.

\documentclass[a4paper]{memoir}
\usepackage{amsmath}
\usepackage{amsthm}
\newtheorem{theo}{Theorem}

\begin{document}
    Outside theorem \&
\begin{theo}
    Inside theorem \&

    Inside theorem 2 \text{\&}
    \end{theo}
\end{document}

이 문제를 해결하는 방법을 아시나요?

답변1

댓글의 제안은 효과가 있지만 해당 디자인에는 없지만 적절한 기울임꼴 앰퍼샌드를 원하는 것 같습니다. 이에 대한 두 가지 해결 방법이 있습니다.

  1. 완전히 다른 글꼴을 사용하십시오. Tgtermes는 Computer Modern(기본 tex 글꼴)에 가깝지만 원하는 앰퍼샌드를 제공합니다.

    \documentclass[a4paper]{memoir}
    \usepackage{amsmath}
    \usepackage{amsthm}
    \usepackage{tgtermes}
    \newtheorem{theo}{Theorem}
    
    \begin{document}
        Outside theorem \&
    \begin{theo}
        Inside theorem \&
    
    Inside theorem 2 \&
    \end{theo}
    
    \end{document}
    
  2. 다른 글꼴에서 개별 문자를 빌려옵니다. 예를 참조하십시오XeLaTeX로 글꼴 대체

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

관련 정보