Re: Spacing of LaTeX insert too small

2016-06-13 Thread Rich Shepard

On Mon, 13 Jun 2016, Guenter Milde wrote:


No. This is a TeX feature: any TeX command "eats up" the following space
unless it is terminated by either \ or {}. I recommend
"... \textrho\texttau\textphi{} is ...".


Günter,

  That's interesting. It's only with the \textphi command that the following
space is dropped. I added an interword space (not a protected space) and
that fixed the appearance.

  In the future, if I see this again I will add braces to the command.

Many thanks,

Rich


Re: Spacing of LaTeX insert too small

2016-06-13 Thread Guenter Milde
On 2016-06-13, Rich Shepard wrote:

>A KOMA-script Article class document contains three Greek characters in
> the text: \textrho, \texttau, and \textphi. The first two have correct
> spacing before and after the letter, but phi seems to lack that spacing in
> both places where it's included. See the attached .png; the phi is in the
> third row with the word 'is' squashed against its right side. I'll put a
> protected space there, but it might be a glitch that can be corrected in the
> next release.

No. This is a TeX feature: any TeX command "eats up" the following space
unless it is terminated by either \ or {}. I recommend 
"... \textrho\texttau\textphi{} is ...".

(See the source panel (View>Source) for an example how LyX handles this when
converting Unicode characters to LaTeX macros.)

Günter



Spacing of LaTeX insert too small

2016-06-13 Thread Rich Shepard

  I'm running lyx-2.2.0 on Slackware-14.1.

  A KOMA-script Article class document contains three Greek characters in
the text: \textrho, \texttau, and \textphi. The first two have correct
spacing before and after the letter, but phi seems to lack that spacing in
both places where it's included. See the attached .png; the phi is in the
third row with the word 'is' squashed against its right side. I'll put a
protected space there, but it might be a glitch that can be corrected in the
next release.

Rich