]> git.lyx.org Git - features.git/blobdiff - lib/layouts/hanging.module
Merge branch 'master' of git.lyx.org:lyx
[features.git] / lib / layouts / hanging.module
index 3ac84748d5e99d8ec8d7fa1583796919dda9e4ce..0dd0ab67065ed9eb669e7f5d672d8d8195f570ce 100644 (file)
@@ -1,12 +1,18 @@
-#\DeclareLyXModule{Adds an environment for hanging paragraphs.}{Hanging}
-#Author: Richard Heck
+#\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.
+#DescriptionEnd
+
+#Author: Richard Kimberly Heck
 
 #Hanging paragraph code adapted from hanging.sty, available at:
 # http://www.ctan.org/tex-archive/macros/latex/contrib/hanging/
 #Copyright Peter R. Wilson.
 #Released under the LaTeX Project Public License.
 
-Format 6
+Format 95
 
 Style Hanging
   LatexType Environment
@@ -25,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