4

I have a line \renewcommand{\subset}{\subseteq} in my document. Now, out of all things, I need to use the symbol \subset. Is there any way to do so?

1 Answer 1

12

First and foremost: Don’t redefine standard commands like \subset and \alpha. It’s bad style and will lead to confusion when collaborating with others, submitting papers to journals, or using external tools.

But if you absolutely must, you can do the following:

\documentclass{article}

\usepackage{amsmath}

\let\oldsubset=\subset

\renewcommand{\subset}{\subseteq}

\begin{document}

\[
    A \oldsubset B
    \implies
    A \subset B
\]

\end{document}

enter image description here

1
  • 2
    You might note that this \let has to occur before \subset is redefined. Sep 14, 2021 at 14:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .