From 26fd757eab1de758c0c7ac9d1a5347ae5efbe865 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 14 Dec 2008 17:11:47 +0000 Subject: [PATCH] Fix the hanging module. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27872 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/hanging.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/layouts/hanging.module b/lib/layouts/hanging.module index b5c19bf2a3..2a7ecb580c 100644 --- a/lib/layouts/hanging.module +++ b/lib/layouts/hanging.module @@ -27,12 +27,13 @@ Style Hanging \usepackage{hanging} \newenvironment{hangparagraphs} {% + \par \ifthenelse{\lengthtest{\parindent > 0pt}}% {\setlength{\lyxhang}{\parindent}}% {\setlength{\lyxhang}{2em}}% \begin{hangparas}{\lyxhang}{1}% } - {\end{hangparas}} + {\par\end{hangparas}} }{%else \newenvironment{hangparagraphs} {% -- 2.39.2