Page LayoutMaking quote environment wider

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Making quote environment wider

Post by Yeats »

Anyway the reason I was trying with \renewcommand was because I found out that both font size of the quote and the vertical space between the quote and the main text are regulated by changing \renewcommand, so I assumed it can be done with the width too. Now I know better.

Just for the record, if anybody ever bumps to this thread the code for the font size change is:

Code: Select all

\let\oldquote\quote
\renewcommand\quote{\par\singlespacing\small\oldquote}
\let\oldquotation\quotation
\renewcommand\quotation{\par\singlespacing\small\oldquotation}
\let\oldverse\verse
\renewcommand\verse{\par\singlespacing\small\oldverse}

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Making quote environment wider

Post by localghost »

For settings like this you can try an alternative. Works only for environments without any optional arguments.

Code: Select all

\makeatletter
\g@addto@macro{\quote}{\small\singlespacing}
\g@addto@macro{\verse}{\small\singlespacing}
\makeatother
What you found out about macros needs going a little more into details concerning environments. You can consider any environment as a group that is introduced by an \envname and ended by an \endenvname command. You can see that in the declaration of the quote environment above where you can find a \list and \endlist command which represents nothing more than a list environment.
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Re: Making quote environment wider

Post by Yeats »

Ok tx again, I leave you to some other topics that need your attention. Have a nice evening!
Post Reply