LyXMaking "Quote" style smaller

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ednigma
Posts: 2
Joined: Sun Oct 26, 2008 4:42 pm

Making "Quote" style smaller

Post by ednigma »

Hi,

This is probably a noobish question, but how do I override the default "Quote" paragraph environment in LyX, and make all text of the "Quote" type smaller than the default Quote size?

I know that I can select each quote manually and change the font size, but that would be tedious and go against the whole idea of LaTeX/LyX.

Thank you.

- Ed

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Making "Quote" style smaller

Post by Juanjo »

A way to do that could be as follows: In Document > Settings > LaTeX Preamble, copy the lines

Code: Select all

\let\quoteOLD\quote
\def\quote{\quoteOLD\small}
and save. Instead of \small, you could use \footnotesize, \scriptsize or \tiny to get even smaller sizes.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Making "Quote" style smaller

Post by Stefan Kottwitz »

Hi,

Juanjo's code above will work, just a comment, it could be done without to define an additional macro \quoteOLD:

Code: Select all

\expandafter\def\expandafter\quote\expandafter{\quote\small}
Stefan
LaTeX.org admin
ednigma
Posts: 2
Joined: Sun Oct 26, 2008 4:42 pm

Re: Making "Quote" style smaller

Post by ednigma »

Thank you both very much! It works like a charm :-)
Post Reply