Joyprakash | 22 May 17:01
Picon

Problem running beamerexample3.tex

Dear All,
I am unable to run Prof. Tantao's beamerexample3.tex which is given
below:
--------- start of the code -------------------------
% $Header: /cvsroot/latex-beamer/latex-beamer/examples/
beamerexample3.tex,v 1.8 2004/10/07 20:53:07 tantau Exp $

\documentclass{beamer}

% Copyright 2003 by Till Tantau <tantau <at> cs.tu-berlin.de>.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
% archives in directory macros/latex/base/lppl.txt.

%
% The purpose of this example is to show how \part can be used to
% organize a lecture.
%

\usetheme{Warsaw}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}

\setbeamercovered{transparent}

%
% The following info should normally be given in you main file:
%

(Continue reading)

Manuel Kühner | 22 Apr 12:01

itemize: adjusting vertical and horizontal spaces/alignment

Hi! Sorry!

Again - I try it in English:

First of all - here's the minimal example:

% -----------------------------
\documentclass[t]{beamer}

\setbeamertemplate{itemize
items}{\small\raise1.0pt\hbox{\donotcoloroutermaths$\
blacktriangleright$}}

\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}

\begin{document}
\begin{frame}
ddsdsdsd
\begin{itemize}
\item lala
\item lolo
\begin{itemize}
\item lala
\item lolo
\begin{itemize}
\item lala
\item lolo
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}
\end{document}
% -----------------------------

I have two problems with the output:

1. The vertical space between the elements is not equal for the different
nesting levels. Although the font sizes are equal. I did not find the right
commands to adjust that.

2. I would like to have the horizontal alignment different. It's hard to
explain it in English - I'll try to make an example:

___normal text
___> itemize item (nesting level 0)
___> itemize item (nesting level 0)
_____> itemize item (nesting level 1)
_____> itemize item (nesting level 1)
___> itemize item (nesting level 0)
_____> itemize item (nesting level 1)
_______> itemize item (nesting level 2)
___normal text again

So I want to have the itemize label (>) exactly beneath the normal text.
The "_" should indicate the horizontal position. The next nesting/child
level (the label) should be exactly beneath the "parent" level. I tried to 
accomplish this by using

%\setlength\leftmargini{1em}
%\setlength\leftmarginii{1em}
%\setlength\leftmarginiii{1em}
%\setlength\labelsep{0.5em}
%\setlength\labelwidth{2mm}
%\setlength\labelwidth{\
leftmargini}
%\addtolength\labelwidth{-\labelsep}

but with no success.

Any help would be appreciated!

manu

Attachment (lolo.pdf): application/pdf, 21 KiB
Attachment (lolo.tex): text/x-tex, 533 bytes
Manuel Kühner | 21 Apr 12:33

