Ads by Google

Showing posts with label beamer. Show all posts
Showing posts with label beamer. Show all posts

Sunday, February 19, 2012

Using Beamer Animations to simulate Terminal Input and Output

I've been meaning to write about this for some time.  A few months ago, I had to prepare some training material on Unix basics and such.  While beamer was a natural choice for the presentation, I wanted to show some nifty animations that showed the commands and outputs as typed in a terminal.  I had the written text all done up but didn't know how to get the animation correct; I had misunderstood the features of animate package on CTAN.

Being stuck, I posted on tex stackexchange and had a beautiful solution from Alexander Grahn who went out of his way to solve my different issues that I had with my code.  Finally, on a beamer slide, you can now autoplay simulated Unix commands and expected output while giving a talk, instead of doing uncover on mouse click in beamer.

If you want to see my code instead of the one posted on the stackexchange site, do email me and I shall mail it separately.

EDIT: the compiled PDF can be found here, as requested. Of course you have to download it and open it in Reader for you to see the animations; it won't work in the web preview.

Sunday, July 10, 2011

Converting Inkscape Svg layers into Beamer overlays

This might be useful for those using Inkscape and know something about Beamer.  If you don't know anything about LaTeX, then this is not going to be useful.  From the project page

takes an Inkscape .svg as input, and generates pdf files corresponding to each of the layers and a LaTeX file that uses the LaTeX Beamer commands to incrementally overlay them. 

If you use Beamer to make your presentations and Inkscape to draw, then this might be potentially useful though I daresay people would tend to use PGF with Beamer.  PGF examples can be found here.
Presentation Zen: Simple Ideas on Presentation Design and DeliveryThe Presentation Secrets of Steve Jobs: How to Be Insanely Great in Front of Any AudienceTypesetting Tables with LaTeX

Sunday, May 22, 2011

Fitting long TOCs into a single Beamer frame

Here's a simple way to fit a long TOC into a single frame instead of making it flow into multiple frames.  This might be useful for those preparing long lectures with beamer.

Sunday, August 22, 2010

Pretty cool Org-mode/Beamer demo

From the org-mode mailing list, here's a link to Beamer demo using org-mode.  Just goes to show what org-mode is capable of.  Of course, you need to know a bit of Org-mode AND Beamer AND Emacs to make sense of it.  Otherwise it's a bit of magic to you. ;)

Writing PPT with org-mode and beamer in Emacs

Since there's no voice over, you definitely need to know all the above stuff to figure it out.  And oh, LaTeX too.

Sunday, June 6, 2010

New Beamer Package Released

After a long time, the beamer LaTeX package has been updated.  It may take some time for the mirrors to reflect it or  auto updating systems to pick it up.

Tuesday, April 27, 2010

The LaTeX Beamer project has a new maintainer!

From the Beamer mailing list, Dr. Till Tantau has just announced that the Beamer package will be maintained by Vedran Miletić.

Vedran Miletić plans for Beamer are here.

The Beamer package is one of the best presentation classes for LaTeX. I'd urge you to give it a try, if you haven't.  It's worth the effort to learn it.

Sunday, November 1, 2009

A quick way of looking up colours in LaTeX

While making beamer presentations, I generally use dvipsnames or svgnames as an option to beamer. This allows me to use named colours instead of giving some RGB numbers to get the colour I want.

Well, sort of.

I mean you still have to figure out what HoneyDew looks like. I used to google it up and check how the colours actually looked. Now, I've got a simpler way to do it. Just do, M-x list-colors-display in Emacs and it shows about the same list as that of svgnam.def with the visual colours. Saves you a few keystrokes and clickies.


You of course, are using Emacs and AucTeX aren't you? :-)



Sunday, September 6, 2009

Getting Slide or Frame numbers in Beamer Warsaw Theme

While preparing a presentation using Beamer, I decided to get the slide numbers(frame numbers in Beamer parlance) into the presentation just to pace my slides. And it turns out that it's not easy as it sounds. I tried a variety of setbeamertemplate options and even considered editing the template. I believe beamerouterthemesplit.sty is the file to change though I have no idea what I have to do.

A bit of googling got to me to this page and I have no idea why the suggestion works. But it does. I have broken it into 2 lines with a extraneous \ at the end of the first line.

\title[Short Title \hspace{4em} \insertframenumber\ \
of \inserttotalframenumber
]{Full Title}


Friday, March 6, 2009

LaTeX Beamer: How to get a logo in the top right corner of the slide

Here's a simple way to place the logo where you desire when you want to get your image on your slide in beamer. Note that you'd need the Textpos package to place the image where you want.


Wednesday, March 26, 2008

Getting Beamer Frame Titles into Reftex TOC

I write most of my documents in LaTeX and AucTeX is indispensable in creating and generating the pdf files from LaTeX.

For presentations, one of the best available and actively maintained package is Beamer developed by Till Tantau. With its beamer templates it's possible to rustle up a fairly professional presentation in a few minutes. And if you like reading a few hundred pages of documentation, the payback is even better. :-)

RefTeX is a package for managing Labels, References, Citations and index entries with GNU Emacs.

When using the beamer package, the \frametitle{} has the slide headings and it makes sense to make that come up when C-c = is chorded. That is, when reftex-toc function is called, which builds the TOC for the document, the TOC buffer should show a number list of slide titles.

But RefTeX does not recognise \frametitle when it parses the document in its default settings.

Asking on the auctex mailing list, elicited the following solution

(setq reftex-section-levels '(("part" . 0)
("chapter" . 1)
("section" . 2)
("subsection" . 3)
("subsubsection" . 4)
("paragraph" . 5)
("subparagraph" . 6)
("frametitle" . 7)
("addchap" . -1)
("addsec" . -2)))

The documentation string said that the list should be sorted, so I replicated the values instead of cons'ing and cdr'ing.


Hitting C-c = after setting it and reloading the buffer, brings up the frametitles nicely.