I want to get a big \subset, but when I use \bigsubset, (just like \bigcup), it shows wrong. So what is the correct command?
Asked
Active
Viewed 1,309 times
4
Sebastiano
- 54,118
wendy
- 91
2 Answers
9
The macro \bigsubset defined in the following solution uses (a) the \scalebox macro of the graphicx package to up-size the \subset symbol and (b) the TeX-primitive \vcenter directive to keep the enlarged \subset symbols centered on the math axis. It also employs a \mathrel directive to inform LaTeX that the enlarged symbol should be treated as a "relational" symbol.
The default scaling factor is 1.2; the default is easily overridden.
\documentclass{article}
\usepackage{graphicx} % for \scalebox macro
\newcommand\bigsubset[1][1.19]{%
\mathrel{\vcenter{\hbox{\scalebox{#1}{$\subset$}}}}}
\begin{document}
$A\subset B$, $A\bigsubset B$, $A\bigsubset[1.44]B$, $A\bigsubset[1.7]B$, $A\bigsubset[2]B$
\end{document}
Mico
- 506,678
-
When I had to make "large operators" from regular size (10pt) CM symbols, I found that the 14pt size (actually 14.4pt) was closest to the existing large CM operators. So scaling 1.5 is a tiny bit large. – barbara beeton Jul 29 '19 at 02:56
-
@barbarabeeton - Thanks! I've updated my answer; it now shows the result of scaling by 1.44. – Mico Jul 29 '19 at 04:11
5
Using the basic commands to increase a text, \large, \Large, \LARGE, \huge, \HUGE, you can obtain different sizes of the command \subset.
\documentclass[12pt]{article}
\usepackage{amssymb}
\begin{document}
$A\mbox{\large$\subset$}B$
$A\mbox{\Large$\subset$}B$
$A\mbox{\LARGE$\subset$}B$
$A\mbox{\huge$\subset$}B$
\end{document}
Sebastiano
- 54,118
-
1A subset of any size should be aligned vertically on the math axis. The enlarged forms here all have their bottom at the same (original) position. – barbara beeton Jul 28 '19 at 14:06
-
@barbarabeeton Hi, you mean on the x-axis, for example? I try to put them on the same axis. – Sebastiano Jul 28 '19 at 14:08
-
1No, not the x-axis. The math axis is vertical, the vertical midpoint of a (for example) parenthesis. – barbara beeton Jul 28 '19 at 14:11
-
@barbarabeeton I have not understood, your request. Peraphs must I to align the sequence using align? Or as the delete answer? – Sebastiano Jul 28 '19 at 14:14
-
Put this another way. The math axis is the vertical midpoint between the (potentially) tallest character in a line and the longest descender (e.g.. the tail of a "y"). The minus sign is positioned along the math axis. – barbara beeton Jul 28 '19 at 14:28
-
@barbarabeeton Peraphs I have understood. If I cut every symbol with a straight veritcal line I have not into my code the same pieces (left and right). Is it correct? – Sebastiano Jul 28 '19 at 14:31
-
Instead of cutting the symbol in half vertically, place it next to a minus sign. Half should be above, and half below the minus sign. – barbara beeton Jul 28 '19 at 14:34
-
1@Sebastiano - Please see the code in my answer. It uses
\vcenterto vertically center the symbol on the math axis. Aside: The math axis is where the horizontal bars of "plus" and "minus" symbols are placed.=symbols are centered vertically on the math axis as well. – Mico Jul 28 '19 at 14:52 -
@Mico Hi, thank you very very much for your reply. I have seen your excellent code, but I'm able to create the same thing in this moment :-(. Sorry. – Sebastiano Jul 28 '19 at 15:00
-
1@Sebastiano - No rush! Incidentally, this answer illustrates the position of the math axis graphically. – Mico Jul 28 '19 at 16:40


\mathlarger{\subset}enough? (\mathlarger is defined by packagerelsize). – Bernard Jun 11 '19 at 09:57