This *may* be what you want: http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont
As it describes a more "global" way of doing things, it may override (or be overridden by?) the local ERT at each inset. It's all a bit of waving a dead chicken at it to me, though, and I could be way off base. Still, hope it helps! From: Michael Bach <pha...@gmail.com> To: lyx-users@lists.lyx.org >Sent: Sunday, July 29, 2012 4:41 AM >Subject: Re: Layout: ERT alignment yet again > >On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote: >> Try this: >> >> ------- >> >> InsetLayout ERT >> Font >> Size Small >> Color latex >> Family typewriter >> EndFont >> End >> >> Style Plain_Layout >> Align Left >> End >> >> ------- >> > >This worked well for my ERT insets, Thanks! > >One last thing though: How can I change the layout (e.g. font size) for >captions inside float insets? > >I tried e.g. for figures: > >------- > >InsetLayout Figure >Font > Size Small >EndFont >End > >------- > >Michael > > > > >