Skip to content

[Bug] conthead template appears to be ignored #670

Description

@ujtwr

Tell us about the system on which the bug was produced

  • TeXLive 2026
  • LuaLaTeX
  • Ubuntu Linux 24.1

I found that redefining conthead has no effect, while related templates work as expected.

Observations

The following redefinitions are effective:

\DeclareTblrTemplate{contfoot}{default}{ABC}
\DeclareTblrTemplate{conthead-text}{default}{ABC}
\DeclareTblrTemplate{middlehead}{default}{ABC}
\DeclareTblrTemplate{lasthead}{default}{ABC}

However, the following redefinition appears to be ignored:

\DeclareTblrTemplate{conthead}{default}{ABC}

No visible change occurs in the continued table header.

Investigation

In the source code, I found:

\DeclareTblrTemplate { middlehead, lasthead } { normal }
  {
    \UseTblrTemplate { capcont } { default }
  }

This seems to indicate that middlehead and lasthead use capcont directly. It is therefore unclear whether conthead is actually used anywhere in the current implementation.

Question

Is this intentional?

If conthead is supposed to be user-configurable, I would expect

\DeclareTblrTemplate{conthead}{default}{ABC}

to affect the continued table header.

If conthead is no longer used internally, should it be documented as such?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions