I wonder if there is a latex symbol similar to
$\preccurlyeq$
but aligned at both ends. Please help. Thanks.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI wonder if there is a latex symbol similar to
$\preccurlyeq$
but aligned at both ends. Please help. Thanks.
Here, I grab just that symbol from mathabx
, so as not to overwrite the whole symbol set.
If you uncomment the two fonttable
references in my MWE, you will see how I determined that the desired symbol was in slot "A4
.
\documentclass[11pt,a4paper]{article}
\usepackage[pdfencoding=auto,psdextra]{hyperref}
%\usepackage{mathabx}
\usepackage{amsmath}
% Setup the mathb font (from mathabx.sty)
\DeclareFontFamily{U}{mathb}{\hyphenchar\font45}
\DeclareFontShape{U}{mathb}{m}{n}{
<5> <6> <7> <8> <9> <10> gen * mathb
<10.95> mathb10 <12> <14.4> <17.28> <20.74> <24.88> mathb12
}{}
\DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
% Define a subset character from that font (from mathabx.dcl)
% to completely replace the \subset character, you can replace
% \varsubset with \subset
\DeclareMathSymbol{\preccurlyeq}{3}{mathb}{"A4}
%\usepackage{fonttable}
\begin{document}
%\fonttable{mathb10}
\begin{equation}
A \preccurlyeq B
\end{equation}
\end{document}
Another alternative is the stix
fonts
\documentclass[11pt,a4paper]{article}
\usepackage{amsmath,stix}
\begin{document}
\begin{equation}
A \preccurlyeq B
\end{equation}
\end{document}
\documentclass{article} \usepackage{mathabx} \begin{document} $\preccurlyeq$ \end{document}
Of course, I'd hate to load the wholemathabx
package.mathabx
: tex.stackexchange.com/questions/176941/…