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.

I have created epigraph in my book using the latex command \epigraph. I would use \textit style but I got an epigraph that not follow the margin. when I use \textit it became squeezer

This is what I mean:

enter image description here

I would that epigraph should be big as the line

share|improve this question
add comment

2 Answers 2

up vote 8 down vote accepted

You didn't provide a working example, but from your picture I'll hazard the guess that you're using Palatino or a similar font. Palatino's italic variant is narrower than the Roman one, and an epigraph that with the latter font seems to be justified reveals with the former font that it is, in fact, typeset raggedright. Solution: Redefine \textflush to flushepinormal (without preceding backslash, as it is an environment).

\documentclass[11pt]{article}

\usepackage{mathpazo}

\usepackage{epigraph}
\renewcommand{\textflush}{flushepinormal}

\usepackage{lipsum}

\begin{document}

\epigraph{\textit{None is so great that he needs no help, and none is so small
    that he cannot give it}}{King Solomon}

\lipsum[1]

\end{document}

enter image description here

share|improve this answer
    
yeah great charmfully...Thanks so much!!! –  Mazzy Nov 23 '12 at 14:23
3  
Yo! +1 for having a working crystal ball –  David Carlisle Nov 23 '12 at 14:54
add comment

Please always provide a working example showing which packages are used (\epigraph is not a standard LaTeX command). However I would guess that you want

\epigraph{\itshape....}
share|improve this answer
    
No it doesn't work. I loaded a pic that show you the problem –  Mazzy Nov 23 '12 at 11:10
5  
You need to give us some clues to allow us to help. Please post a complete small document using the minimum number of packages that shows that effect. Presumably it is unrelated to the italic font and the epigraph is that wide whichever font you use? –  David Carlisle Nov 23 '12 at 11:29
1  
In this specific case, it is related to switching to italic -- seee my answer. –  lockstep Nov 23 '12 at 14:29
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.