I happen to author LaTeX code in an environment that makes entering the backslash tedious¹.
Can I somehow tell LaTeX: From now on, treat, |
(or another rarely used character) as if it were a \
, so that I can write my LaTeX code like
This is a |emph{very} important fact from |cite{some_paper}.
and get the same result as if I had written
This is a \emph{very} important fact from \cite{some_paper}
while normal command with \
still work as before (as they are inserted automatically by the authoring tools in certain places)?
Bonus points if I can use some unicode character (like ✓, which happens to be bound on my keyboard), to reduce the risk of clashes.
¹ Don’t ask why. Oh, you did? Well: I edit in Isabelle/jEdit, which replaces sequences like \c with special unicode characters, which is nice when working on Isabelle theories, but makes writing the documenting TeX code a pain.
|
to be the escape char as breaking other places it's used! – Joseph Wright♦ Apr 30 '14 at 8:16