Re: How to change paragraph spacing of Standard paragraph style in UI only?

2020-06-11 Thread Steve Litt
Confirmed! Thanks Riki!

I removed the CopyStyle and it changed nothing. And like you said, I
had long ago removed the ex unit so it was 5, not 5ex. And by the way,
I settled on 0.7, not 5, because 5 would have been ridiculous.

Thanks for your help.

SteveT

On Fri, 12 Jun 2020 00:41:58 -0400
Richard Kimberly Heck  wrote:

> On 6/12/20 12:07 AM, Steve Litt wrote:
> > Hi all,
> >
> > I think I knew this once, but long since forgot. For the style of
> > readability optimal for me, I need paragraphs of Standard paragraph
> > style to be both indented and separated, *in the LyX User
> > Interface*. I tried doing it in my existing layout file, like this:
> >
> > Style Standard
> >   CopyStyle Standard
> >   ParSep -5ex
> > End
> >
> > Is the preceding correct? It did the right thing in the UI while
> > leaving the PDF unchanged. Was the use of CopyStyle necessary or
> > even correct? Is there a better way to do it?  
> 
> You don't need CopyStyle here. If the style already exists, then it is
> modified rather than re-defined. CopyStyle is useful when you want to
> mostly mimic some other style.
> 
> ParSep here is just given as a float, and it's treated (I think) as a
> multiple of the line height. So try something like "ParSep 2". You
> might also want to give ParSkip, which works the same way, but
> applies to the distance between Standard paragraphs and ones of other
> layout types. ParSep, on the other hand, applies to paragraphs of the
> same type. See
> Help> Customization, section 5.3.7.  
> 
> Riki
> 
> 



-- 
SteveT

Steve Litt 
May 2020 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to change paragraph spacing of Standard paragraph style in UI only?

2020-06-11 Thread Richard Kimberly Heck
On 6/12/20 12:07 AM, Steve Litt wrote:
> Hi all,
>
> I think I knew this once, but long since forgot. For the style of
> readability optimal for me, I need paragraphs of Standard paragraph
> style to be both indented and separated, *in the LyX User Interface*. I
> tried doing it in my existing layout file, like this:
>
> Style Standard
>   CopyStyle Standard
>   ParSep -5ex
> End
>
> Is the preceding correct? It did the right thing in the UI while
> leaving the PDF unchanged. Was the use of CopyStyle necessary or even
> correct? Is there a better way to do it?

You don't need CopyStyle here. If the style already exists, then it is
modified rather than re-defined. CopyStyle is useful when you want to
mostly mimic some other style.

ParSep here is just given as a float, and it's treated (I think) as a
multiple of the line height. So try something like "ParSep 2". You might
also want to give ParSkip, which works the same way, but applies to the
distance between Standard paragraphs and ones of other layout types.
ParSep, on the other hand, applies to paragraphs of the same type. See
Help> Customization, section 5.3.7.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to change paragraph spacing of Standard paragraph style in UI only?

2020-06-11 Thread Steve Litt
Hi all,

I think I knew this once, but long since forgot. For the style of
readability optimal for me, I need paragraphs of Standard paragraph
style to be both indented and separated, *in the LyX User Interface*. I
tried doing it in my existing layout file, like this:

Style Standard
  CopyStyle Standard
  ParSep -5ex
End

Is the preceding correct? It did the right thing in the UI while
leaving the PDF unchanged. Was the use of CopyStyle necessary or even
correct? Is there a better way to do it?

Thanks,

SteveT

Steve Litt 
May 2020 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
 Could you tell me please how can I change in the preamble (in a book.cls 
 document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
 like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
 On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
  Could you tell me please how can I change in the preamble (in a book.cls
  document) the vskip before a new paragraph (I mean \paragraph{} )? I
  would like to make no skip when I start a new paragraph-section.

 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
 {0ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries}}

 Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
 Could you tell me please how can I change in the preamble (in a book.cls 
 document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
 like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
 On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
  Could you tell me please how can I change in the preamble (in a book.cls
  document) the vskip before a new paragraph (I mean \paragraph{} )? I
  would like to make no skip when I start a new paragraph-section.

 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
 {0ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries}}

 Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
> Could you tell me please how can I change in the preamble (in a book.cls 
> document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
> like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
> On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
> > Could you tell me please how can I change in the preamble (in a book.cls
> > document) the vskip before a new paragraph (I mean \paragraph{} )? I
> > would like to make no skip when I start a new paragraph-section.
>
> \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
> {0ex}%
> {-1em}%
> {\normalfont\normalsize\bfseries}}
>
> Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



How to change \paragraph

2002-03-13 Thread Laszlo E Szabo

Could you tell me please how can I change in the preamble (in a book.cls 
document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
like to make no skip when I start a new paragraph-section.

Thanks in advance!
Laszlo
-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



How to change \paragraph

2002-03-13 Thread Laszlo E Szabo

Could you tell me please how can I change in the preamble (in a book.cls 
document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
like to make no skip when I start a new paragraph-section.

Thanks in advance!
Laszlo
-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



How to change \paragraph

2002-03-13 Thread Laszlo E Szabo

Could you tell me please how can I change in the preamble (in a book.cls 
document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
like to make no skip when I start a new paragraph-section.

Thanks in advance!
Laszlo
-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo