Let assume that I want to redefine the quotation
environment putting the text in italic and inserting it between quotation marks. I have some problems in adjusting the space after the opening of quotation marks and before the closure of them.
With this code I obtain:
\documentclass{article}
\newenvironment{itquote}
{\begin{quotation}\itshape``}
{''\end{quotation}}
\begin{document}
\begin{itquote}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
Curabitur dictum gravida mauris.
Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
\end{itquote}
\end{document}
And to fix the spacing I clearly have to put two %
in this way:
\begin{itquote}%
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
Curabitur dictum gravida mauris.
Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.%
\end{itquote}
But I want to fix it inside the definition of the environment in the preamble without the two %
symbols in the document, how can I do this?
I try also with \unskip
but it works only for the the end:
\newenvironment{itquote}
{\begin{quotation}\itshape``}
{\unskip''\end{quotation}}
\ignorespaces
. For the "end" part your way is correct.