is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

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

is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Stefan Klinger-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

is anyone reading this list? There seems to be very low traffic here. Is "beamer" evantually dead?


----- Forwarded message from Stefan Klinger <all-lists@...> -----

Date: Sun, 4 Oct 2009 12:53:33 +0200
From: Stefan Klinger <all-lists@...>
To: latex-beamer-users@...
Subject: [LaTeX-beamer-users] need section commands *inside* frame
        environment
Message-ID: <20091004105333.GC5044@...>
User-Agent: Mutt/1.5.20 (2009-06-14)

Hello.

I am working on migrating an existing lecture to the Beamer class, and I came up
with the following Problem: I need the [[sub]sub]section commands to work from
*inside* the frame environment.

This is due to the structure of the lecture. There are quite some very short
subsubsections in there, which do not justify a frame on their own.
It is quite common that multiple subsubsections start on the same frame, which
is why I need the headlines appear in the midst of the frame. See example below.

Furthermore these sections are referenced from later parts of the lecture, which
is why I want to have the numbers visible.

I know that my wishes are probably not in line with the best-practice
guidelines, but I don't have a choice here.

Here is an example: First the LaTeX code, then the desired output in ASCII-Arts.

    \begin{frame}
      \section{One}
      Intro to section One.
    \end{frame}
   
    \begin{frame}
      \subsection{One-one}
      Very short intro to subsection One-one.
     
      \subsubsection{One-one-one}
      Very short subsubsection One-one-one.
   
      \subsubsection{One-one-two}
      Very short subsubsection One-one-two.
    \end{frame}
   
schould render to something like this:

    |========================================|
    |1 - One                                 |    <--infoline
    |----------------------------------------|
    |                                        |
    |                                        |
    |                                        |
    |  >>> 1 One <<<                         |    <--section header
    |                                        |
    |  Intro to section One.                 |
    |                                        |
    |                                        |
    |                                        |
    |                                        |
    |========================================|

   
    |========================================|
    |1 - One                    One-one - 1.1|
    |----------------------------------------|
    |                                        |
    |  1.1 One-one                           |    <--subsection header
    |    Very short intro to subsection      |
    |    One-one.                            |
    |                                        |
    |  1.1.1 One-one-one                     |    <--subsubsection header
    |  Very short subsubsection One-one-one. |
    |                                        |
    |  1.1.2 One-one-two                     |
    |  Very short subsubsection One-one-two. |
    |                                        |
    |========================================|


I came up with a workaround, which is not very satisying: Defining

    \newcommand{\subsubsectionput}{%
      \par%
      \textbf{\thesection.\thesubsection.\thesubsubsection\ \insertsubsubsectionhead}%
      \par%
    }
   
allows me to use ‘\subsubsectionput’ on the slide, at the point where the
headline should appear. This, however, is error prone, and does *not* work if
multiple subsubsections start on the same frame.


Any help would be appreciated here!

Kind regards
Stefan


--
Stefan Klinger                                      o/klettern
                                                    /\/  bis zum
send plaintext only - max size 32kB - no spam         \   Abfallen
http://stefan-klinger.de

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

----- End forwarded message -----

--
Stefan Klinger                                      o/klettern
                                                    /\/  bis zum
send plaintext only - max size 32kB - no spam         \   Abfallen
http://stefan-klinger.de

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Андрей Парамонов :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/12 Stefan Klinger <all-lists@...>:
> Hello,
>
> is anyone reading this list? There seems to be very low traffic here. Is "beamer" evantually dead?
>

Hello!

The Beamer and the list are not dead, and I'm sure many users read
your message. It is however very hard to suggest something helpful, as
Beamer simply doesn't support the "feature" you've requested. Looking
at the code, there is no quick way to tweak Beamer core according to
your needs.

Maybe you would be able to achieve what you want by using your own
special counters (remember, the full power of LaTeX is at your hands).

You might also consider other presentation packages (prosper etc).

Andrey Paramonov

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Bill Gatliff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stefan Klinger wrote:
> Hello,
>
> is anyone reading this list? There seems to be very low traffic here. Is "beamer" evantually dead?
>  

/me raises hand and says, "I read this list!"

