Banner

Donate

You find LaTeX Community useful? Please donate! Learn why!

Amount:

Partner Sites

goLaTeX
TeXblog
TeXnicCenter

Who is online

In total there are 5 users online :: 1 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Tue Jun 08, 2010 3:33 pm

Users browsing this forum: Yahoo [Bot] and 4 guests

Making "Quote" style smaller

Information and discussion about LyX, a so called WYSIWYM editor, for Linux. Ports for Windows and Mac OS X are available.

Making "Quote" style smaller

Postby ednigma on Sun Oct 26, 2008 3:56 pm

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
ednigma
 
Posts: 3
Joined: Sun Oct 26, 2008 3:42 pm

Re: Making "Quote" style smaller

Postby Juanjo on Sun Oct 26, 2008 4:33 pm

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
Juanjo
 
Posts: 598
Joined: Fri Jan 26, 2007 11:46 pm

Re: Making "Quote" style smaller

Postby Stefan_K on Sun Oct 26, 2008 4:38 pm

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 Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Making "Quote" style smaller

Postby ednigma on Sun Oct 26, 2008 7:29 pm

Thank you both very much! It works like a charm :-)
ednigma
 
Posts: 3
Joined: Sun Oct 26, 2008 3:42 pm


Return to LyX

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group