Sujet : Re: Forced space
De : ud.usenetcorrespondence (at) *nospam* web.de (Ulrich D i e z)
Groupes : comp.text.texDate : 02. Jul 2024, 13:22:14
Autres entêtes
Message-ID : <v60rad$32em$1@solani.org>
References : 1
User-Agent : Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
db wrote:
In a text I'm writing, I have this line
is \begin{otherlanguage}{russian}река \end{otherlanguage}\;(rieka),
If I don't put the \; in and put a space in instead, there is
no space after compiling. As it is with \;, there is a space,
but now "(rieka)" is highlighted yellow. How come? What is the
best way to force a space where I have that \; ?
You do not provide sufficient information for reproducing and tracking
down the problem. Therefore the only option is resorting to guesswork:
Probably \end{otherlanguage} does \ignorespacesafterend.
What happens when you do:
\newcommand\myspacemacro{ }
...
\begin{otherlanguage}{russian}река\end{otherlanguage}\myspacemacro(rieka),
?
Or:
\newcommand\foo[1]{#1}
...
\begin{otherlanguage}{russian}река\end{otherlanguage}\foo{ }(rieka),
?
Your remark about yellow highlighting does not provide useful
information at all as it is not clear what exactly you look at and what
programs you use and what packages/tools you might use for achieving
whatsoever highlighting.
Ulrich