LyXHow to start a new paragraph in Lyx?!

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
auvajs
Posts: 22
Joined: Wed Dec 21, 2011 11:21 pm

How to start a new paragraph in Lyx?!

Post by auvajs »

I start a new document.
Choose paragraph in the Environment bar.
(The cursor is on the Paragraph line)
and now if I press ENTER at once (so that there should be no paragraph title text if you understand me), the whole Paragraph environment line disappears and gets back to Standard!!

I spent some 30 minutes google searching but couldn't figure out how to make a new paragraph without a text in LyX (I mean \paragraph{}) so it drives me crazy now... please help me:)
Last edited by auvajs on Sun Jan 15, 2012 4:14 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

auvajs
Posts: 22
Joined: Wed Dec 21, 2011 11:21 pm

Re: How to start a new paragraph in Lyx?!

Post by auvajs »

hm so I finally found out I have to make an empty ERT box for this.. guys I tell you this is soooooo user-unfriendly... I'm probably a masochist wasting my time with this software :lol:

(to mods: you can delete this tread if you want)
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

How to start a new paragraph in Lyx?!

Post by meho_r »

It is "user-unfriendly" only because user failed to notice that \paragraph{} is one of sectioning units*, just like \chapter{} and \section{} and it, naturally, behaves in the same fashion (no matter that title is in the same line as the beginning of the text). Basically, use Paragraph environment in LyX for title, i.e., bold starting text only, while remainder of text goes into its own, Standard paragraph, exactly the same you do for chapters, sections, etc.: title goes into its own paragraph, while the text that follows goes into its own. E.g.:
  • Paragraph. This is an example.

    Another paragraph. And another example.
In LyX, these two are set as follows:
  • 1. "Paragraph." This is title and it's set as Paragraph environment. Press Return/Enter afterwards.

    2. "This is an example." This is set as Standard environment. Press Return/Enter afterwards.

    3. "Another paragraph". Same as 1. Shortcut for setting a paragraph to Paragraph is: Alt+P 5.

    4. "And another example". Same as 2. Shortcut for setting a paragraph to Standard is: Alt+P S.
So, if you don't want starting bold text (a.k.a. title), use another environment. Using Paragraph environment without having a title simply doesn't make sense (imagine using \chapter{} and \section{} without actual title). However, to reply to your first complaint, you might try with a nonbreaking space (Ctrl+Space) in Paragraph line, and then pressing Enter/Return, so that LyX doesn't remove empty paragraph. But still, this really doesn't make any sense.

--
* Note "Section" at the beginning of the group Paragraph belongs to in drop-down list top-left.
auvajs
Posts: 22
Joined: Wed Dec 21, 2011 11:21 pm

How to start a new paragraph in Lyx?!

Post by auvajs »

Thank you for your reply!
Using Paragraph environment without having a title simply doesn't make sense (imagine using \chapter{} and \section{} without actual title).
Well legal documents are made this way in my country. They are structured into paragraphs where only few of them have also its title - most paragraphs have only their number - which works perfectly well as a reference point.
Post Reply