
答案1
確實這個地方unicode映射錯了。馬耳他十字索引為U+2720。但我能找到正確映射它的唯一字體是字體代碼2000。它帶來以下符號:
以下 MWE 顯示如何載入此符號並證明了可擴充性。它可以用於文字和數學:
% arara: lualatex
\documentclass{article}
\usepackage{booktabs}
\usepackage{fontspec}
%\usepackage{bbding} % for \CrossMaltese % results in a Koch Pattée which is to ugly to show
\usepackage{pifont} % for \ding{64}
\usepackage{MnSymbol} % for \MnMaltese
\let\MnMaltese\maltese
\usepackage{mathtools}
\usepackage{unicode-math}
\newcommand*{\amalfi}{\ensuremath{\text{\fontspec{code2000.ttf}\symbol{"2720}}}}
\begin{document}
{\Huge\amalfi}
In text \amalfi{}, in in-line math $\amalfi$, and in a formula:
\[\amalfi_{\amalfi_\amalfi}\]
\begin{tabular}{ll}\toprule
Symbol&Example\\\midrule
Iron Cross (Pattée)&$\maltese$\setmathfont{Asana Math}$\maltese$\setmathfont{TeX Gyre Pagella Math}$\maltese$\ding{64}$\MnMaltese$\setmainfont{symbola.ttf}\symbol{"2720}\\
Pattée acc.\ Koch&\setmathfont{XITS-Math}$\maltese$\setmainfont{quivira.otf}\symbol{"2720}\setmainfont{DejaVuSans}\symbol{"2720}\\
Maltese Cross&\amalfi\\\bottomrule
\end{tabular}
\end{document}
最後,我對現有的「馬耳他」雜交進行了一些研究。下表顯示了可能的符號。它不包含來自的符號字體棒然而,但正如伯納德在評論中提到的,有一個功能要求大約。希望他們能做對。
編輯:馬耳他十字符號的最短版本
\documentclass{article}
\usepackage{fontspec}
\usepackage{mathtools}
\newcommand*{\amalfi}{\ensuremath{\text{\fontspec{code2000.ttf}\symbol{"2720}}}}
\begin{document}
\amalfi
\end{document}
答案2
我不知道您是否認為這是出於您的目的的“數學字元”,但是您可以使用 TikZ 繪製一個符號並將其縮放到您選擇的符號的大小(在本例中為數字 0),以便它數學環境中的尺度。
另外,我目測了尺寸,所以長度和角度可能都是錯的。請隨意改進它們。 ;)
也適用於不同字體大小的文字模式:
\documentclass{article}
\usepackage{tikz}
\usepackage{scalerel}
\newcommand{\maltcross}{\scalerel*{%
\tikz\fill
(0.02,0.02) -- (0.2,0.5) -- (0,0.4) -- (-0.2,0.5) --
(-0.02,0.02) -- (-0.5,0.2) -- (-0.4,0) -- (-0.5,-0.2) --
(-0.02,-0.02) -- (-0.2,-0.5) -- (0,-0.4) -- (0.2,-0.5) --
(0.02,-0.02) -- (0.5,-0.2) -- (0.4,0) -- (0.5,0.2) --
cycle;}% Scale this picture...
{0}% ...to the size of this symbol.
}
\begin{document}
\[
f(\maltcross, y) = 2^{\maltcross} \cdot 2^{3^{\maltcross}} + y\maltcross
- \int\limits_{\maltcross}^{\maltcross+1} 9\maltcross
\]
\tiny \maltcross
\scriptsize \maltcross
\footnotesize \maltcross
\normalsize \maltcross
\large \maltcross
\Large \maltcross
\LARGE \maltcross
\Huge \maltcross
\end{document}