2

There is a negative thinspace \! which is a negative version of \,.

Is there a negative version of normal character space \ too?

I could not find it in: Lengths and when to use them, What commands are there for horizontal spacing?, https://mylatexnotes.wordpress.com/2017/05/09/text-negative-white-spaces/

2
  • 1
    Note that \ could shrink/expand with the text, so it's not fixed.
    – Werner
    Commented Dec 19, 2019 at 15:42
  • 1
    The value of the space is stored in the font parameter\fontdimen2 but as Werner said that can shrink or stretch (\fontdimen3 and \fontdimen4) so the space isn't really fixed. Are you by any chance looking for something like \unskip?
    – campa
    Commented Dec 19, 2019 at 15:46

1 Answer 1

6

enter image description here

\documentclass{article}

\begin{document}

a\ b

a\ \hspace{-\fontdimen2\font plus -\fontdimen3\font minus -\fontdimen4\font}b

\end{document}

The interword spacing is set by the font so you can use \hspace{-\fontdimen2\font plus -\fontdimen3\font minus -\fontdimen4\font} as shown, but it is hard to think of any cases where this is useful. As commented it may be that you are looking for \unskip a \unskip b typesets as ab by removing the glue node rather than adding a second negative glue node.

You must log in to answer this question.

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