uudruid74 wrote:
> I'm doing a document with lots of small margin notes. However, the system
> never puts the margin notes next to my floats. In a couple cases, I want
> the margin note to go with what's in a floating table. LyX won't let me add
> the margin note to the float. Is there some way to do this? Otherwise,
> I'm going to have bare spots next to my tables!
LaTeX's own \marginpars do not allow for this, but you can use the marginnote
package with their \marginnote command. This might also cure your other
positioning problem.
Attached is a module which integrates support for this package to LyX. The
following page describes how to install and use LyX modules:
http://wiki.lyx.org/Layouts/Modules
HTH
Jürgen
#\DeclareLyXModule{Marginnotes}
#DescriptionBegin
#Provides custom insets to insert Marginal Notes that can be used within
#floats (using the marginnote package).
#DescriptionEnd
# Authors: Jürgen Spitzmüller <[email protected]>
Format 48
AddToPreamble
\RequirePackage{marginnote}
EndPreamble
#
# Notes
#
InsetLayout Flex:Margin_Note
LyxType custom
LabelString "Margin"
Decoration classic
LabelFont
Color blue
Family Sans
Size Small
EndFont
MultiPar true
LatexType command
LatexName marginnote
Argument 1
LabelString "Left"
MenuString "Insert Left-Page Text"
Tooltip "If you want specific text if this appears on
left page, insert here"
EndArgument
Argument post:1
LabelString "VOffset"
MenuString "Insert Vertical Offset"
Tooltip "Manually move the Marginnote up or down"
EndArgument
End