How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia?
Additionally it would be nice to place both quotation marks and quote in a colored box and to have the author closer to the citation.
colorpunctuationquoting
How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia?
Additionally it would be nice to place both quotation marks and quote in a colored box and to have the author closer to the citation.
Best Answer
Here's one solution using
TikZ
which defines a new environment using theframed
package. You should preferably compile this withxelatex
orlualatex
, since it gives the easiest access to a wide range of fonts. I've added code to make it run underpdflatex
as well.The code has now been updated to allow some flexibility in the formatting of the different components of the quotation, and the environment takes two arguments:
Environment Syntax
Code
In this code, the font for the quotation marks is set independently of the main document font. This is because depending on the main font you choose, the very large quotation marks will not look good; Linux Libertine has pretty quotes that seem appropriate for the purpose. If you want to use this environment with another main document font, remove/change the
\usepackage{libertine}
.Sample output