Beamer: section in frametitle (auch wenn es keinen frametitle gibt - ich kann's nicht besser formulieren)

Nochmal "Hallo",
ich arbeite gerade an einem eigenen Beamer-Theme - daher auch der andere Post. Mein zweiten Problem (Aufgabe nach ca. 2 Stunden) besteht darin, dass ich über dem frametitle das aktuelle section udn subsection darstellen will. Ungefähr so:

------
> current.section > current.subsection
frametitle
------

Das klappt auch - ich kann sogar die ">" dynamisch weglassen, wenn es z. B. kein aktuelles subsection gibt.

Hier mal ein Beispiel:

% --------------------------
\documentclass[t]{beamer}

\setbeamertemplate{frametitle}
{
 \insertsectionhead\par\

insertframetitle
}

\begin{document}
\section{Section}
\begin{frame}{Frametitel}
Mit Frametitel
\end{frame}
\begin{frame}
Ohne Frametitel
\end{frame}
\end{document}
% --------------------------

Link zum PDF:
http://dl.dropbox.com/u/1833443/Downloads/lala.pdf

Das Problem ist nur, wenn ich bei einer Folie keinen frametitle habe, dann wird offenbar der Code zum frametitle gar nicht aufgerufen. Ich hätte dann aber trotzdem gerne die "> section > subsecion"-Sache da stehen.

Ich habe nicht gefunden, was ich verbiegen muss, damit der entsprechende Code immer ausgeführt wird. Beziehungsweise muss ich vermutlich irgendwo die Überprüfung im Stile \ifempty{\frametitle} deaktivieren.

Hat jemand einen Tipp?

Beste Grüße
Manuel

Crosspost: Ich hatte die Frage ursprünglich bei dctt gepostet
Attachment (lala.pdf): application/pdf, 29 KiB
Attachment (lala.tex): text/x-tex, 248 bytes
Manuel Kühner | 21 Apr 12:31

Beamer: Anpassen der itemize-Umgebung (an der Grenze zum Wahnsinn)

Hallo zusammen,
seit mehr als 4 Stunden durchforste ich den beamer-Quellcode um komme auf keinen grünen Zweig.

Zunächst das Minimalbeispiel:

% -----------------------------
\documentclass[t]{beamer}

\setbeamertemplate{itemize
items}{\small\raise1.0pt\hbox{

\donotcoloroutermaths$\blacktriangleright$}}

\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}

\begin{document}
\begin{frame}
ddsdsdsd
\begin{itemize}
\item lala
\item lolo
\begin{itemize}
\item lala
\item lolo
\begin{itemize}
\item lala
\item lolo
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}
\end{document}
% -----------------------------

Zwei Probleme:

1. Problem:
Die vertikalen Abstände sind ungleich, obwohl die Schriftgröße gleich ist. Ich weiß nicht, wie ich das global beheben kann.

2. Problem:
Ich hätte gerne, dass die Auflistungssymbole (hier die Dreiecke/Pfeile) bündig mit dem linken Rand sind. Die Auflistungssymbole  der tieferen Ebenen sollen dann bündig mit dem Text der nächst höheren Ebene sein.

Ungefähr so (___ soll den Rand symbolisieren, > das itemize-Symbol):

___Normaler Text Normaler Text
___> lala
___> lala
_____> lolo
_____> lolo
___> lala
_____> lolo
_______>lili
___Normaler Text

Ich schaffe es einfach nicht. Man kann zwar mit

%\setlength\leftmargini{1em}
%\setlength\leftmarginii{1em}
%\setlength\leftmarginiii{1em}
%\setlength\labelsep{0.5em}
%\setlength\labelwidth{2mm}
%\setlength\labelwidth{\leftmargini}
%\addtolength\labelwidth{-\labelsep}

rumspielen, aber das ist nur ein Gebastel (zumindest bisher).

Vielleicht ist das einfach zu tief in den Beamer-Innereien...

Beste Grüße
Manuel

Crosspost: Ich hatte die Frage ursprünglich in dctt gepostet.
Attachment (lolo.pdf): application/pdf, 21 KiB
Attachment (lolo.tex): text/x-tex, 533 bytes
Jinsong Zhao | 18 Apr 01:20
Picon

height of frametitle in Beamer, and other questions...

Hi there,

I use beamer as the main package for slide. I have several problems
when I hope to customize the slide look.

1) how to reduce the height of frametitlebox? Now it seems too height
compared with the whole frame heihgt.

2) how to number the section and subsection in the header? I use
Madrid theme with option ``secheader''. I hope the section or
subsection displayed in the header have numbered.

3) how to change the section counter? For example, I hope the first
section in a specific slide start from 4.

Any suggestions will be really appreciated. Thanks in advance.

Regards,
Jinsong

Jonne Speck | 3 Apr 14:33
Favicon

system-wide breakdown of formatting beamer source files

Dear all,

Today, latex has suddenly stopped producing beamer slides. 

The compiling goes through without error messages. However, the 
output pdf is not formatted according to the theme indicated (Goettingen), 
in fact hardly formatted at all. Text and displayed formulae do not fit 
on the pages. Varying the theme or fonttheme does not change this 
situation.

