![Schriftarten und Kalibrierung im Mathematikmodus](https://rvso.com/image/266437/Schriftarten%20und%20Kalibrierung%20im%20Mathematikmodus.png)
Hat jemand eine Idee, wie man das Kleine +
in den tiefgestellten Ziffern, das Kürzere \overline
in den Ziffern \mathbb{N}
und das Dicke \verts
in der Halbnorm unten hinbekommt, wie in der folgenden Notation zu sehen?
Antwort1
Hier sind einige mögliche Lösungen.
Verwenden Sie es \smallerplus
für die verkleinerte Größe „Plus“ und \shorteroverline{<symbol>}
wenn Sie einen kürzeren Überstrich benötigen.
Denn \fatnorm
die Syntax ist
\fatnorm*{<formula>}
für die "automatisch erweiterbare Version"\fatnorm[<size>]{<formula>}
für die manuell angegebene Größe; der Standardwert ist „nichts“,<size>
kann aber auch\big
,\Big
,\bigg
oder sein\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}
Ändern Sie die Zahl, \@fatnormbar
wenn Sie eine andere Breite für die Fettnormbalken wünschen.
Antwort2
Da Sie kein MWE angehängt haben, gebe ich Ihnen Folgendes vollständig:
\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}
Ich hoffe, das passt für Sie (obwohl es möglicherweise keine sehr kompakte Lösung ist).