TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm going to be re-typesetting some old books (from the late 18th Century) in the coming weeks, and a few of them are old enough that they use an archaic typographic convention for quotation: every line of a multi-line quote begins with an open quotation mark. This is subtly different from a decorated block quote (see http://en.wikipedia.org/wiki/Quotation_mark#History), since there is no margin change or other indicator, except that each line is decorated on the left.

I have a nagging feeling I've seen a package that actually does this, but the search terms make it pretty unfindable. Does anybody have any advice for reproducing this behavior? I'd actually like to capture it as part of the project.

Here's an example I've found in Google Books: http://books.google.com/books?id=nY8FAAAAQAAJ&dq=review&pg=PA190#v=onepage&q&f=false .

As you can see, the quotation start is indicated by inline where it starts, but the first character set on every subsequent line is also until the quote closes. In other words, the quote mark occurs at the start (with some following space, actually) of every newline created, after the quotation opens, and only until the quotation closes.

share|improve this question
Have a look at tex.stackexchange.com/questions/16964/… – lockstep Dec 3 '11 at 14:04
No, what I'm talking about is not a block quote, nor is it a large ornament. – Bill Tozier Dec 3 '11 at 14:24
up vote 17 down vote accepted

  \ifnum\value{linenumber}=1 \else\hskip\leftmargin\llap{``}\hss\fi}}



(The \unskip is there only for technical reasons.)

enter image description here

lineno puts a zero width \hbox at the left margin and uses \makeLineNumber to decide what to typeset in it. In a quotation environment the left margin is the same, but lines are shifted right by \leftmargin, so we have to cover this space. Then we typeset another zero width box with contents on its left (\llap{x} does the same as \makebox[0pt][r]{x} but it's more efficient) and then we issue the \hss command for telling TeX that this whole business will not occupy any space (so it can stay in a zero width box without overfilling it).

"Solution" for paragraph mode

I'm afraid that reproducing that kind of book requires a lot of manual intervention. Here is a partial solution:



\begin{quotedlines}{Here starts}

In the argument of quotedlines you put the end of the line (what goes after the quote mark at the beginning).

enter image description here

share|improve this answer
Really nice solution! – Gonzalo Medina Dec 3 '11 at 15:11
@egreg Can you explain \hskip \llap and \hss in this context? TIA. – cjorssen Dec 3 '11 at 15:14
@BillTozier: egreg just put in a non-trivial effort to solve your problem, and if the answer is not correct then it's pretty close. Please be careful to phrase your comments in a courteous fashion if you want your problem to receive continued attention. – qubyte Dec 3 '11 at 15:40
kantlipsum is my new favourite package! – Seamus Dec 3 '11 at 16:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.