Search found 3 matches

by ajg112
Thu Oct 23, 2008 5:21 pm
Forum: General
Topic: Beamer: Long and Short Desctription in Table of Contents
Replies: 2
Views: 2112

Beamer: Long and Short Desctription in Table of Contents

Hi All,

In a presentation, I've declared sections like this:


\section[Introduction]{This is more details about what I say in the intro}


When I list my table of contents, like this:

\begin{frame}{Outline}$
\tableofcontents$
\end{frame}$


I'd like it to include both the short title, and ...
by ajg112
Thu Oct 23, 2008 11:03 am
Forum: Document Classes
Topic: Highlight one line in listings environment
Replies: 4
Views: 11188

Re: Highlight one line in listings environment

phi, thank you for your efforts.

Juanjo, that works brilliantly. Many thanks.
I made a slight tweak:
\definecolor{lightGrey}{rgb}{0.9, 0.9, 0.9}
\newcommand{\Hilight}{\makebox[0pt][l]{\color{lightGrey}\rule[-0.45em]{\linewidth}{1.5em}}}

Thanks again
Andy
by ajg112
Wed Oct 22, 2008 5:37 pm
Forum: Document Classes
Topic: Highlight one line in listings environment
Replies: 4
Views: 11188

Highlight one line in listings environment

Hi All,

I'm using the listings environment to syntax highlight some code. I'd like to be able to highlight just a single line of the code, perhaps with a boxed outline, or a different background colour.


\begin{lstlisting}
start:$
mov r1, xF0 -- Reset ptr value$
mov r2, x00 -- Reset total ...