|
|
beamer (+ beamerposter) + flowfram
Hello NG,
when I want to use the above combination of packages I get the message that
the "\framebreak" command is already defined.
Is there a change to avoid this by refefining one of the commands?
Regards
Stefan Pinnow
|
|
0
|
|
|
|
Reply
|
Stefan
|
3/1/2010 8:35:27 AM |
|
Stefan Pinnow wrote:
> Hello NG,
> when I want to use the above combination of packages I get the message that
> the "\framebreak" command is already defined.
> Is there a change to avoid this by refefining one of the commands?
Perhaps something like the following might work (untested):
\documentclass{beamer}
\let\beamerframebreak\framebreak
\let\framebreak\undefined
\usepackage{flowfram}
Regards
Nicola Talbot
--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
|
|
0
|
|
|
|
Reply
|
Nicola
|
3/1/2010 9:09:22 AM
|
|
>> when I want to use the above combination of packages I get the message
>> that the "\framebreak" command is already defined.
>> Is there a change to avoid this by refefining one of the commands?
>
> Perhaps something like the following might work (untested):
>
> \documentclass{beamer}
> \let\beamerframebreak\framebreak
> \let\framebreak\undefined
>
> \usepackage{flowfram}
This seems to work, but then the next command, \insertvrule, is already
defined (which I cannot find in the beamer manual...). Also using the \let
works until I want to use the draft option to have a look at the layout.
Find attached a minimal.
Thank you for your help
Stefan
\documentclass[
% draft,
]{beamer}
\usepackage[
orientation=portrait,
size=a0,
]{beamerposter}
\let\beamerframebreak\framebreak
\let\framebreak\undefined
\let\beamerinsertvrule\insertvrule
\let\insertvrule\undefined
\usepackage{flowfram}
\NcolumnStopinarea{3}{0.08\textheight}{\textwidth}{0.95\textheight}{0pt}{0.05\textheight}
\begin{document}
\begin{staticcontents}{1}
just some bla bla
\end{staticcontents}
bla
\end{document}
|
|
0
|
|
|
|
Reply
|
Stefan
|
3/1/2010 6:09:52 PM
|
|
Stefan Pinnow wrote:
>>> when I want to use the above combination of packages I get the message
>>> that the "\framebreak" command is already defined.
>>> Is there a change to avoid this by refefining one of the commands?
>> Perhaps something like the following might work (untested):
>>
>> \documentclass{beamer}
>> \let\beamerframebreak\framebreak
>> \let\framebreak\undefined
>>
>> \usepackage{flowfram}
>
> This seems to work, but then the next command, \insertvrule, is already
> defined (which I cannot find in the beamer manual...). Also using the \let
> works until I want to use the draft option to have a look at the layout.
>
I've found out the problem: beamer redefines \frame, but the flowfram
draft option uses \frame to draw the bounding box. The minimal example
below provides a fix. I think beamer may save the original definition of
\frame, but if it does, I can't remember what it's called. I'll try to
write in a patch for flowfram to make it easier to use with beamer.
Regards
Nicola Talbot
minimal example:
\let\orgframe\frame
\documentclass[
draft,
]{beamer}
\usepackage[
orientation=portrait,
size=a0,
]{beamerposter}
\let\beamerframebreak\framebreak
\let\framebreak\undefined
\let\beamerinsertvrule\insertvrule
\let\insertvrule\undefined
\usepackage{flowfram}
\makeatletter
\renewcommand*{\@fr@meifdraft}[3][\setffdraftcolor]{%
\def\ff@backcol{{none}}%
\@ifundefined{color}{\orgframe{#2}}{#1\orgframe{#2}}%
\ifthenelse{\equal{#3}{}}{}{%
\makebox[0pt][l]{\hskip\fflabelsep\fflabelfont{[#3]}}}%
}%
\makeatother
\NcolumnStopinarea{3}{0.08\textheight}{\textwidth}{0.95\textheight}{0pt}{0.05\textheight}
\begin{document}
\begin{staticcontents}{1}
just some bla bla
\end{staticcontents}
bla
\end{document}
--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
|
|
0
|
|
|
|
Reply
|
Nicola
|
3/2/2010 11:47:28 AM
|
|
Hello Nicola,
the fix works fine, as long I don't use \item now.
Using beamer + beamerposter is very nice, because when you have a made a
corporate design for beamer you have it almost directly for poster with
beamerposter.
Attached you find a "minimal" again producing the error.
Thank you very much for your help and best regards
Stefan
\let\orgframe\frame
\documentclass[
draft,
]{beamer}
\usepackage[
orientation=portrait,
size=a0,
]{beamerposter}
\let\beamerframebreak\framebreak
\let\framebreak\undefined
\let\beamerinsertvrule\insertvrule
\let\insertvrule\undefined
\usepackage{flowfram}
\makeatletter
\renewcommand*{\@fr@meifdraft}[3][\setffdraftcolor]{%
\def\ff@backcol{{none}}%
\@ifundefined{color}{\orgframe{#2}}{#1\orgframe{#2}}%
\ifthenelse{\equal{#3}{}}{}{%
\makebox[0pt][l]{\hskip\fflabelsep\fflabelfont{[#3]}}}%
}%
\makeatother
\NcolumnStopinarea{3}{0.08\textheight}{\textwidth}{0.95\textheight}{0pt}{0.05\textheight}
\begin{document}
\begin{staticcontents}{1}
just some bla bla
\end{staticcontents}
\begin{itemize}
\item bla
\end{itemize}
\end{document}
|
|
0
|
|
|
|
Reply
|
Stefan
|
3/2/2010 5:36:12 PM
|
|
Stefan Pinnow wrote:
> Hello Nicola,
> the fix works fine, as long I don't use \item now.
> Using beamer + beamerposter is very nice, because when you have a made a
> corporate design for beamer you have it almost directly for poster with
> beamerposter.
>
> Attached you find a "minimal" again producing the error.
>
> Thank you very much for your help and best regards
> Stefan
I get an error without using the flowfram package:
\documentclass{beamer}
\usepackage[
orientation=portrait,
size=a0,
]{beamerposter}
\begin{document}
just some bla bla
\begin{itemize}
\item bla
\end{itemize}
\end{document}
This gives the error:
! Undefined control sequence.
\\itemize ...ix item}##1}}}}} \fi \beamer@cramped
\raggedright
\beamer@first...
l.11 \item
bla
I don't know what's causing this. Maybe someone more familiar with
beamer can help.
Regards
Nicola Talbot
--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
|
|
0
|
|
|
|
Reply
|
Nicola
|
3/2/2010 5:51:24 PM
|
|
"Nicola Talbot" <n.talbot@uea.ac.uk> schrieb im Newsbeitrag
news:hmjj6u$14hm$1@adenine.netfront.net...
> Stefan Pinnow wrote:
>> Hello Nicola,
>> the fix works fine, as long I don't use \item now.
>> Using beamer + beamerposter is very nice, because when you have a made a
>> corporate design for beamer you have it almost directly for poster with
>> beamerposter.
>>
>> Attached you find a "minimal" again producing the error.
>>
>> Thank you very much for your help and best regards
>> Stefan
>
> I get an error without using the flowfram package:
>
> \documentclass{beamer}
> \usepackage[
> orientation=portrait,
> size=a0,
> ]{beamerposter}
>
> \begin{document}
> just some bla bla
>
> \begin{itemize}
> \item bla
> \end{itemize}
> \end{document}
>
> This gives the error:
>
> ! Undefined control sequence.
> \\itemize ...ix item}##1}}}}} \fi \beamer@cramped
> \raggedright
> \beamer@first...
> l.11 \item
> bla
>
> I don't know what's causing this. Maybe someone more familiar with beamer
> can help.
Sorry, I was too fast here. In beamer a slide is made using \begin{frame}
.... \end{frame} which I forgot.
So using
\begin{frame}
\begin{itemize}
\item bla
\end{itemize}
\end{frame}
in the document environment works fine.
Again sorry for that!
Stefan
|
|
0
|
|
|
|
Reply
|
Stefan
|
3/2/2010 6:09:12 PM
|
|
|
6 Replies
182 Views
(page loaded in 0.09 seconds)
Similiar Articles:7/18/2012 11:44:17 AM
|
|
|
|
|
|
|
|
|