Search found 11 matches

by gadgetto
Mon Mar 31, 2014 5:19 pm
Forum: Text Formatting
Topic: Highlighting a Chunk of Code within a lstlisting
Replies: 1
Views: 5586

Highlighting a Chunk of Code within a lstlisting

Hi everyone,

I have got some lines of code inserted by lstlisting:

\begin{lstlisting}
public class MyRunnable implements Runnable{
String name;
public MyRunnable(String name){
this.name = name;
}
\end{lstlisting}

Now I want to hightlight for example >>class MyRunnable<<. An easy way is to ...
by gadgetto
Tue Nov 27, 2012 9:46 am
Forum: Document Classes
Topic: beamer | No '\hyperpage' Command available
Replies: 4
Views: 3651

beamer | No '\hyperpage' Command available

Dear Clemens,

a) the command is meant for usage in an index which is nothing one would add to a presentation

but this is exactly what I want to do. I conduct a training course and my presentation (round about 500 slides) should also be a reference book.

b) a presentation usually does not have ...
by gadgetto
Mon Nov 26, 2012 12:14 pm
Forum: Document Classes
Topic: beamer | No '\hyperpage' Command available
Replies: 4
Views: 3651

beamer | No '\hyperpage' Command available

Dear Clemens,

it is correct that \hyperpage is defined by the hyperref package. But this package is included by beamer in default. Never the less I added

\usepackage{hyperref}

to the preamble. But I got the same message as before:

ERROR: Undefined control sequence.


best regards,
Gadgetto
by gadgetto
Tue Nov 13, 2012 6:03 pm
Forum: Document Classes
Topic: beamer | No '\hyperpage' Command available
Replies: 4
Views: 3651

beamer | No '\hyperpage' Command available

Hi everybody,

I would like to use the \hyperpage command in the beamer class. In my special case I need it for an index. \hyperpage works quite fine in other classes (e.g. article) but not with the following example.

\documentclass{beamer}

\usetheme{Madrid}
\usecolortheme{beetle}

\title{The ...
by gadgetto
Wed Oct 31, 2012 11:36 am
Forum: Document Classes
Topic: beamer | Color Theme "structure" fails
Replies: 1
Views: 8141

beamer | Color Theme "structure" fails

Hi cbustaam,

the standard beamer class does not provide the colortheme "structure". You have to choose one out from these:
default - albatross - beaver - beetle - crane - dolphin - dove - fly - lily - orchid - rose - seagull - seahorse - whale - wolverine
So replace \usecolortheme{structure} by ...
by gadgetto
Wed Oct 31, 2012 11:00 am
Forum: General
Topic: DTX File with EPS and PDF Pictures
Replies: 1
Views: 2062

DTX File with EPS and PDF Pictures

Hi everybody,

I have fixed the EPS-part of the problem. An EPS-file can be generated from a dtx-file.

You have to copy the eps-file into the dtx-file (both are text files). Now you have to embrace this area with the markers %<*Marker> and %</Marker>. To fix the Problem that LaTeX does not ...
by gadgetto
Wed Oct 31, 2012 10:39 am
Forum: Page Layout
Topic: beamer | Frames with two-columned Index
Replies: 2
Views: 2500

beamer | Frames with two-columned Index

Hi localghost,

I tried also imakeidx, but I got the same problem. When I want to have n columns n-1 empty slides are created and the hole index is set to the next slide, so that a lot of entries stick out.

Hier is a small example:
\documentclass[handout]{beamer}

\usepackage{makeidx ...
by gadgetto
Tue Oct 30, 2012 6:36 pm
Forum: Page Layout
Topic: beamer | Display Frame Numbers instead of Page Numbers
Replies: 1
Views: 10348

beamer | Display Frame Numbers instead of Page Numbers

Hi itatitl,

remove the pagestyle-line and replace

Code: Select all

\setbeamertemplate{footline}[frame number]
by

Code: Select all

\setbeamertemplate{footline}{\hfill\insertframenumber~\vrule~\inserttotalframenumber}
Best regards,
Gadgetto
by gadgetto
Tue Oct 30, 2012 6:11 pm
Forum: Page Layout
Topic: beamer | Frames with two-columned Index
Replies: 2
Views: 2500

beamer | Frames with two-columned Index

Hi everybody,

I have implemented a huge number of slides using the beamer class. Now I want to append an index. It works quite fine with
\usepackage{makeidx}
\newenvironment{theindex}{%
\let\item\par % definitions for subitem etc
}{}
\newcommand\indexspace{}
\makeindex

[...]

\begin{frame ...
by gadgetto
Wed Oct 24, 2012 9:33 am
Forum: Text Formatting
Topic: amsbook | Theorem Numbers
Replies: 2
Views: 3865

amsbook | Theorem Numbers

Hi marcdein,

I think you have declared your theorems as follows:
\newtheorem{thm}{Theorem}[section]
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{propo}[thm]{Proposition}

In this case only the \section resets the theorem-counter.
In your example there was one theorem (Lemma, Theorem or Proposition ...