Search found 7 matches

by turok
Wed Feb 27, 2013 10:39 pm
Forum: Text Formatting
Topic: Remove Chapter Prefix
Replies: 7
Views: 12202

Remove Chapter Prefix

I hope it would be useful:

Code: Select all

\chapter{AAA}

\chapter*{Conclusions}
\addtocounter{chapter}{1}
\addcontentsline{toc}{chapter}{\thechapter. Conclusions}

\chapter{ZZZ}
by turok
Wed Feb 27, 2013 5:11 pm
Forum: Text Formatting
Topic: Executing external code in Presentation
Replies: 1
Views: 3994

Executing external code in Presentation

If there is no other way, I will solve this problem as follows. I will add mock instruction: \newcommand\modifyExternal[4]{} . For every file which should be modified I will add:
- invocation of the instruction, for example \modifyExternal{Main.java}{ModifiedMain.java}{"counter"}{"|\red{counter ...
by turok
Tue Feb 26, 2013 7:09 pm
Forum: Text Formatting
Topic: Executing external code in Presentation
Replies: 1
Views: 3994

Executing external code in Presentation

I have posted similar question but it is without answer, so I try to workaround the problem.

I use beamer to create presentations with code listings. Sometimes I need to highlight some piece of text, for example one variable ( counter in the code below). Now I do it using lstlisting and escapechar ...
by turok
Tue Feb 26, 2013 11:38 am
Forum: Document Classes
Topic: Pauses in Frames
Replies: 2
Views: 3226

Pauses in Frames

Maybe it is not the best solution, but I hope it works.

\begin{frame}{A}
The aspects are as follows:
\begin{enumerate}
\item<2-| alert@2> First point.
\item<3-| alert@3> Second point.
\item<4-| alert@4> Third point.
\end{enumerate}
\end{frame}
by turok
Mon Feb 25, 2013 12:54 pm
Forum: Text Formatting
Topic: Highlight certain Text inside Code Listing in Presentation
Replies: 0
Views: 3716

Highlight certain Text inside Code Listing in Presentation

I use beamer to create presentations with code listings. Sometimes I need to highlight some piece of text, for example one variable (counter in the code below). Now I do it using lstlisting and escapechar . Is it any way to do it automatically with \lstinputlisting , for example ...
by turok
Wed Oct 17, 2012 9:51 pm
Forum: Text Formatting
Topic: beamer, listings | Overlays with Code Listings
Replies: 1
Views: 6737

beamer, listings | Overlays with Code Listings

I have a problem with the following code:

\documentclass{beamer}
\usepackage{listings}
\begin{document}
\begin{frame}[fragile]
\color<2>[rgb]{1,0,0}{% works
\begin{lstlisting}
COLOR
\end{lstlisting}
}
\only<1>{% don't work
\begin{lstlisting}
ONLY
\end{lstlisting}
}
\end{frame}
\end{document ...
by turok
Wed Oct 17, 2012 2:41 pm
Forum: Text Formatting
Topic: beamer | Fragile Frames as new Commands
Replies: 2
Views: 5162

beamer | Fragile Frames as new Commands

I have a problem with following code:
\documentclass{beamer}
\newcommand{\frameFragile}{\frame[fragile]}
\begin{document}
\frame[fargile]{A}% works
\frameFragile{A}% don't works
\end{document}
! File ended while scanning use of \next.
or
\documentclass{beamer}
\newenvironment{wykFrameFragile ...