Caption and Font in module
Dear list I am trying to make a module for the threeparttable package but I have some problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The code is #\DeclareLyXModule[threeparttable.sty]{Threeparttable} #DescriptionBegin #Enables the threeparttable environment to ease the use of table notes #DescriptionEnd # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com Format 21 #AddToPreamble #\usepackage{threeparttable} #EndPreamble InsetLayout Flex:Threeparttable LyXType custom LatexType Environment LatexName threeparttable Decoration classic LabelString threeparttable MultiPartrue End Style Tablenotes LatexType Item_Environment LatexName tablenotes Font SizeTiny EndFont End For Some reason the font size statement is completely ignored in the LaTeX code even though the font i LyX gets smaller. My second problem is, that I get the senseless!!! message when I make a caption in the custom inset. Any ideas about how to get this to work? Best regards Andreas -- Andreas Noack Jensen Ph.d.-stipendiat Økonomisk Institut andreas.noack.jen...@econ.ku.dk Københavns Universitet http://www.econ.ku.dk/phdstudent/noack/ Øster Farimagsgade 5, bygning 26Tlf.: 353 23094 1353 København K
Re: Caption and Font in module
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote: Dear list I am trying to make a module for the threeparttable package but I have some problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The code is #\DeclareLyXModule[threeparttable.sty]{Threeparttable} #DescriptionBegin #Enables the threeparttable environment to ease the use of table notes #DescriptionEnd # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com Format 21 #AddToPreamble #\usepackage{threeparttable} #EndPreamble InsetLayout Flex:Threeparttable LyXType custom LatexType Environment LatexName threeparttable Decoration classic LabelString threeparttable MultiPartrue End Style Tablenotes LatexType Item_Environment LatexName tablenotes Font SizeTiny EndFont End For Some reason the font size statement is completely ignored in the LaTeX code even though the font i LyX gets smaller. My second problem is, that I get the senseless!!! message when I make a caption in the custom inset. Any ideas about how to get this to work? On (i), the font declaration only affects the appearance in LyX. You have to do something in the LaTeX itself if you want to font to be smaller. On (ii), I think the problem is that captions must be in floats. So you should declare tablenotes as a float, if that is what it really is. See stdfloats.inc for examples. Richard
Caption and Font in module
Dear list I am trying to make a module for the threeparttable package but I have some problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The code is #\DeclareLyXModule[threeparttable.sty]{Threeparttable} #DescriptionBegin #Enables the threeparttable environment to ease the use of table notes #DescriptionEnd # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com Format 21 #AddToPreamble #\usepackage{threeparttable} #EndPreamble InsetLayout Flex:Threeparttable LyXType custom LatexType Environment LatexName threeparttable Decoration classic LabelString threeparttable MultiPartrue End Style Tablenotes LatexType Item_Environment LatexName tablenotes Font SizeTiny EndFont End For Some reason the font size statement is completely ignored in the LaTeX code even though the font i LyX gets smaller. My second problem is, that I get the senseless!!! message when I make a caption in the custom inset. Any ideas about how to get this to work? Best regards Andreas -- Andreas Noack Jensen Ph.d.-stipendiat Økonomisk Institut andreas.noack.jen...@econ.ku.dk Københavns Universitet http://www.econ.ku.dk/phdstudent/noack/ Øster Farimagsgade 5, bygning 26Tlf.: 353 23094 1353 København K
Re: Caption and Font in module
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote: Dear list I am trying to make a module for the threeparttable package but I have some problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The code is #\DeclareLyXModule[threeparttable.sty]{Threeparttable} #DescriptionBegin #Enables the threeparttable environment to ease the use of table notes #DescriptionEnd # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com Format 21 #AddToPreamble #\usepackage{threeparttable} #EndPreamble InsetLayout Flex:Threeparttable LyXType custom LatexType Environment LatexName threeparttable Decoration classic LabelString threeparttable MultiPartrue End Style Tablenotes LatexType Item_Environment LatexName tablenotes Font SizeTiny EndFont End For Some reason the font size statement is completely ignored in the LaTeX code even though the font i LyX gets smaller. My second problem is, that I get the senseless!!! message when I make a caption in the custom inset. Any ideas about how to get this to work? On (i), the font declaration only affects the appearance in LyX. You have to do something in the LaTeX itself if you want to font to be smaller. On (ii), I think the problem is that captions must be in floats. So you should declare tablenotes as a float, if that is what it really is. See stdfloats.inc for examples. Richard
Caption and Font in module
Dear list I am trying to make a module for the threeparttable package but I have some problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The code is #\DeclareLyXModule[threeparttable.sty]{Threeparttable} #DescriptionBegin #Enables the threeparttable environment to ease the use of table notes #DescriptionEnd # Author: Andreas Noack JensenFormat 21 #AddToPreamble #\usepackage{threeparttable} #EndPreamble InsetLayout Flex:Threeparttable LyXType custom LatexType Environment LatexName threeparttable Decoration classic LabelString threeparttable MultiPartrue End Style Tablenotes LatexType Item_Environment LatexName tablenotes Font SizeTiny EndFont End For Some reason the font size statement is completely ignored in the LaTeX code even though the font i LyX gets smaller. My second problem is, that I get the "senseless!!!" message when I make a caption in the custom inset. Any ideas about how to get this to work? Best regards Andreas -- Andreas Noack Jensen Ph.d.-stipendiat Økonomisk Institut andreas.noack.jen...@econ.ku.dk Københavns Universitet http://www.econ.ku.dk/phdstudent/noack/ Øster Farimagsgade 5, bygning 26Tlf.: 353 23094 1353 København K
Re: Caption and Font in module
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote: > Dear list > > I am trying to make a module for the threeparttable package but I have some > problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. > The code is > > #\DeclareLyXModule[threeparttable.sty]{Threeparttable} > #DescriptionBegin > #Enables the threeparttable environment to ease the use of table notes > #DescriptionEnd > # Author: Andreas Noack Jensen> > Format 21 > > #AddToPreamble > #\usepackage{threeparttable} > #EndPreamble > > InsetLayout Flex:Threeparttable > LyXType custom > LatexType Environment > LatexName threeparttable > Decoration classic > LabelString threeparttable > MultiPartrue > End > > Style Tablenotes > LatexType Item_Environment > LatexName tablenotes > Font > SizeTiny > EndFont > End > > For Some reason the font size statement is completely ignored in the LaTeX > code even though the font i LyX gets smaller. My second problem is, that I > get the "senseless!!!" message when I make a caption in the custom inset. Any > ideas about how to get this to work? > On (i), the font declaration only affects the appearance in LyX. You have to do something in the LaTeX itself if you want to font to be smaller. On (ii), I think the problem is that captions must be in floats. So you should declare tablenotes as a float, if that is what it really is. See stdfloats.inc for examples. Richard