Deutsch English Français Italiano |
<v60rad$32em$1@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Ulrich D i e z <ud.usenetcorrespondence@web.de> Newsgroups: comp.text.tex Subject: Re: Forced space Date: Tue, 2 Jul 2024 14:22:14 +0200 Message-ID: <v60rad$32em$1@solani.org> References: <v5ul3k$15am2$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 2 Jul 2024 12:20:29 -0000 (UTC) Injection-Info: solani.org; logging-data="100822"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cancel-Lock: sha1:owKSqMQhVj5HoH7gL9iEzhOrnVQ= X-User-ID: eJwNysEBgEAIA7CVpECBcTy0+4+geSedxq1gMlIptw47IMvQhoMSVjnV4LKRo+v9D+Wr554P8zQQJQ== In-Reply-To: <v5ul3k$15am2$1@dont-email.me> Content-Language: de-DE Bytes: 2061 Lines: 37 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