CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/titlesec


Titlesec, Title­toc, Titleps

This di­rec­tory holds 3 pack­ages for sec­tion­ing ti­tles – when used as such (ti­tlesec), in head­ers and foot­ers (ti­tleps) and in ta­bles of con­tents (ti­tle­toc). They can be used sep­a­rately, but you will get most of them when used to­gether.


Sec­tion­ing ti­tles, in­clud­ing mar­gin and wrap ti­tles, dif­fer­ent for­mat in odd and even pages, rules above and be­low the ti­tle, adding new sec­tion­ing lev­els, mea­sur­ing the width of the ti­tle, etc.


TOC en­tries, with the pos­si­bil­ity of chang­ing the for­mat in the mid­dle of a doc­u­ment, group­ing the en­tries in a sin­gle para­graph, pretty free-forms en­tries, par­tial tocs, etc. It's de­scribed in titlesec.pdf.


Page styles with work­ing top marks, ac­cess to top, first and bot marks in a sin­gle header/footer, rules, head­ers/foot­ers for spe­cific floats (kinda \thispagestyle), mul­ti­ple sets of marks, etc. An one-stage mechan­ims is used, with­out in­ter­me­di­ate \leftmarks or \rightmarks.

Lat­est changes

2.11  2019-07-16
      - New license: MIT.
      - Option nostruts, to remove struts inserted by titlesec.
      - Reorganized code: only sty files, removed def and tss ones
        (although the mechanism for tss still works).
      - Fix - Wrong hyperlinks in table of contents with the starred
        versions, because of a change of behavior of hyperref (it
        patches the behaviour of an internal macro in hyperref).
      - Fix - Wrong spacing with titleps and displayed text after a
      - Fix - Newly defined floats raised an error with titletoc.


No .ins/.dtx pre­in­sta­la­tion is re­quired. Move the files to a place where can find them and type­set ti­tlesec.tex. All of files in this di­rec­tory are nec­es­sary for ti­tlesec.sty to work, ex­cept the man­ual ti­tlesec.tex (and this 'readme' file). The man­ual re­quires ti­tlesec.sty and ti­tle­toc.sty.

Fur­ther de­tails are avail­able on



Please, for sug­ges­tions, bug re­ports, etc., go to More http://www.tex­nia.com/con­tact.html

Down­load the con­tents of this pack­age in one zip archive (369.4k).

ti­tlesec – Select al­ter­na­tive sec­tion ti­tles

A pack­age pro­vid­ing an in­ter­face to sec­tion­ing com­mands for se­lec­tion from var­i­ous ti­tle styles. E.g., marginal ti­tles and to change the font of all head­ings with a sin­gle com­mand, also pro­vid­ing sim­ple one-step page styles. Also in­cludes a pack­age to change the page styles when there are floats in a page. You may as­sign head­ers/foot­ers to in­di­vid­ual floats, too.

Bug trackerhttps://github.com/jbe­zos/ti­tlesec/is­sues
Ver­sion2.11 2019-07-16
Li­censesMIT Li­cense
Copy­right1998–2019 Javier Be­zos
Main­tainerJavier Be­zos L√≥pez
Con­tained inTeX Live as ti­tlesec
MiKTeX as ti­tlesec
Page head and foot
See alsotitleps
Guest Book Sitemap Contact Contact Author