]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdclass.inc
Whitespace, only whitespace. Part II.
[lyx.git] / lib / layouts / stdclass.inc
index e7ce94005f587d6cd48cc6347f415e0d60c07fab..784274041f1ab9bb4157791236a607d36684a5ab 100644 (file)
@@ -6,12 +6,12 @@
 # This is a base layout which is designed to be included from other
 # ``standard'' layouts, like article and friends.
 
-# General textclass parameters
+
 Columns                 1
 Sides                   1
 SecNumDepth             2
 TocDepth                2
-DefaultStyle Standard
+DefaultStyle            Standard
 
 # This is just to show how to declare the default font.
 # The defaults are exactly those shown here.
@@ -23,7 +23,7 @@ DefaultFont
        Color                 None
 EndFont
 
-# Standard style definition
+
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -35,6 +35,22 @@ Style Standard
        LabelType             No_Label
 End
 
+CharStyle Noun
+       LatexType             Command
+       LatexName             noun
+       Font
+         Shape               SmallCaps
+       EndFont
+       LabelFont
+         Shape               SmallCaps
+         Color               blue
+       EndFont
+       Preamble
+         \newcommand{\noun}[1]{\textsc{#1}}
+       EndPreamble
+End
+
+
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
@@ -44,4 +60,3 @@ Input lyxmacros.inc
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
-Input obsolete.inc