]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hanging.module
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / hanging.module
index 2a7ecb580c3b72f6333cfde84e52509ea3ae6f19..d5abdbcbf0da6ab0ada2713e1632b1b1ced7a521 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 11
+Format 93
 
 Style Hanging
   LatexType Environment
@@ -27,13 +28,12 @@ Style Hanging
       \usepackage{hanging}
       \newenvironment{hangparagraphs}
         {%
-          \par
           \ifthenelse{\lengthtest{\parindent > 0pt}}%
             {\setlength{\lyxhang}{\parindent}}%
             {\setlength{\lyxhang}{2em}}%
-          \begin{hangparas}{\lyxhang}{1}%
+          \par\begin{hangparas}{\lyxhang}{1}%
         }
-        {\par\end{hangparas}}
+        {\end{hangparas}}
     }{%else
       \newenvironment{hangparagraphs}
         {%