Code: Select all
\newcommand{\->}{\rightarrow}
Code: Select all
\newcommand{\->}{\rightarrow}
NEW: TikZ book now 40% off at Amazon.com for a short time.
\section
or \tableofcontents
consist of the escape character, which is a backslash by default, and a series of letters. For the sake of remembering (mnemonity, this word should exist) those are english words.\&
or \,
.-
active and use ->
to get the symbol, but please, please don't.->
input and directly convert it, but ... There is a pretty high chance, that you will want ->
(exactly those two charackter) sooner or later. For example in TikZ pictures. TikZ is a nice thing, please have a look at some examples.arara
, which does the replacement automatically before the LaTeX run. If you just started with LaTeX, there are many other useful things to learn than such advanced things. Even I don't use arara
or preprocessing yet, after about 20 years of using LaTeX, though I'm open for new things.NEW: TikZ book now 40% off at Amazon.com for a short time.