This is further to the solution provided to my previous question about allocating short and long titles correctly to the beamer and article output of a beamerarticle.

The solution provided there works fine; however it creates a further problem because I am also using the titlesec package to modify section title formatting in the article.

titlesec is designed for \section and, having used the solution in the previous question I am now using a customized command \Section. Any idea how to make titlesec "understand" \Section?

Additions to code for the minimal working example in the previous question:



1 Answer 1


You can load titlesec and make the changes to the section style before loading beamerarticle. Here is an example with a distinctively different title style:








\Section[Short title 1]{First Section's Full Title}


Sample output

This code should be commented out if you run in beamer mode. Alternatively, put the different preambles in different files, the body and common code in e.g. main.tex and use \input{main.tex} as suggested in the beamer documetation.

As far as I can tell, titlesec doesn't tolerate being loaded after beamerarticle.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .