2011/3/8 Wolfgang Schuster <schuster.wolfg...@googlemail.com>

> \define[2]\epigraph
>   {\blank
>    \startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
>    \color[darkgreen]{#2}\endgraf
>    \rightaligned{\it #1}%
>    \stopframedtext
>    \blank}
>

I want to do something like:
\epigraph{Elbert Hubbard}{
Many people fail in life, not for lack of ability or brains or even
courage,

but simply because they have never organized their energies around a
goal.}

Because I want to have the but on the second line, with the rest of the
text. But this gives:
Runaway argument?
{ Many people fail in life, not for lack of ability or brains or even\ETC.
! Paragraph ended before \epigraph was complete.
<to be read again>
                   \par

I managed to get what I want with:
\epigraph{Elbert Hubbard}{
  Many people fail in life, not for lack of ability or brains or even
  courage,
  \blank[disable]
  but simply because they have never organized their energies around a
  goal.
}

But I was wondering if there is a better solution?

-- 
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to