This happens with all source files on my computer, old ones that used to 
work well, and new ones, created from scratch. I don't know of any 
changes to the system, no updates or alterations of the files involed.

I've even rebooted the box.

Interestingly, the dvi created by latex if run on the source file is just 
the same poor output.

I'd be very grateful for any  hint how to proceed.

Best wishes,
Jönne

Picon

LaTeX Beamer class - Learn Chinese (Mandarin) faster by using flashcards with pictures

LaTeX Beamer class - http://www.ichineseflashcards.com will help you
learn Chinese (Mandarin) faster by using flashcards with pictures,
thanks

Giuseppe Antonaci | 22 Mar 18:59
Picon

Different title page

So, while I was trying to create a theme according to my company standards I was faced with this problem.

In the end I managed to change the beamerbaseframecomponents.sty so that could work. I didn't change much, and it is probably not a neat solution. But what do you guys think?

Some example:
Original code:
{
\vbox to \sidebarheight{%
\usebeamertemplate***{sidebar left}%
\vfill%
}}%

Modified code:
{
\vbox to \sidebarheight{%
\ifnum\thepage=1%
  \ifbeamertemplateempty{sidebar left title}{\usebeamertemplate***{sidebar left}}{\usebeamertemplate***{sidebar left title}}%
\else%
  \usebeamertemplate***{sidebar left}%
\fi%
\vfil%
}}

  • It works even if there isn't a tittle page, unless there isn't a title page AND the templates for the title page are also defined (which would be really awkward)
  • Works with all predefined themes and all others which didn't define the title templates
  • If someone wants no sidebar on title page and a sidebar on other slides it won't work. Or they could place a transparent colorbox as a workaround.
  • I don't really like the \ifnum\thepage=1 but I didn't find a variable related to the title page that I could test to have the same effect.

The modified file is attached.
Attachment (beamerbaseframecomponents.sty): application/octet-stream, 12 KiB
vmtame | 19 Mar 18:25
Picon

placing images on top of each other


Hello,

I'm trying to create a presentation, in which I can place different
images on top of each other
but can't find a way to do it.

Basic idea would be to place Picture 1 to the left of the frame, then
Picture 2 to the center,
but approximately 1 cm on top of Picture 1, and then Picture 3, to the
right of Picture 2,
yet again, on top of approximately 1 cm on top of Picture 2.

Is that possible ? Would anyone provide some help ?

Thanks in advance,

--
Victor

bloodworks | 8 Mar 19:17
Picon
Picon
Gravatar

My own theme

Hi there
i wrote a custom theme which also  features a outertheme to use with
beamerposter. I organized it in a very inconsistence way, so that
almost everything is in the beamer<myname>theme and or in the outer
and color theme. There are even some additional macros in the
beamertheme (it has more of an ordinary package than of an
beamertheme). Well the question now is how to distribute that. I
really want to upload it to ctan but dont know if my organisation ist
the right way to do it  nor if it will be accepted. I know that
Herbert made a complete new class of his theme (s.th like Fuberlin i
guess). For me that´s no alternative, i want my (few) users to use it
as a theme (and to load beamer class separately).
On the other hand i strongly believe, that the beamer dev team wants
me to make clear that this theme does not come from them, so calling
it a beamer theme could cause questions addressing the beamer team. I
really want to avoid this.

So any suggestions?

grz

Jaspreet Sarao | 2 Mar 11:46
Picon

Background image in beamer slides

I want different background of every beamer slide.
Is it possible?
If yes, then can anybody tell me the code?

First I include the following  code in the preamble for the same
background in all slides.
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{image.jpg}}

Then add the same code in the required slide
e.g.
\begin{frame}
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{image.jpg}}
....
\end{frame}

Output is same background as others slides.
Please help me.
Thank you

--

-- 

Jaspreet sarao
email: jaspritsarao <at> gmail.com
Blog: jaspreetsarao.wordpress.com


Gmane