derric / cleanthesis

Clean Thesis is a clean, simple, and elegant LaTeX style (or template) for thesis documents.
http://cleanthesis.der-ric.de/
910 stars 115 forks source link

In-text quotation marks #27

Open Riin opened 9 years ago

Riin commented 9 years ago

Hello,

cleanthesis provides a quote style with \cleanchapterquote that has quotation marks, but is not useful within a text. It would be nice to have quotation marks around normal intext quotes. It took me awhile, but I figured out a way.

\renewcommand\mkblockquote[4]{\leavevmode\llap{,,}#1#2#3``#4} 
\blockquote[citekey]{my quote}

I found this solution here: http://tex.stackexchange.com/a/135847 Further questions may be answered in the manual: http://ftp.dante.de/tex-archive/macros/latex/contrib/csquotes/csquotes.pdf

derric commented 9 years ago

Actually, the \cleanchapterquote command was only meant for the quotations directly located below the header of a chapter. So I am not surprised that it does not work in between text pars.

But your right, a nice solution for in-text quotes would be nice. How does your solution look like - can your upload a screenshot?

johannesbottcher commented 9 years ago

if csquotes is already in use, i would suggest to use opening and closing quotes that are changeable with the current language in use. Right now, the quote marks are hard coded.

moewew commented 9 years ago

This actually leads to problems for some users format of double quotation marks in biblatex with template scrreprt. (Another one at Double quotation marks back in front on article type reference)

Letting csquotes auto-detect the language is definitely the way to go seeing that you use babel, either with the default autostyle=tryonce (no need to give an option) or autostyle=true.