\documentclass{article}
\usepackage{tikz}
\title{Title}
\author{Author\begin{tikzpicture}\filldraw[red] (0,0) circle (4pt);\end{tikzpicture}}
\date{1 January 1980}
\begin{document}
\maketitle
\begin{tikzpicture}\filldraw[red] (0,0) circle (4pt);\end{tikzpicture}
\end{document}
should have a red disk next to the author name. However, it comes out black (or more precisely, it takes the color of the surrounding text). This happens only when \author{} is specified in the preamble; behaviour seems normal if \author{} is after \begin{document}
The following
should have a red disk next to the author name. However, it comes out black (or more precisely, it takes the color of the surrounding text). This happens only when
\author{}
is specified in the preamble; behaviour seems normal if\author{}
is after\begin{document}
In preamble:
In document body (note the additional
@color
):(First spotted in https://github.com/brucemiller/LaTeXML/pull/2395#issuecomment-2294924608.)