I was looking at a paper and noticed they were using a thin subset symbol, like this:
I can't seem to find a command for this (and the corresponding symbol for \subseteq
) online anywhere. How would I use this symbol?
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 communitySolution 1:
This might be what you look for:
\documentclass{article}
\let\mysub=\subset
\usepackage{mathabx}
\begin{document}
The original: $\mysub$
mathabx: $\subset$
\end{document}
Solution 2:
I searched the definition of \subset
in the mathabx
package, and another solution without using this package is here:
\documentclass{article}
\DeclareFontFamily{U}{matha}{\hyphenchar\font45}
\DeclareFontShape{U}{matha}{m}{n}{
<5> <6> <7> <8> <9> <10> gen * matha
<10.95> matha10 <12> <14.4> <17.28> <20.74> <24.88> matha12
}{}
\DeclareSymbolFont{matha}{U}{matha}{m}{n}
\DeclareFontSubstitution{U}{matha}{m}{n}
\DeclareMathSymbol{\mysubset}{3}{matha}{"80}
\begin{document}
The original: $\subset$
Own symbol: $\mysubset$
\end{document}
mathabx
.
You could design your own thin subset symbol using \scalebox
. Adjust the .8
scaling factor however you like.
\documentclass{article}
\usepackage{graphicx}
\newcommand{\thinsubset}{\mathrel{\scalebox{1}[.8]{$\subset$}}}
\newcommand{\thinsubseteq}{\mathrel{\scalebox{1}[.8]{$\subseteq$}}}
\begin{document}
$A\subset B\subseteq C$
$A\thinsubset B\thinsubseteq C$
\end{document}
A more complicated version, using \mathpalette
will allow the symbol to be used as a subscript:
\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}
\makeatletter
\newcommand{\thinsub}{\mathrel{\mathpalette\thin@sub\relax}}
\newcommand{\thin@sub}[2]{\m@th#1\text{\scalebox{1}[.8]{$\subset$}}}
\newcommand{\thinsubeq}{\mathrel{\mathpalette\thin@subeq\relax}}
\newcommand{\thin@subeq}[2]{\m@th#1\text{\scalebox{1}[.8]{$\subseteq$}}}
\makeatother
\newcommand{\thinsubset}{\mathrel{\scalebox{1}[.8]{$\subset$}}}
\newcommand{\thinsubseteq}{\mathrel{\scalebox{1}[.8]{$\subseteq$}}}
\begin{document}
$A\subset B\subseteq C_{A\subset B\subseteq C}$
$A\thinsub B\thinsubeq C_{A\thinsub B\thinsubeq C}$
\end{document}
mathabx
may be?