Page Layout ⇒ "Reverse" indentation in Lyx
"Reverse" indentation in Lyx
Hello, I am a beginner of Latex and I am using Lyx since I don't know yet a lot of commands.
I have a series of short paragraphs that I would like to have with a "reversed" indentation, in the sense that the first line fills the entire space while the following lines are all indented. I tried the hanging paragraph command, but somehow it gave me error.
What should I do?
Cheers
I have a series of short paragraphs that I would like to have with a "reversed" indentation, in the sense that the first line fills the entire space while the following lines are all indented. I tried the hanging paragraph command, but somehow it gave me error.
What should I do?
Cheers
NEW: TikZ book now 40% off at Amazon.com for a short time.
"Reverse" indentation in Lyx
If you're still using memoir class, you may use \hangpara command:
Change "12pt" with desired identation, and "1" with number of lines that are hanging.
If not using memoir class, try with hanging package.
Code: Select all
\hangpara{12pt}{1}Some text...
If not using memoir class, try with hanging package.
Re: "Reverse" indentation in Lyx
Thank you. Now it works!
The problem anyhow is that I don't know how many should the lines hanging be. I simply want that the first line of each short paragraph to be "longer" than the following ones.
In Word and Writer I just reverse the the indentation "notch" in the sections I need, including many paragraphs.
The problem anyhow is that I don't know how many should the lines hanging be. I simply want that the first line of each short paragraph to be "longer" than the following ones.
In Word and Writer I just reverse the the indentation "notch" in the sections I need, including many paragraphs.
"Reverse" indentation in Lyx
So, what you want is that 2nd, 3rd etc. lines of hanging paragraphs are indented to the value of indentation of the first line of normal paragraph, right? You can achieve this with:
This way, if you redefine paragraph indentation with \setlength (e.g. \setlength{\parindent}{2ex}), you get hanging paragraph automatically adjusted to the new value.
Code: Select all
\hangpara{\parindent}{1}
Re: "Reverse" indentation in Lyx
Thank you.
I am still a bit confused since I tried with various values but I am not able to get the desired effect. I am including two pdf files one with what I would like to do (WYSIWYG mode) and the other with what I get with \hangpara and \setlength (by the way I did like this: {\hangpara etc. PARAGRAPHS} to limit the section where I want this option)
Cheers
P.s on a side, how do I get rid of the date always automatically appearing in the front page after the author? I tried adding the command \makedate{} after the author, but it gives me error
I am still a bit confused since I tried with various values but I am not able to get the desired effect. I am including two pdf files one with what I would like to do (WYSIWYG mode) and the other with what I get with \hangpara and \setlength (by the way I did like this: {\hangpara etc. PARAGRAPHS} to limit the section where I want this option)
Cheers
P.s on a side, how do I get rid of the date always automatically appearing in the front page after the author? I tried adding the command \makedate{} after the author, but it gives me error
- Attachments
-
- with hangpara.pdf
- (25.93 KiB) Downloaded 448 times
-
- on WYSIWYG.pdf
- (30.41 KiB) Downloaded 395 times
"Reverse" indentation in Lyx
You can't use that command for more than one paragraph (see memoir documentation, p.178). For more than one paragraph, use
Note that you can't use \parindent to set hanging indentation to be same as that of the first line of normal paragraph, but you can define yourself \parindent with \setlength{\parindent}{1.5em} so you know the value you'll use for hanging paragraphs too. (Usual indentation value is about 1em to 1.5em, although you may set it whatever you like).
For date, did you try
Code: Select all
\begin{hangparas}{1.5em}{1}
The fulcrum as agent, the artist as patient. A tree asks the carver to be sculpted in order to make an icon out of it. What the artist does is simply to take off the excess of the form already there, that is a manifestation of the deity.
The fulcrum as agent, the recipient as patient. A calm, detached Buddha icon can induce calmness and detachment, as it indexically points to the state of mind that can be mimicked, while a fierce and strong Myōō can make the person feel strong enough to fight the enemies within and feel reassured that the enemies without have already been taken care of.
The fulcrum as an agent, the prototype as a patient. The best example would be the portrait of Dorian Grey, but in the Buddhist context we can refer to all those stories in which deities are upset by the ill treatment their icons have received.
The artist as agent, the fulcrum as patient. This is the typical formula for artistic agency, where we have the artist creating a statue of a deity and whereby in some images the individuality of the artist can be clearly perceived.
The recipient as agent, the fulcrum as patient. In other words those who look at the icon are its social ‘producers’, as in the case of a patron or a community wanting an image to be made.
The prototype as agent and the fulcrum as patient. This suits the Buddhist believer’s view well, as fulcra, especially icons, are a concession the gods make to us.
\end{hangparas}
For date, did you try
Code: Select all
\date{}
Re: "Reverse" indentation in Lyx
Dear meho_r,
thank you very much fir the help. Now the indentation works perfectly!
Somehow the date appears. It seems that it is default with memoir's frontmatter. I even tried putting under the title the author's name using the standard option (not the author one) and in that case I get the date under the title
thank you very much fir the help. Now the indentation works perfectly!
Somehow the date appears. It seems that it is default with memoir's frontmatter. I even tried putting under the title the author's name using the standard option (not the author one) and in that case I get the date under the title

Re: "Reverse" indentation in Lyx
Consider opening a new thread and post a minimum working example, please.
Re: "Reverse" indentation in Lyx
Actually \date{} works! I was silly to put the command before the Author entry since I was seeing the date after it, but if I put the command at the beginning of the page, before the Title entry, then no problem.
Cheers
Cheers