[texhax] renewenviroment paragraph [... Digest ...]
Uwe Lück
uwe.lueck at web.de
Tue Oct 6 16:59:26 CEST 2009
At 00:20 06.10.09, wawan wrote:
>I need to add a symbol at beginning paragraph and a symbo at end of paragraph
>can I do this by modified paragraph enviroment ? howto do it
OK, some people know how to \renewenvironment{paragraph}, but what is it
good for?
I rather guess that wawan wants that each paragraph starts with some
<start> end ends with some <end>, so he types
Hello world!
and gets
<start>Hello world!<end>
However, to achieve this by some \renewenvironment{paragraph} is sort of
voodoo thinking. Rather (a sketch only)
\everypar{<start>}
\let\formerpar\par \def\par{<end>\formerpar}
This is just a sketch in particular because it is not very compatible with
LaTeX's use of \everypar and \par. Sorry, I am in a hurry ...
-- Uwe.
More information about the texhax
mailing list