2

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}
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

  • Hmm, did you check the output? I think you have {} in the wrong place. Plus \sc has been deprecated for 20 years. – egreg Dec 23 '15 at 16:27
  • I think that what OP needs is \textsc{macro}, not \sc{}. Anyway it should be \scmacro{}. – Sigur Dec 23 '15 at 16:29
  • @egreg Yes I interverted the {}. What should be used instead of \sc – Romain Picot Dec 23 '15 at 16:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.