Re: indent after description list?

2018-10-16 Thread Jean-Marc Lasgouttes

Le 16/10/2018 à 09:48, subaochen a écrit :
Sorry, I have forgotten to set language to English, now the attached 
file sample.lyx maybe a minimal example?


This is an issue both on screen and in the PDF.



After "the second question", press return thrice (the first creates a 
new Definition entry, the second turns it into a plain paragraph, and 
the third adds a red line).


This cuts your description environment and lets you create a new one, 
but does not start a new paragraph (note that the screen display 
pretends that there is an indentation, this is a bug IMO).


Then, if you right-click on the red line that appeared and select 
"Paragraph Break", you have just what you want. I agree that this does 
not seems completely easy, but I probably overlooked another technique.


Otherwise the same can be obtained using the
  separator-insert parbreak
function, which can by bound for example to S-Return.

JMarc


At 2018-10-16 15:39:05, "Dr Eberhard Lisse"  wrote:

Su,

This is not a minimal example.

It requires additional files (for Chinese characters I suppose) which
were not present on my machine, so I could not try.

Is this an issue on screen or in the PDF, or both?

el

On 16/10/2018 05:34, subaochen wrote:

hi all,

please refer to sample.lyx in the attachment, I want an indentation to
the paragraph just after the description list, but how?  I have tried
"Alt+P+Return" but failed, any suggestions?  Thanks in advance!

--
Best regards,

Su Baochen








Re:Re: Re: indent after description list?

2018-10-16 Thread subaochen
Yes, it works just like a charm:-)


Thanks very much!


At 2018-10-16 16:05:57, "Ricardo Berlasso"  wrote:

El mar., 16 oct. 2018 a las 9:49, subaochen () escribió:

Sorry, I have forgotten to set language to English, now the attached file 
sample.lyx maybe a minimal example?


This is an issue both on screen and in the PDF. 


As a quick workaround, insert a TeX box (Ctrl-L) at the beginning of the 
paragraph with this code


\par{}



Regards,
Ricardo

 

At 2018-10-16 15:39:05, "Dr Eberhard Lisse"  wrote:
>Su,
>
>This is not a minimal example.
>
>It requires additional files (for Chinese characters I suppose) which
>were not present on my machine, so I could not try.
>
>Is this an issue on screen or in the PDF, or both?
>
>el
>
>On 16/10/2018 05:34, subaochen wrote:
>> hi all,
>> 
>> please refer to sample.lyx in the attachment, I want an indentation to
>> the paragraph just after the description list, but how?  I have tried
>> "Alt+P+Return" but failed, any suggestions?  Thanks in advance!
>> 
>> -- 
>> Best regards,
>> 
>> Su Baochen





 

Re: indent after description list?

2018-10-16 Thread Dr Eberhard W Lisse
Su,

It was't a MWE yet, as you didn't reset the fonts :-)-O.

However, have a look, some ERT seems to do it.

el

On 16/10/2018 09:48, subaochen wrote:
> Sorry, I have forgotten to set language to English, now the attached
> file sample.lyx maybe a minimal example?
> 
> This is an issue both on screen and in the PDF. 
[...]

-- 
Dr. Eberhard W. Lisse  / Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421  /
Bachbrecht, Namibia ;/
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language american
\language_package default
\inputencoding utf8-plain
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype true
\use_dash_ligatures true
\graphics default
\default_output_format pdf4
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\boxbgcolor #d3d7cf
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
intent after description list
\end_layout

\begin_layout Standard
The questions are:
\end_layout

\begin_layout Description
question1 the first question
\end_layout

\begin_layout Description
question2 the second question
\end_layout

\begin_layout Standard
\noindent
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
indent
\end_layout

\end_inset

 so, which question is the real question?
\end_layout

\end_body
\end_document


Re: Re: indent after description list?

2018-10-16 Thread Ricardo Berlasso
El mar., 16 oct. 2018 a las 9:49, subaochen () escribió:

> Sorry, I have forgotten to set language to English, now the attached file
> sample.lyx maybe a minimal example?
>
> This is an issue both on screen and in the PDF.
>

As a quick workaround, insert a TeX box (Ctrl-L) at the beginning of the
paragraph with this code

\par{}

Regards,
Ricardo


>
> At 2018-10-16 15:39:05, "Dr Eberhard Lisse"  wrote:
> >Su,
> >
> >This is not a minimal example.
> >
> >It requires additional files (for Chinese characters I suppose) which
> >were not present on my machine, so I could not try.
> >
> >Is this an issue on screen or in the PDF, or both?
> >
> >el
> >
> >On 16/10/2018 05:34, subaochen wrote:
> >> hi all,
> >>
> >> please refer to sample.lyx in the attachment, I want an indentation to
> >> the paragraph just after the description list, but how?  I have tried
> >> "Alt+P+Return" but failed, any suggestions?  Thanks in advance!
> >>
> >> --
> >> Best regards,
> >>
> >> Su Baochen
>
>
>
>
>


Re:Re: indent after description list?

2018-10-16 Thread subaochen
Sorry, I have forgotten to set language to English, now the attached file 
sample.lyx maybe a minimal example?


This is an issue both on screen and in the PDF. 

At 2018-10-16 15:39:05, "Dr Eberhard Lisse"  wrote:
>Su,
>
>This is not a minimal example.
>
>It requires additional files (for Chinese characters I suppose) which
>were not present on my machine, so I could not try.
>
>Is this an issue on screen or in the PDF, or both?
>
>el
>
>On 16/10/2018 05:34, subaochen wrote:
>> hi all,
>> 
>> please refer to sample.lyx in the attachment, I want an indentation to
>> the paragraph just after the description list, but how?  I have tried
>> "Alt+P+Return" but failed, any suggestions?  Thanks in advance!
>> 
>> -- 
>> Best regards,
>> 
>> Su Baochen


sample.lyx
Description: Binary data


Re: indent after description list?

2018-10-16 Thread Dr Eberhard Lisse
Su,

This is not a minimal example.

It requires additional files (for Chinese characters I suppose) which
were not present on my machine, so I could not try.

Is this an issue on screen or in the PDF, or both?

el

On 16/10/2018 05:34, subaochen wrote:
> hi all,
> 
> please refer to sample.lyx in the attachment, I want an indentation to
> the paragraph just after the description list, but how?  I have tried
> "Alt+P+Return" but failed, any suggestions?  Thanks in advance!
> 
> -- 
> Best regards,
> 
> Su Baochen



indent after description list?

2018-10-15 Thread subaochen
hi all,


please refer to  sample.lyx in the attachment, I want an indentation to the 
paragraph just after the description list, but how? I have tried "Alt+P+Return" 
but failed, any suggestions? Thanks in advance!


--
Best regards,

Su Baochen




sample.lyx
Description: Binary data