]> 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 07668e31e0dbe4b0f6361f40da56d24b3d7a88c7..0dd0ab67065ed9eb669e7f5d672d8d8195f570ce 100644 (file)
@@ -1,17 +1,18 @@
-#\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.
 #DescriptionEnd
 
-#Author: Richard Heck
+#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 9
+Format 95
 
 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