I'm trying to make that the title of the last section appears as frametitle only on the first frame after each \section{...} code.
Now, i'm doing it manually with this code :
\newcommand{\TS}[0]{
\mode<beamer>{
\frametitle{\thesection \insertsection}
}}
And I put manualy on the first frame after \section{title of the last section} this code :
\section{title of the last section}
\begin{frame}
\TS
content of the frame with the last section in frametitle.
\end{frame}
\begin{frame}
This is the second frame without a title.
\end{frame}
So I want make this to made done automatically (and also put as frame subtitle the subsection if exists, and only put the subsection as frametitle if the current section as been displayed on a previous frame, .... I hope I'm being precise enough).
I've read this subject in order to try to customise it with part of the code, but without any success.


\frametitle, have you tried using thetreeorsmoothtreeouter themes? Try this, for example, `\documentclass{beamer} \useoutertheme{smoothtree}\begin{document}
\section{Test section one} \begin{frame} test\end{frame} \subsection{Test subsection one one} \begin{frame} test\end{frame} \subsection{Test subsection one two} \begin{frame} test\end{frame}
\section{Test section two} \begin{frame} test\end{frame} \subsection{Test subsection two one} \begin{frame} test\end{frame}
\end{document}`
– Gonzalo Medina Jan 30 '15 at 00:02\section{...}. But thanks for trying. – math45 Jan 30 '15 at 00:27