¿Alguien tiene alguna idea sobre cómo obtener el pequeño +
en los subíndices, el más corto \overline
en el \mathbb{N}
y el gordo \verts
en la semi norma en la parte inferior como se ve en la siguiente notación?
Respuesta1
A continuación se muestran algunas posibles soluciones.
Úselo \smallerplus
para el tamaño reducido plus y \shorteroverline{<symbol>}
si necesita una línea superior más corta.
Para \fatnorm
la sintaxis es
\fatnorm*{<formula>}
para la "versión automáticamente extensible"\fatnorm[<size>]{<formula>}
para el tamaño especificado manualmente; el valor predeterminado es "nada" , pero<size>
también puede ser\big
, o\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}
Cambie la figura \@fatnormbar
si desea un ancho diferente para las barras gruesas.
Respuesta2
Como no has adjuntado un MWE, te daré esto completo:
\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}
Espero que esto le convenga (aunque puede que no sea una solución muy compacta).