]> git.lyx.org Git - wiki-uploads.git/blob - Modules/todonotesalternate.module
Add Japanese manuals
[wiki-uploads.git] / Modules / todonotesalternate.module
1 #\DeclareLyXModule{ToDo Notes Environments}
2 #DescriptionBegin
3 #Defines some custom insets to implement the todonotes package.
4 #DescriptionEnd
5 #Requires       
6 #Excludes
7
8 #Author: Stephen 
9
10 Format           11
11
12
13         AddToPreamble
14                 \usepackage[color=green!40]{todonotes}
15         EndPreamble
16
17
18
19 InsetLayout MakeTableOfToDos
20         LyxType               custom
21         LabelType             Static
22         LabelString           Table_of_todos
23         Decoration            classic
24         BgColor                 blue
25         Font
26                 Color           yellow
27                 Family          Typewriter
28         EndFont
29         LabelFont
30                 Color           blue
31                 Family          Sans
32                 Size            Small
33         EndFont
34         Align                   Center
35         MultiPar              0
36         LatexType             command
37         LatexName             tableoftodos
38         OptionalArgs          0
39         Preamble
40 \newcommand{\tableoftodos}[1]{\listoftodos[Table of Items Still To Do]{#1}}
41         EndPreamble
42 End
43
44
45 InsetLayout Todo[Inline]
46         LyxType               custom
47         LabelString           ToDo[Inline]
48         Decoration              classic
49         BgColor                 blue
50         Font
51                 Color           yellow
52                 Family          Typewriter
53         EndFont         
54         LabelFont
55                 Color           blue
56                 Family          Sans
57                 Size            Small
58         EndFont
59         MultiPar                true
60         LatexType             command
61         LatexName             todo
62         LatexParam            [inline]
63 End
64
65 InsetLayout Todo[margin]
66         LyxType               custom
67         LabelString           ToDo[margin]
68         Decoration              classic
69         BgColor                 blue
70         Font
71                 Color           yellow
72                 Family          Typewriter
73         EndFont
74         LabelFont               
75                 Color           blue
76                 Family          Sans
77                 Size            Small
78         EndFont
79         MultiPar                true
80         LatexType             command
81         LatexName             todo
82 End
83
84 InsetLayout MissingFigure
85         LyxType               custom
86         LabelString           missingFigure
87         Decoration              classic
88         BgColor                 blue
89         Font
90                 Color           yellow
91                 Family          Typewriter
92         EndFont
93         LabelFont               
94                 Color           blue
95                 Family          Sans
96                 Size            Small
97         EndFont
98         MultiPar                0
99         LatexType             command
100         LatexName             missingfigure
101         OptionalArgs          1
102 End
103
104
105
106 InsetLayout Warning
107         LyxType               custom
108         LabelString           Warning
109         Decoration              classic
110         BgColor                 red
111         Font
112                 Color           white
113                 Family          Typewriter
114         EndFont
115         LabelFont               
116                 Color           blue
117                 Family          Sans
118                 Size            Small
119         EndFont
120         MultiPar                true
121         LatexType               command
122         LatexName               warning
123         Preamble
124 \newcommand{\warning}[1]{\todo[color=red!80,prepend,caption={Warning!}]{#1}}
125         EndPreamble
126 End