I am typing a document in French and I need to automatically get a fine space (unbreakable) after opening emdash and before closing dash.
---\, blahblah\, --- is not very good...
How can I do that.
Best, Fred
I am typing a document in French and I need to automatically get a fine space (unbreakable) after opening emdash and before closing dash.
---\, blahblah\, --- is not very good...
How can I do that.
Best, Fred
You can use LaTeX unbreakable space ~:
~-~Blahblah~-~
This will create a space and force the TeX engine to link the part before and after the tilde to be on the same line of text produced.
You can create a command to not type them:
\newcommand{\foo}{~-~}
For a thin space you can use \, without space around:
\,-\,Blahblah\,-\,
With newcommand:
\newcommand{\bar}{\,-\,}
--) rather than a hyphen between the spaces?
– barbara beeton
Nov 16 '15 at 14:01
blahblahsemantically is supposed to mean I'd define a new macro or environment\newcommand\thought[1]{---\,#1\,---}and then use\thought{blahblah}– cgnieder Nov 16 '15 at 11:47frenchbensure this automatically? – Bernard Nov 16 '15 at 12:53