Selon Paul Smith <[EMAIL PROTECTED]>:
> On 8/2/07, Paul Smith <[EMAIL PROTECTED]> wrote:
> > > I have the same problem. The solution suggested by Helge does not produce
> a completely good result, since the generated reference is
> > > not in superscript format.
> >
> > The package savefnmark provides a simple ERT solution. Can developers
> > implement a solution without ERT?
>
> Here is a LyX file showing the savefnmark solution.
You can use character styles:
## SaveFN charstyle
CharStyle SaveFN
LatexType Command
LatexName lyxSaveFN
LabelFont
Color Blue
Size Tiny
EndFont
Preamble
\usepackage{savefnmark}
\def\lyxSaveFN#1{\expandafter\saveFN\csname #1\endcsname}
EndPreamble
End
## UseFN charstyle
CharStyle UseFN
LatexType Command
LatexName lyxUseFN
LabelFont
Color Blue
Size Tiny
EndFont
Preamble
\def\lyxUseFN#1{\expandafter\useFN\csname #1\endcsname}
EndPreamble
End
Put them into a file e.g. named "savefnmark.inc" and then use an "Input
savefnmark.inc" into your document class layout (you should have to make a copy
of "article.layout" for an article). Don't forget to reconfigure. Character
styles are available from "Edit>TextStyle".
Mael.