Re: Use of Vertical Space in Branches

2018-04-30 Thread Jean-Marc Lasgouttes

Le 28/04/2018 à 14:07, Jürgen Spitzmüller a écrit :

Am Samstag, den 28.04.2018, 11:44 + schrieb Baris Erkus:

Hello,
  
I want to start with a vertical space in a branch. However, it does

not work sometimes. I am not sure but it may be related with the
indent. If both the branch and vertical space paragraph are selected
to have indent, the space works fine. If not, it does not work.


\vspace only applies to the current paragraph if the paragraph has not
started yet (is still in "vmode"). With the unindented paragraph, the
\vspace comes after the \noindent, so vmode is already left and the
vspace does becomes active only before the next paragraph (when vmode
is entered again).


Another possibility is to put the vertical space in its own paragraph.
Of course, this adds some extra verticl spacing.

JMarc


Re: Use of Vertical Space in Branches

2018-04-28 Thread Jürgen Spitzmüller
Am Samstag, den 28.04.2018, 11:44 + schrieb Baris Erkus:
> Hello,
>  
> I want to start with a vertical space in a branch. However, it does
> not work sometimes. I am not sure but it may be related with the
> indent. If both the branch and vertical space paragraph are selected
> to have indent, the space works fine. If not, it does not work.

\vspace only applies to the current paragraph if the paragraph has not
started yet (is still in "vmode"). With the unindented paragraph, the
\vspace comes after the \noindent, so vmode is already left and the
vspace does becomes active only before the next paragraph (when vmode
is entered again).

A workaround is to insert \noindent in TEX mode after the vspace.

> I have tried on normal text without any indent, the vertical space
> works fine, so I am guessing that this issue is related to the
> branches.

Not to branches, but to insets.

Jürgen

>  
> Attached is a MWE.
>  
> Thanks,
>  
> BE
>  
> Sent from Mail for Windows 10
>  

signature.asc
Description: This is a digitally signed message part


Use of Vertical Space in Branches

2018-04-28 Thread Baris Erkus
Hello,

I want to start with a vertical space in a branch. However, it does not work 
sometimes. I am not sure but it may be related with the indent. If both the 
branch and vertical space paragraph are selected to have indent, the space 
works fine. If not, it does not work.

I have tried on normal text without any indent, the vertical space works fine, 
so I am guessing that this issue is related to the branches.

Attached is a MWE.

Thanks,

BE

Sent from Mail for Windows 10



Branch.lyx
Description: Branch.lyx