Advertisement
e-birk

algolyx.module

May 25th, 2013
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. #\DeclareLyXModule{Algorithm support for LyX}
  2. #DescriptionBegin
  3. #This module provides a text style to write algorithms using the
  4. #packages "algorithm" and "algorithmic".
  5. #DescriptionEnd
  6. # Algorithm textclass definition file. Taken from initial LyX source code
  7. # Author: BG <nicolas.marsgui@libertysurf.fr>
  8. # Version: 0.3 patched
  9.  
  10. # This file contains a text style related to the algorithm and algorithmic
  11. # packages, in order to write some algorithms through lyx.
  12.  
  13. Style Algorithm
  14. # Margin First_Dynamic
  15. LatexType Item_Environment
  16. LatexName algor
  17. NextNoIndent 1
  18. LeftMargin MM
  19. LabelSep xxx
  20. ItemSep 0
  21. TopSep 0.5
  22. BottomSep 0.5
  23. ParSep 0
  24. Align Block
  25. AlignPossible Block, Left
  26. LabelType Manual
  27. LabelString MM
  28. FreeSpacing 0
  29.  
  30. # label font definition
  31. LabelFont
  32. Series Bold
  33. EndFont
  34.  
  35. Preamble
  36. \usepackage{algolyx}
  37. EndPreamble
  38. End
  39.  
  40. Style Algorithm_(num)
  41. CopyStyle Algorithm
  42. LatexParam [1]
  43.  
  44. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement