[texhax] problem using titleref.sty and titlesec.sty together

Donald Arseneau asnd at triumf.ca
Thu Mar 29 20:06:15 CEST 2012

Niall Mansfield <texhax at uit.co.uk> writes:


> \usepackage{titleref}
> \usepackage{titlesec}

%  In the default operation, the titles are recorded by a command inserted
%  into the various sectioning commands ("\@sect", "\@ssect", "\@chapter",
%  "\@schapter", "\@part", "\@spart", and "\@caption").  If this creates
%  conflicts with some other package, you can use an entirely different
%  method by specifying "\usepackage[usetoc]{titleref}".  As the name
%  implies, this option records the titles from the table-of-contents
%  entry without redefining the sectioning commands.  (This is the method
%  used in older versions.)

titleref does not use LaTeX's \@sect or \@ssect.

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list