LyXCustomize paragraph environments

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
oldmankit
Posts: 9
Joined: Sun Feb 21, 2010 3:32 pm

Customize paragraph environments

Post by oldmankit »

I expect this question has been asked before but I really haven't been able to find an answer.


From a lyx FAQ it says to make all quotes/quotations small, add the following to preamble:

Code: Select all

\let\oldquote\quote
 \renewcommand\quote{\small\oldquote}
 \let\oldquotation\quotation
 \renewcommand\quotation{\small\oldquotation}
I don't want my quotes small, I want them in italics. I tried changing \small to \emph, but it gave me an error. What do I have to do?

I would also like to change the style for subsection (unnumbered) to italics, not bold. How would I do this?

I'm using the memoir class.

Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Customize paragraph environments

Post by meho_r »

1. Try \itshape instead of \emph command for italic quotes/quotations.

2. Generally, you may change subsections' font using memoir's \setSheadstyle command, where S is a sectioning unit (e.g. sec for section, subsec for subsection etc.) E.g.:

Code: Select all

\setsubsecheadstyle{\itshape}
However, this will change not only starred but "normal" subsection too. To separate starred and "normal" subsections I expect some hacking is needed.
oldmankit
Posts: 9
Joined: Sun Feb 21, 2010 3:32 pm

Customize paragraph environments

Post by oldmankit »

meho_r wrote:1. Try \itshape instead of \emph command for italic quotes/quotations.

2. Generally, you may change subsections' font using memoir's \setSheadstyle command, where S is a sectioning unit (e.g. sec for section, subsec for subsection etc.) E.g.:

Code: Select all

\setsubsecheadstyle{\itshape}
However, this will change not only starred but "normal" subsection too. To separate starred and "normal" subsections I expect some hacking is needed.
That's great. It worked first time. It now looks much more how I wanted it to.

I've decided I don't need to differentiate between normal and starred subsections.

Thank you again.
Post Reply