Dear LaTeX experts within the LyX community,
I have a problem with the LaTeX \newenvironment command.
I can define my new environment and it works fine, but there is one
problem. If I write (LaTeX mode)
\begin{myenvironment}
Some text in the environment
\end{myenvironment}%
following text
I always get an implict \par in front of the "following text"
text. The whole document requires a \parskip-value > 0, therefore
setting it to 0cm does not work. I tried to reset it within the
environment and the newenvironment, but that does not work.
Adding a \vspace*{-\parskip} seems _very_ _ugly_.
Any help appreciated.
Frank
PS
Background of the Problem: I need an itemize environment with just
normal spacing, i.e.:
text before
- an item
- another item
text afer
The normal environment produces:
text before
- an item
- another item
text afer
By setting topsep and partopsep I got:
text before
- an item
- another item
text afer