]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hanging.module
Fix grammar
[lyx.git] / lib / layouts / hanging.module
index c6c6993efe832b26a857f11fc6016396a5275ff1..3e2ed720e4a1c8dbdc69073a5612d378709188cd 100644 (file)
@@ -1,6 +1,8 @@
-#\DeclareLyXModule{Hanging}
+#\DeclareLyXModule{Hanging Paragraphs}
+#\DeclareCategory{Paragraph Styles}
 #DescriptionBegin
-#Adds an environment for hanging paragraphs.
+#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.
 #DescriptionEnd
 
 #Author: Richard Heck
@@ -10,7 +12,7 @@
 #Copyright Peter R. Wilson.
 #Released under the LaTeX Project Public License.
 
-Format 6
+Format 74
 
 Style Hanging
   LatexType Environment
@@ -29,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