]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hanging.module
de.po
[lyx.git] / lib / layouts / hanging.module
index 3ac84748d5e99d8ec8d7fa1583796919dda9e4ce..55c1a2e2d44660f4677e067e7818cb3eaaa55b4d 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 104
 
 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
@@ -42,4 +48,6 @@ Style Hanging
       \everypar={\hangpara}}{\par}
     }
   EndPreamble
+  DocBookTag             para
+  DocBookAttr            role='hanging'
 End