0

I would like to add a comma after a percent symbol in a LaTeX document. But if I do this I end up with space after a comma i.e "140\% , " if I leave comma too close it does not show when I compile the report. Any idea how to fix this issue please?

3
  • 3
    \%, should do
    – egreg
    Aug 16, 2020 at 7:59
  • Thanks very much. That worked.
    – Browed1983
    Aug 16, 2020 at 8:01
  • B.t.w., typographically, there should be a \, between the number and \%.
    – Bernard
    Aug 16, 2020 at 8:31

1 Answer 1

2

A very basic thing about TeX is that % is a special character that introduces comments: everything on a line from % to the end is ignored.

Exception: \% ignores nothing and prints the percentage symbol.

The increase in productivity has been 40%, so we’re happy.

would be input as

The increase in productivity has been 40\%, so we're happy.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .