On 12/03/09, Alex Simma <[email protected]> wrote:
>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?
>

I believe the LyX way to pass options is by using the Insert>>Short title 
command. This is how you pass an option, e.g., to the sectioning commands. 
However, it is grayed out in the To do inset, even though the module declares 
a one argument command.
I suppose it is up to the module experts to provide some enlightenment.


S. 





______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  [email protected]
College Station, TX 77843-4237

Reply via email to