File: algorithm2e.module

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (44 lines) | stat: -rw-r--r-- 1,119 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e Float}
#\DeclareCategory{Floats & Captions}
#DescriptionBegin
# Use the algorithm2e package for algorithm floats rather
# than LyX's home-brewed algorithm floats. Use the Algorithm
# style to enter and indent the algorithm.
#DescriptionEnd
#
#Author: Jürgen Spitzmüller

Format 111

Requires algorithm2e

Input stdfloatnames.inc

Float
	Type                  algorithm
	GuiName               Algorithm
	Placement             tbp
	AllowedPlacement      !htbp
	AllowsSideways        0
	Extension             loa
	NumberWithin          none
	Style                 plain
	ListName              "List of Algorithms"
	IsPredefined          true
	UsesFloatPkg          false
	ListCommand           listofalgorithms
	RefPrefix             alg
	PrettyFormat          "Algorithm|Algorithms ##"
End

Style Algorithm
  Category              List
  Margin                Static
  LatexType             Environment
  NextNoIndent          1
  ParbreakIsNewline     1
  ToggleIndent          Never
  KeepEmpty             1
  LeftMargin            MM
  Align                 Left
End