Insets and Options (or how do I use todonotes effectively)

2009-12-03 Thread Alex Simma
I am writing up my thesis in LyX and want to use the todonotes  
package.  I found Jürgen Spitzmüller's layout and it's very useful.


The basic way the that the todo package is used is as \todo[options] 
{todoEntry} and I want to know how to pass options to the todo  
command.  For example, one valid option is 'inline.'  I created a  
second, TODOInline inset where the corresponding LatexName  is  
todo[inline] and that works but does not scale when I want more types  
of todos with more options.  It feels like creating a new inset type  
for each permutation of options is clearly the wrong way.  However,  
optional-insert does not work with the todo inset.


What's the LyX way of having inset commands that accept options?

Thanks,
Alex

Insets and Options (or how do I use todonotes effectively)

2009-12-03 Thread Alex Simma
I am writing up my thesis in LyX and want to use the todonotes  
package.  I found Jürgen Spitzmüller's layout and it's very useful.


The basic way the that the todo package is used is as \todo[options] 
{todoEntry} and I want to know how to pass options to the todo  
command.  For example, one valid option is 'inline.'  I created a  
second, TODOInline inset where the corresponding LatexName  is  
todo[inline] and that works but does not scale when I want more types  
of todos with more options.  It feels like creating a new inset type  
for each permutation of options is clearly the wrong way.  However,  
optional-insert does not work with the todo inset.


What's the LyX way of having inset commands that accept options?

Thanks,
Alex

Insets and Options (or how do I use todonotes effectively)

2009-12-03 Thread Alex Simma
I am writing up my thesis in LyX and want to use the todonotes  
package.  I found Jürgen Spitzmüller's layout and it's very useful.


The basic way the that the todo package is used is as \todo[options] 
{todoEntry} and I want to know how to pass options to the todo  
command.  For example, one valid option is 'inline.'  I created a  
second, TODOInline inset where the corresponding LatexName  is  
todo[inline] and that works but does not scale when I want more types  
of todos with more options.  It feels like creating a new inset type  
for each permutation of options is clearly the wrong way.  However,  
optional-insert does not work with the todo inset.


What's the LyX way of having inset commands that accept options?

Thanks,
Alex