I got bored with writing \langle
and \rangle
in my code, so I decided to create the commands \<
and \>
for these. That is, I put the following in my header.
\newcommand{\<}{\langle}
\newcommand{\>}{\rangle}
This...doesn't work. It doesn't mind \<
, but apparently \>
is already defined. This made me interested, and I tried to find out what it does, if it does anything. But I cannot find anything about this command.
Note that I can override this by just going
\renewcommand{\>}{\rangle}
but, well, it feels dirty redefining an existing command!
Therefore, my question is,
What does \>
do? Does it do anything? Does it matter that I am reassigning it?
(On a side note, why can I type \<
here, but typing \<
without the space gives > ?)
\>
is used in thetabbing
environment. if you never usetabbing
, you are probably okay. regarding\<
, this is sometimes used (as\< ... >
) to indicate metacode; how it's defined in what you're doing depends on the document class and packages being used.texdef
I got\>: macro:->\mskip \medmuskip
`<
(and not the\langle
) (some people think that they are the same) you just type it directly on keyboard.latex.ltx
,\>
is actually defined (with\def
);\<
is only\let
to a particular meaning. i'd have to do some more exploring/testing to figure out if this is what makes the difference, but it's a place to start.\>
is a math space