org-latex-format-inlinetask-function

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

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

Documentation:
Function called to format an inlinetask in LaTeX code.

The function must accept six parameters:
TODO the todo keyword, as a string
TODO-TYPE the todo type, a symbol among `todo', `done' and nil.
PRIORITY the inlinetask priority, as a string
NAME the inlinetask name, as a string.
TAGS the inlinetask tags, as a list of strings.
CONTENTS the contents of the inlinetask, as a string.

The function should return the string to be exported.

For example, the variable could be set to the following function
in order to mimic default behavior:

(defun org-latex-format-inlinetask (todo type priority name tags contents)
"Format an inline task element for LaTeX export."
(let ((full-title
(concat
(when todo
(format "\\textbf{\\textsf{\\textsc{%s}}} " todo))
(when priority (format "\\framebox{\\#%c} " priority))
title
(when tags
(format "\\hfill{}\\textsc{:%s:}"
(mapconcat 'identity tags ":")))))
(format (concat "\\begin{center}\n"
"\\fbox{\n"
"\\begin{minipage}[c]{.6\\textwidth}\n"
"%s\n\n"
"\\rule[.8em]{\\textwidth}{2pt}\n\n"
"%s"
"\\end{minipage}}"
"\\end{center}")
full-title contents))

You can customize this variable.