-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or requestiacrj.clsRelated to the iacrj.cls document class that is intended to replace iacrcc.cls.Related to the iacrj.cls document class that is intended to replace iacrcc.cls.
Description
At present we have just a warning if the title appears to be too long if it appears to be at least 70 characters, but this is just a guess. As it turns out, we can measure the exact width of the rendered title with something like this:
\newdimen\maxtitlewidth
\newbox\measuretitle
\maxtitlewidth=\textwidth
\advance\maxtitlewidth by -15pt % allow for approximately two-digit page number width
\global\setbox\measuretitle=\hbox{\@IACR@title@running}
\ifdim\wd\measuretitle>\maxtitlewidth
\ClassError{iacrcc}{Title is too long for running head. Please use the running argument on \title with a shortened title.}
\fi
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestiacrj.clsRelated to the iacrj.cls document class that is intended to replace iacrcc.cls.Related to the iacrj.cls document class that is intended to replace iacrcc.cls.