My use of beamer is currently confined to producing only the most basic
types of presentations, but it is the only presentation authoring
software I use so at least for me, beamer is hardly dead.  :)

I have plans to make better use of beamer's (and LaTeX's) capabilities
in the near future, which means I'll be spending a lot of time in the
list archives.  They are a valuable resource.


b.g.

--
Bill Gatliff
bgat@...


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Evan Sultanik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 12, 2009 at 08:59, Stefan Klinger
<all-lists@...> wrote:
> Hello,
>
> is anyone reading this list? There seems to be very low traffic here. Is "beamer" evantually dead?

I am not subscribed to the Beamer list so I am going to answer your
question here.

I am also not a Beamer expert, but I think you can solve your problem
using plain old TeX.

Try adding this to the preamble of your document:

\let\sectionold=\section
\def\section#1{\sectionold{#1}\par\textbf{\thesection\ \insertsectionhead}\par}
\let\subsectionold=\subsection
\def\subsection#1{\subsectionold{#1}\par\textbf{\thesection.\thesubsection\
\insertsubsectionhead}\par}
\let\subsubsectionold=\subsubsection
\def\subsubsection#1{\subsubsectionold{#1}\par\textbf{\thesection.\thesubsection.\thesubsubsection\
\insertsubsubsectionhead}\par}

With that you should be able to use \section{}, \subsection{}, and
\subsubsection{} as normal (without your \subsubsectionput command)
and the headers should appear in the frame.  I tried this out in
beamer and it appears to support multiple sections per frame.  I am
not sure if this will break anything in a more complicated beamer
presentation though.

    - Evan

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Rich Shepard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 12 Oct 2009, Bill Gatliff wrote:

> Stefan Klinger wrote:
>> is anyone reading this list? There seems to be very low traffic here. Is
>> "beamer" evantually dead?

   I do, too.

> My use of beamer is currently confined to producing only the most basic
> types of presentations, but it is the only presentation authoring software
> I use so at least for me, beamer is hardly dead.  :)

   I've been using the beamer class for presentations for quite a few years.
I've standardized on a couple of themes and colors (simple modifications of
default themes) with the addition of my company logo in the lower right
corner of each slide. The results are always saved and used as PDF files; I
think the largest presentation I developed has 145 slides for the two-day
workshops I presented in Australia last May.

   I've found it much quicker and easier to create the presentation within
LyX, the GUI front end to LaTeX. I've also learned LyX is quicker and easier
for all my LaTeX writing. My few questions about use of the beamer class are
asked on the lyx mail list because I've found it more responsive than this
one.

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: is anyone reading this list? [all-lists@stefan-klinger.de: need section commands *inside* frame environment]

by Rich Shepard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stefan Klinger wrote:

> Hello,
>
> is anyone reading this list? There seems to be very low traffic here. Is
> "beamer" evantually dead?

   Oh. Let me address the implied question in the subject line: the answer is
'yes.' I regularly use sections and sub-sections (both numbered and
unnumbered) within my beamer class presentations. Couldn't organize it for
myself and my audiences without them.

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: need section commands *inside* frame environment

by Stefan Klinger-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

and thank you very much for the suggested code.

On 12 October 2009, Evan Sultanik wrote with possible deletions:
> \let\sectionold=\section
> \def\section#1{\sectionold{#1}\par\textbf{\thesection\ \insertsectionhead}\par}
> \let\subsectionold=\subsection
> \def\subsection#1{\subsectionold{#1}\par\textbf{\thesection.\thesubsection\
> \insertsubsectionhead}\par}
> \let\subsubsectionold=\subsubsection
> \def\subsubsection#1{\subsubsectionold{#1}\par\textbf{\thesection.\thesubsection.\thesubsubsection\
> \insertsubsubsectionhead}\par}

Unfortunately this omits the section headers from the area that the Beamer
class calls "infolines".

If these commands are used from *inside* the frame environment, the section
headers appear as they should, but the infoline is empty.

If used *outside* the frame environment, the infoline is set up correctly, but
the section header appears on a seperate output page.

Thanks anyway for having a look into this!

Kind regards,
Stefan


--
Stefan Klinger                                      o/klettern
                                                    /\/  bis zum
send plaintext only - max size 32kB - no spam         \   Abfallen
http://stefan-klinger.de

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users