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:
\mode<article>{
\usepackage[compact]{titlesec}
}
\only<article>{
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{}
\titlespacing{\section}{0pt}{2em}{0.5em}
}
