]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hanging.module
Correct version number
[lyx.git] / lib / layouts / hanging.module
index a945439e079e9433b355b686f4fa8a77e68b2322..7ee8421ad361b87380443dedf25bbf787763c6a1 100644 (file)
@@ -1,4 +1,5 @@
-#\DeclareLyXModule{Hanging}
+#\DeclareLyXModule{Hanging Paragraphs}
+#\DeclareCategory{Paragraph Styles}
 #DescriptionBegin
 #Adds an environment for hanging paragraphs. 
 #Hanging paragraph is a paragraph in which the first line is set to the left margin, but all subsequent lines are indented.
@@ -11,7 +12,7 @@
 #Copyright Peter R. Wilson.
 #Released under the LaTeX Project Public License.
 
-Format 7
+Format 82
 
 Style Hanging
   LatexType Environment
@@ -30,7 +31,7 @@ Style Hanging
           \ifthenelse{\lengthtest{\parindent > 0pt}}%
             {\setlength{\lyxhang}{\parindent}}%
             {\setlength{\lyxhang}{2em}}%
-          \begin{hangparas}{\lyxhang}{1}%
+          \par\begin{hangparas}{\lyxhang}{1}%
         }
         {\end{hangparas}}
     }{%else