Add parameter to the index entry
Ehud Behar
ehud.behar at posteo.pm
Mon May 1 10:03:23 UTC 2023
I want to insert a "people" index into my document so that an index
entry has the
[people]
"parameter" appended to it. Like this:
\index[people]{Dirac, Paul} and \index[people]{Maxwell, James Clerk}
So I want to make some changes to the index entry that is defined in the
stdinsets.inc file.
I tried to insert the following lines in my local layout but it gives me
'\index{peopleDirac, Paul}' instead of '\index[people]{Dirac, Paul}':
InsetLayout Index
LabelString Idx
Decoration classic
Font
Size Small
EndFont
LabelFont
Color indexlabel
Size Small
EndFont
LatexParam people #<<<<< New
MultiPar false
CustomPars false
ForcePlain true
ContentAsLabel true
PassThruChars @|!
End
Any idea how to achieve it?
More information about the lyx-users
mailing list