2

I want to get a big \subset, but when I use \bigsubset, (just like \bigcup), it shows wrong. So what is the correct command?

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.

enter image description here

\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}
  • 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 at 2:56
  • @barbarabeeton - Thanks! I've updated my answer; it now shows the result of scaling by 1.44. – Mico Jul 29 at 4:11
4

Using the basic commands to increase a text, \large, \Large, \LARGE, \huge, \HUGE, you can obtain different sizes of the command \subset.

enter image description here

\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}
  • 1
    A 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 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 at 14:08
  • 1
    No, not the x-axis. The math axis is vertical, the vertical midpoint of a (for example) parenthesis. – barbara beeton Jul 28 at 14:11
  • 1
    @Sebastiano - Please see the code in my answer. It uses \vcenter to 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 at 14:52
  • 1
    @Sebastiano - No rush! Incidentally, this answer illustrates the position of the math axis graphically. – Mico Jul 28 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.