Re: Forced space

Liste des GroupesRevenir à ct tex 
Sujet : Re: Forced space
De : ud.usenetcorrespondence (at) *nospam* web.de (Ulrich D i e z)
Groupes : comp.text.tex
Date : 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

Date Sujet#  Auteur
1 Jul 24 * Forced space5db
2 Jul 24 +- Re: Forced space1Pieter van Oostrum
2 Jul 24 +- Re: Forced space1Ulrich D i e z
3 Jul 24 `* Re: Forced space2Dr Engelbert Buxbaum
3 Jul 24  `- Re: Forced space1Ulrich D i e z

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal