Replacing subsection heading with something else

View: New views
2 Messages — Rating Filter:   Alert me  

Replacing subsection heading with something else

by Jochen Wuttke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm using the Warsaw theme. It places the title of the current  
subsection in the top right part of the header. I would like to  
remove the subsection title and instead use that space to put other  
arbitrary text there. What I'm currently doing is:

\newcommand{\framesummary}[1]{%
\setbeamertemplate{subsection in head/foot}{\parbox{.4\paperwidth}{#1}}}

So every time I want to put text in that place, I use

\framesummary{This is the text I want to see.}

I find this solution rather inelegant and wonder if there is a way to  
address the box where the text is placed instead of changing the  
template for the subsection.

Jochen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: Replacing subsection heading with something else

by matifou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I have the same problem (remove subsections in headline using theme Warsaw) and hence want to ask if a solution could be found.

I tried myself to do it, looking at the code of the outertheme split (used by outertheme shadow used by warsaw): outertheme split

I just hence copied the relevant part into the preamble:

\defbeamertemplate*{headline}{split theme}
{%
  \leavevmode%
  \@tempdimb=2.4375ex%
  \ifnum\beamer@subsectionmax<\beamer@sectionmax%
    \multiply\@tempdimb by\beamer@sectionmax%
  \else%
    \multiply\@tempdimb by\beamer@subsectionmax%
  \fi%
  \ifdim\@tempdimb>0pt%
    \advance\@tempdimb by 1.125ex%
    \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}%
      \vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}%
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}%
      \vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}%
    \end{beamercolorbox}%
  \fi%
}

and replaced:
\defbeamertemplate*{headline}{split theme}
by
\setbeamertemplate{headline}

Then I hoped to be able to modify it consequently, but even introducing that made mystakes and I could not compile... does anyone has an idea how I should do? Is it a good starting point to do like that? Any other idea?

Thanks a lot

Matthieu Stigler


Jochen Wuttke wrote:
Hi,

I'm using the Warsaw theme. It places the title of the current  
subsection in the top right part of the header. I would like to  
remove the subsection title and instead use that space to put other  
arbitrary text there. What I'm currently doing is:

\newcommand{\framesummary}[1]{%
\setbeamertemplate{subsection in head/foot}{\parbox{.4\paperwidth}{#1}}}

So every time I want to put text in that place, I use

\framesummary{This is the text I want to see.}

I find this solution rather inelegant and wonder if there is a way to  
address the box where the text is placed instead of changing the  
template for the subsection.

Jochen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users