org-latex-format-headline-function

org-latex-format-headline-function is a variable defined in `ox-latex.el'.
Its value is
org-latex-format-headline-default-function

  • This variable may be risky if used as a file-local variable.

Documentation:
Function for formatting the headline's text.

This function will be called with 5 arguments:
TODO the todo keyword (string or nil).
TODO-TYPE the type of todo (symbol: `todo', `done', nil)
PRIORITY the priority of the headline (integer or nil)
TEXT the main headline text (string).
TAGS the tags as a list of strings (list of strings or nil).

The function result will be used in the section format string.

Use `org-latex-format-headline-default-function' by default,
which format headlines like for Org version prior to 8.0.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.4 of Emacs.