특수 수학 알파벳을 삽입하는 방법

특수 수학 알파벳을 삽입하는 방법

"cavity finesse"라는 물리량에 대한 방정식에 특수 수학 알파벳을 삽입하려고 합니다. 기본적으로 그림에 표시된 것과 같은 멋진 문자 F로 표시됩니다. (참조:http://mirrors.ctan.org/macros/latex/contrib/mathalpha/doc/mathalpha-doc.pdf).

몇 가지 조사를 해본 결과 수학 패키지를 다운로드해야 사용할 수 있는 것으로 나타났습니다. 그러나 대부분은 무료가 아닙니다. 나에게 필요한 것은 패키지에 있는 단 한 글자뿐이며 아마도 몇 번만 사용할 것입니다. 쉽게 삽입할 수 있는 방법이 있나요?

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

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

지금 사용하고 있지만 \mathcal{F}(하단 그림 참조) 그다지 좋아 보이지는 않습니다.

답변1

예를 들어 기본 TeX 설치를 사용하면 다음 중 하나를 생성할 수 있습니다(다른 옵션 중에서).

4F

다음과 같은 코드로:

\documentclass{article}
\usepackage[T1]{fontenc}
\DeclareFontFamily{T1}{calligra}{}
\DeclareFontShape{T1}{calligra}{m}{n}{<->s*[1.44]callig15}{}
\DeclareMathAlphabet\mathcalligra   {T1}{calligra} {m} {n}
\DeclareMathAlphabet\mathzapf       {T1}{pzc} {mb} {it}
\DeclareMathAlphabet\mathchorus     {T1}{qzc} {m} {n}
\DeclareMathAlphabet\mathrsfso      {U}{rsfso}{m}{n}
\begin{document}
\Huge
\noindent
      $\mathzapf{F}$\marginpar{Zapf}\\
      $\mathchorus{F}$\marginpar{tgchorus}\\
      $\mathcalligra{F}$\marginpar{calligra}\\
      $\mathrsfso{F}$\marginpar{rsfso}\\
\end{document}

답변2

패키지 dutchcal를 사용하면 dutchcal 글꼴을 바로 사용할 수 있습니다. 이 글꼴은 약간 재작업된 시대적 글꼴인 esstix 글꼴에서 파생되었습니다. MiKTeX를 사용하는 경우 MiKTeX 패키지 관리자를 사용하여 설치한 후 updmap글꼴을 완전히 사용하려면 실행해야 하는 경우가 많습니다 .

    \documentclass{article}
    \usepackage{dutchcal}

    \begin{document}
     $ \mathcal{F}\enspace  \mathbcal{F}$

    \end{document} 

여기에 이미지 설명을 입력하세요 패키지 도 있지만 bickhamTeX 시스템에서 글꼴을 실제로 사용할 수 있도록 하는 것이 더 복잡합니다. Bickham은 개방형 글꼴이므로 LCDF 유형 도구를 사용하여 유형 1로 변환해야 합니다.

답변3

\mathcal{F}with 를 사용하여 사용 가능한 버전을 사용해 볼 수도 있습니다 \usepackage{F}. 이것은 (내 의견으로는) 훨씬 더 즐거운 붓글씨 스크립트를 제공합니다.

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

암호:

\documentclass[]{article}
\usepackage{eucal}
\begin{document}

% eucal redefines \mathcal command but keeps original
% Computer Modern version available as \CMcal
$\CMcal{F}$ Original \verb!\mathcal{F}!

$\mathcal{F}$ \verb!\mathcal{F}! with \verb!eucal! 


\end{document}

자세한 내용은 다음을 참조하세요.\mathcal{F} 문자에는 두 가지 다른 버전이 있나요?.

답변4

유니코드 시스템 글꼴 샘플( package 를 통해 액세스 unicode-math)에서 기호 모양에 대한 곱슬 정도를 사용할 수 있습니다.

스크립트 F 샘플

MWE:

\documentclass[12pt]{article}
\usepackage{xcolor}
\pagecolor{red!3}
\usepackage{unicode-math}
\setmathfont{XITS Math}[Colour=blue]
\setmathfontface\masana{Asana Math}
\setmathfontface\mdejavu{DejaVu Math}
\setmathfontface\mtgdeja{TeX Gyre DejaVu Math}
\setmathfontface\mpagella{TeX Gyre Pagella Math}
\setmathfontface\mbonum{TeX Gyre Bonum Math}
\setmathfontface\mschola{TeX Gyre Schola Math}
\setmathfontface\mtermes{TeX Gyre Termes Math}
\setmathfontface\mlatin{Latin Modern Math}
\setmathfontface\mcambria{Cambria Math}
\setmathfontface\mfira{Fira Math}
\setmathfontface\mfreeserif{FreeSerif}
\setmathfontface\mlibert{Libertinus Math}
\setmathfontface\mnoto{Noto Sans Symbols}
\setmathfontface\mqui{Quivira}
\setmathfontface\mstixtwo{STIX Two Math}
\setmathfontface\mstixgen{STIXGeneral}
\setmathfontface\msymbola{Symbola}
\setmathfontface\mgaramond{\detokenize{Garamond-Math}}
\newcommand\mfsize{\Huge}
\setmainfont{Noto Serif}


%mas = Mathematical Alphanumeric Symbols block in unicode
\newcommand\themassym{ℱ}
\begin{document}
\section {Sampling {\mfsize $\symcal{F}$}}%symbol name comes from   unicode-math-table.tex

This is script {\mfsize $\symcal{F}$} (unicode Letterlike Symbols U+2131) in math mode: 


\vspace{24pt}

\begin{tabular}{rccl}
XITS Math & \mfsize $\themassym$ & \mfsize $\mcambria \themassym$ & Cambria Math \\ 
\ &\ & \ & \ \\ 
Asana Math & \mfsize $\masana {\themassym}$ & \mfsize $\mfira \themassym$ & Fira Math (no script series)\\ 
\ &\ & \ & \ \\ 
DejaVu Math & \mfsize $\mdejavu \themassym$ & \mfsize $\mfreeserif \themassym$ & FreeSerif \\
\ &\ & \ & \ \\ 
Tex Gyre Bonum Math & \mfsize $\mbonum \themassym$ & \mfsize $\mlibert \themassym$ & Libertinus Math \\
\ &\ & \ & \ \\ 
Tex Gyre DejaVu Math & \mfsize $\mtgdeja \themassym$ & \mfsize $\mnoto \themassym$ & Noto Sans Symbols \\
\ &\ & \ & \ \\ 
Tex Gyre Pagella Math & \mfsize $\mpagella \themassym$ & \mfsize $\mqui \themassym$ & Quivira \\
\ &\ & \ & \ \\ 
Tex Gyre Schola Math & \mfsize $\mschola \themassym$ & \mfsize $\mstixtwo \themassym$ &STIX Two Math \\
\ &\ & \ & \ \\ 
Tex Gyre Termes Math & \mfsize $\mtermes \themassym$ & \mfsize $\mgaramond \themassym$ & Garamond-Math \\
\ &\ & \ & \ \\ 
Latin Modern Math & \mfsize $\mlatin \themassym$ & \mfsize $\msymbola \themassym$ & Symbola \\
\end{tabular}

\end{document}

관련 정보