짝수 및 홀수 신호용 라텍스

짝수 및 홀수 신호용 라텍스

내 텍스트는 함수의 짝수 부분과 홀수 부분을 제공하는 고차 함수를 나타내기 위해 다른 글꼴을 사용합니다. Latex로 어떻게 작성하나요?

교과서에 나온 사진

답변1

귀하의 질문은 수학 붓글씨 문자를 사용하여 "Ev"와 "Od"를 쓰는 방법에 관한 것이라고 가정합니다.

대문자 "E"와 "O"의 경우 각각 \mathcal{E}및 를 입력하면 됩니다 \mathcal{O}.

사실상 모든 TeX 설치의 기본 텍스트 및 수학 글꼴 계열인 Computer Modern은 실제 붓글씨 소문자를 제공하지 않습니다. 실제로 실제 소문자 붓글씨 문자를 제공하는 수학 글꼴은 거의 없습니다. 다음은 11가지 가능성이 있는 표입니다. \usepackage{Unicode-math}및 다양한 지시어 에 LuaLaTeX를 사용해야 한다는 점에 유의하세요 \setmathfont.

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

% !TEX TS-program = lualatex
\documentclass{article}
\newcommand\test{$\mathcal{Ev}\{x(t)\} \quad \mathcal{Od}\{x(t)\}$}

\usepackage{unicode-math}
%% Load various math fonts:
\setmathfont{Latin Modern Math}[version=LM]
\setmathfont{Stix Math}[version=Stix]
\setmathfont{XITS Math}[version=XITS]
\setmathfont{Stix Two Math}[version=Stix2]
\setmathfont{Cambria Math}[version=Cambria]
\setmathfont{Asana Math}[version=Asana]
\setmathfont{Asana Math}[Alternate,version=AsanaAlt]
\setmathfont{TeX Gyre Pagella Math}[version=Pagella]
\setmathfont{TeX Gyre Termes Math}[version=Termes]
\setmathfont{TeX Gyre DejaVu Math}[version=DejaVu]
\setmathfont{Libertinus Math}[version=Libertinus]

\begin{document}
\renewcommand\arraystretch{1.5}
\begin{tabular}{@{}ll@{}}
Latin Modern   & \mathversion{LM}      \test \\
Stix           & \mathversion{Stix}    \test \\
XITS           & \mathversion{XITS}    \test \\
Stix Two       & \mathversion{Stix2}   \test \\
Cambria        & \mathversion{Cambria} \test \\
Asana          & \mathversion{Asana}   \test \\
Asana Alt      & \mathversion{AsanaAlt}\test \\
Pagella        & \mathversion{Pagella} \test \\
Termes         & \mathversion{Termes}  \test \\
DejaVu         & \mathversion{DejaVu}  \test \\
Libertinus Math& \mathversion{Libertinus} \test
\end{tabular}
\end{document} 

관련 정보