![数式モードでのフォントと調整](https://rvso.com/image/266437/%E6%95%B0%E5%BC%8F%E3%83%A2%E3%83%BC%E3%83%89%E3%81%A7%E3%81%AE%E3%83%95%E3%82%A9%E3%83%B3%E3%83%88%E3%81%A8%E8%AA%BF%E6%95%B4.png)
+
次の表記法に示すように、下付き文字の小さい方、\overline
上の文字の短い方、下の半正規形の\mathbb{N}
太い方を取得する方法について、何かアイデアをお持ちの方はいらっしゃいますか?\verts
答え1
考えられる解決策をいくつか示します。
\smallerplus
縮小サイズプラスと、\shorteroverline{<symbol>}
より短いオーバーラインが必要な場合に使用します。
\fatnorm
構文は
\fatnorm*{<formula>}
「自動拡張バージョン」の場合\fatnorm[<size>]{<formula>}
手動で指定されたサイズ。デフォルトは「なし」ですが、、、またはにする<size>
こともできます。\big
\Big
\bigg
\Bigg
\documentclass{article}
\usepackage{amssymb,amsmath}
%% service macros
\newcommand{\shorteroverline}[1]{%
{\mkern1mu\overline{\mkern-1mu#1\mkern-1mu}\mkern1mu}}
\newcommand{\smallerplus}{\mathchoice
{\scriptstyle+}
{\scriptscriptstyle+}
{\scriptscriptstyle+}
{\scriptscriptstyle+}
}
%% N with shorter bar and smaller plus
\newcommand{\Nbarplus}{\shorteroverline{\mathbb{N}}_{\smallerplus}}
%% fat norm
\makeatletter
\newcommand{\@fatnormbar}{\vrule\@width 1.2\p@}
\newcommand{\fatnorm}{\@ifstar\@xfatnorm\@fatnorm}
\newcommand{\@xfatnorm}[1]{%
\left.\kern-\nulldelimiterspace
\@fatnormbar
#1
\@fatnormbar
\right.\kern-\nulldelimiterspace
}
\newcommand\@fatnorm[2][]{%
\mathopen{\vphantom{#1|}\mkern2mu\@fatnormbar\mkern2mu}
#2
\mathclose{\vphantom{#1|}\mkern2mu\@fatnormbar\mkern2mu}
}
\makeatother
\begin{document}
$\Nbarplus$
$\displaystyle\fatnorm*{\frac{1}{2}}
\fatnorm{v}\fatnorm[\big]{v}\fatnorm[\Big]{v}$
\end{document}
\@fatnormbar
ファットノルムバーの幅を変更したい場合は、数値を変更します。
答え2
MWE が添付されていないので、完全な形で提供します。
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{dsfont}
\usepackage{amsmath}
\newcommand{\minus}{{}^{-}}
\newcommand{\plus}{{}^{+}}
\newcommand{\bigvert}{\mathop{\rule{1ex}{1em}}}
\makeatletter
\newsavebox\myboxA
\newsavebox\myboxB
\newlength\mylenA
\newcommand*\xoverline[2][0.75]{%
\sbox{\myboxA}{$\m@th#2$}%
\setbox\myboxB\null% Phantom box
\ht\myboxB=\ht\myboxA%
\dp\myboxB=\dp\myboxA%
\wd\myboxB=#1\wd\myboxA% Scale phantom
\sbox\myboxB{$\m@th\overline{\copy\myboxB}$}% Overlined phantom
\setlength\mylenA{\the\wd\myboxA}% calc width diff
\addtolength\mylenA{-\the\wd\myboxB}%
\ifdim\wd\myboxB<\wd\myboxA%
\rlap{\hskip 0.5\mylenA\usebox\myboxB}{\usebox\myboxA}%
\else
\hskip -0.5\mylenA\rlap{\usebox\myboxA}{\hskip 0.5\mylenA\usebox\myboxB}%
\fi}
\makeatother
\begin{document}
\begin{equation}
\mathds{R}_\mathrm{\plus}
\end{equation}
\begin{equation}
\xoverline{\mathds{N}}
\end{equation}
\begin{equation}
\bigvert \cdot \bigvert {}_\infty
\end{equation}
\end{document}
これがあなたに合うことを願っています (あまりコンパクトな解決策ではないかもしれませんが)。