[Tex/LaTex] biblatex: Something like \ifentrytype


I’d like to change the bibmacro cite:short only for one entry type (@music). So is there a way to test for the entry type?

Best Answer

You can use the \iffieldequalstr command to check for a specific entry type.

      {} %true
      {} %false

From the biblatex manual (p. 147)


Executes <true> if the value of the <field> is equal to <string>, and <false> otherwise. This command is robust.

Related Question