New version of multicol.module with a few enhancements:
* Has "--Column Break--" feature
* Doesn't make extraneous \usepackage lines in output

The patch is unchanged from my first posting, because nothing changed in the other files.

Helge Hafting
#\DeclareLyXModule[multicol.sty]{Multiple columns}
#DescriptionBegin
#Adds support for the multicol.sty package 
#     
#DescriptionEnd

#Author: Helge Hafting <[email protected]>

Format 30

AddToPreamble
        \usepackage{multicol}
EndPreamble

Style "--Column Break--"
        Category MainText
        KeepEmpty       1
        LatexType       Command
        LatexName       columnbreak
        Margin          Dynamic
        LabelType       Static
        LabelString     "--- Column Break ---"
        LabelFont
                Family  Roman
                Series  Medium
                Size    Normal
                Color   Blue
        EndFont
        HTMLLabel             NONE
End

Insetlayout     "Flex:2 columns"
        MultiPar        1
        Decoration      Classic
        #Do Conglomerate look better than Classic?
        #Less intrusive, and doesn't auto-collapse
        LabelString     "2 columns"
        LatexType       Environment
        LatexName       multicols
        LatexParam      {2}
        LyxType         Custom
        ResetsFont      0
End

Insetlayout     "Flex:3 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "3 columns"
        LatexParam      {3}
        Decoration      Classic
End

Insetlayout     "Flex:4 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "4 columns"
        LatexParam      {4}
End

Insetlayout     "Flex:5 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "5 columns"
        LatexParam      {5}
End

Insetlayout     "Flex:6 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "6 columns"
        LatexParam      {6}
End

Insetlayout     "Flex:7 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "7 columns"
        LatexParam      {7}
End

Insetlayout     "Flex:8 columns"
        CopyStyle       "Flex:2 columns"
        LabelString     "8 columns"
        LatexParam      {8}
End



Reply via email to