Text Formattingcsquotes package question

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
totti
Posts: 8
Joined: Thu Jul 23, 2009 2:53 pm

csquotes package question

Post by totti »

Hi there!

This is my first post in this forum, so I hope it is in the right subforum.

I have a question regarding the csquotes package and the blockquote command. When csquotes detects that a blockquote is more than 3 lines (I use the default as of now) it starts to set a block and everything works perfectly fine BUT if the quote is set as a block there are no quotation-marks anymore. How can I change this? Do I need to redefine the quote environment (I am using scrbook of Koma script) or is there any way to let csquotes know that I want quotation-marks even if the is set as a block.

Take care!
totti

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

csquotes package question

Post by phi »

As suggested by section 7.8 of the manual, you may redefine the quoteblock environment:

Code: Select all

\renewenvironment{quoteblock}{\openautoquote}{\closeautoquote}
totti
Posts: 8
Joined: Thu Jul 23, 2009 2:53 pm

csquotes package question

Post by totti »

Thank you phi! It works perfectly fine now.
totti
Posts: 8
Joined: Thu Jul 23, 2009 2:53 pm

Re: csquotes package question

Post by totti »

Hi there!
Sorry but I have another question on this. As mentioned before the quoting marks work perfectly fine.

Now the second thing I want to do is change the size of the quoted block, to 11pt (regular text is 12pt) or \small if that is easier to handle.
Any help would be greatly appreciated.

Best,
totti
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

csquotes package question

Post by phi »

Here is an excerpt from the excellent csquotes tutorial (doc/latex/csquotes/tutorial.tex):

Code: Select all

% The most frequent complaint about the traditional 'quote' and 'quotation'
% environments is that they do not adjust the font size of the quoted text. It
% is very common to set block quotations slightly smaller than the surrounding
% text. This problem is easily remedied:
%
%    \newenvironment{smallquote}
%      {\begin{quote}\small}
%      {\end{quote}}
%
% Because of the way environments are implemented in LaTeX, it is better to
% avoid nesting \begin and \end when including an environment in the definition
% of another one. Another problem with this definition is that \small will
% effectively hard-code the font size. It is advisable to use the \smaller
% command from the relsize package. \smaller will decrease the font size by one
% step (from \normalsize to \small or from \footnotesize to \scriptsize) so
% that this environment will also work as expected when used in a footnote.
%
% Hence our final definition is written as follows:

\newenvironment*{smallquote}
  {\quote\smaller}
  {\endquote}

% Now we instruct csquotes to use the new environment:

\SetBlockEnvironment{smallquote}
totti
Posts: 8
Joined: Thu Jul 23, 2009 2:53 pm

csquotes package question

Post by totti »

phi, thanks for the fast reply. This forum and its members are incredible and of great help. I've not seen the tutorial so far but will promise to read it carefully before asking any additional question again ;) Hopefully I won't have any, though.
Post Reply