]> git.lyx.org Git - features.git/blobdiff - lib/layouts/hanging.module
Change name and email in layout files
[features.git] / lib / layouts / hanging.module
index 5b937fd91831970a0a80df421a1cde771743d9fd..c386e2db5234c666b1d62cd1998676231d4b121d 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 8
+Format 89
 
 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