\&
prevent the space following it from being swallowed?Code: Select all
\documentclass{article}
\newcommand\scil{sc.}
\begin{document}
Cats \& dogs.
Pigs \scil cops.
% \show\& says \& = \char"26, but
Cats \char"26 dogs.
\end{document}
\&
prevent the space following it from being swallowed?Code: Select all
\documentclass{article}
\newcommand\scil{sc.}
\begin{document}
Cats \& dogs.
Pigs \scil cops.
% \show\& says \& = \char"26, but
Cats \char"26 dogs.
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\&{}
.\&{}
is unnecessary, since \&
already has the desired behaviour.
Code: Select all
\documentclass{article}
\def\scil{sc.}
\begin{document}
Cats \& dogs.
Cats \&c.
Fair \scil square. % This should have a space
(Fair \scil) square. % This should still be possible
\end{document}
\foo
followed by the letters bar
:Code: Select all
\foobar
\foobar
Code: Select all
\foo{}bar
Code: Select all
\foo bar
Code: Select all
\foo\ bar or \foo{} bar
Code: Select all
\&bar
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis