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.

EDIT: By a comment below, I learned that what I'm asking is: How do I add an epigraph in the beginning of a section?

EDIT: I managed to use the epigraph package. I'm importing it in the LaTeX preable and in my document open a LaTeX red box and write: \epigraph{the quote}{the author}. It looks pretty much fine.

In LyX, I would like to add a famous

``If you can't solve a problem, then there is an easier problem you can solve: find it.''

George Pólya

I'd like the whole thing to be slightly indented, and name "George Pólya" much more indented. Is there a standard way to do that? I tried the "Quotation" and "Quote" envionment, but they seem to slightly indent the whole paragraph, which is not exactly what I want.

(and, by the way, is this a good practice, or is there another way a quote should look like?)

share|improve this question
    
Are you perhaps trying to write an epigraph? That's a quote (usually a famous one) at the start of a section or chapter, and it usually looks pretty much like what you describe. Depending on the class you are using, there are ready-made environments or packages for such things. –  ienissei Oct 18 '12 at 21:33
    
Yes, it's an epigraph (I've just now learned this word). How do I add one? –  user302099 Oct 18 '12 at 21:38
add comment

1 Answer

up vote 1 down vote accepted

You can use the epigraph package for this. The line width and other things can be customised according to the documentation.

\documentclass[10pt]{article}

\usepackage{epigraph}

\begin{document}

\epigraph{`If you can't solve a problem, then there is an easier problem you can solve: find it.''}{George Pólya}

\end{document}

Note that if you are using the memoir class, it already includes a similar set of macros for epigraphs (in which case, read the memoir documentation for customisations).

share|improve this answer
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.