Take the 2-minute tour ×
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.

Strange Behaviour Does anyone know why this strange behaviour is happening when using lettrine in the abstract environment in stock-standard article class?

The parshape seems to be repeating...???

Here is my code to reproduce:

\documentclass{article}


\usepackage{lipsum,lettrine,helvet}
\renewcommand{\familydefault}{\sfdefault}

\setcounter{DefaultLines}{3}

\def\t{The Cat Sat on the Mat}
\def\tt{\t\t}
\def\ttt{\tt\tt}

\usepackage[parfill]{parskip}

\begin{document}
\abstract
    \lettrine{T}{his is a test}\ttt\ttt\ttt

    \ttt\ttt\ttt

    \ttt\ttt\ttt
\endabstract

\end{document}
share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

hmm lettrine perhaps ought to be more careful with grouping.

enter image description here

\documentclass{article}


\usepackage{lipsum,lettrine,helvet}
\renewcommand{\familydefault}{\sfdefault}

\setcounter{DefaultLines}{3}

\def\t{The Cat Sat on the Mat}
\def\tt{\t\t}
\def\ttt{\tt\tt}

\usepackage[parfill]{parskip}

\begin{document}
\begin{abstract}
    {\lettrine{T}{his is a test}\csname@restorepar\endcsname\everypar{}\ttt\ttt\ttt\par}

    \ttt\ttt\ttt

    \ttt\ttt\ttt
\end{abstract}

\end{document}

(It's not really safe to use \abstract \endabstract so i changed it back to environment, it happens to work here but would fail if for example titlepage option were used)

share|improve this answer
    
As always David, thanks very much.... –  Nicholas Hamilton Sep 22 '13 at 6:01
add comment

Your Answer

 
discard

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.