LaTeX forum ⇒ Theses, Books, Title pagesToo much white space around quotations Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Too much white space around quotations

Postby templateuser » Mon Mar 30, 2015 12:55 pm

When I use the environment \begin{quotation}...\end{quotation}, this results in too much white space around the quotation. Please see this screenshot:

whitespace.png
whitespace.png (148.05 KiB) Viewed 1687 times


Does anybody know how to fix this? Thanks very much in advance!

latextemplatesuser

Tags:

User avatar
Vel
Site Moderator
Posts: 459
Joined: Fri Jun 29, 2012 1:20 am

Postby Vel » Mon Mar 30, 2015 12:56 pm

Hey,

To remove the whitespace around quotations, use the quoting package with the vskip=0pt option in your preamble like so:

  1. \usepackage[vskip=0pt]{quoting}


This will only print the normal lineskip whitespace around the quotation without adding any extra space like the default quotation environment does!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Postby templateuser » Mon Mar 30, 2015 12:56 pm

Thanks very much!

According to this solution, I need to stop using the environment \begin{quotation}...\end{quotation}, and instead I need to start using the newly defined environment \begin{quoting}...\end{quoting}. This is a perfectly legitimate solution, but I was just wondering if there is any way to modify the first environment?

latextemplatesuser

User avatar
Vel
Site Moderator
Posts: 459
Joined: Fri Jun 29, 2012 1:20 am

Postby Vel » Mon Mar 30, 2015 12:56 pm

No problem! You can modify any environment with the \renewenvironment command, have a look here for more information: http://en.wikibooks.org/wiki/LaTeX/Macros

It's usually better practice (and easier) to just define a new one though, or in this case to use a pre-defined environment from a package!
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest