Add parameter to the index entry
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Mon May 1 11:31:37 UTC 2023
Am 01.05.23 um 12:03 schrieb Ehud Behar:
> 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?
Is there a reason not to use the
name index
of LyX?
Wolfgang
More information about the lyx-users
mailing list