SHARE
TWEET

algolyx.module

e-birk May 25th, 2013 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top