3

Here is a MWE that explains it:

\documentclass{article}

\newcommand{\scmacro}{{\sc macro}}

\begin{document}

why is there no space after \scmacro even though there is space in the document?

\end{document}
scspace
  • 31

2 Answers2

3

Use \scmacro\ or \scmacro{} or \textsc{macro} and replace \sc with \scshape

\documentclass{article}


\newcommand{\scmacro}{{\scshape macro}}


\begin{document}

why is there no space after \scmacro\ or \scmacro{} or \textsc{macro} even though there is space in the document?

\end{document}

enter image description here

2

You need to put {} after a command to ensure that you'll have a space in the document produced.

\documentclass{article}

\newcommand{\scmacro}{{\sc macro}}

\begin{document}

why is there no space after \scmacro{} even though there is space in the document?

\end{document}

output:

enter image description here

Romain Picot
  • 6,730
  • 4
  • 28
  • 58