I've been using LyX for quite a while and beamer for even quite a while
longer, but my knowledge of LyX is fairly superficial.

I frequently produce slides which incorporate a graph on the left with
bulleted text on the right.  An example LaTeX code is below.  I do need to
use ERT for the minipage.  The reason for the minipage is to shrink the
text on the left.  I cut/paste LaTeX here because pasting LyX doesn't seem
to include the ERT.

Since this structure is a bit tedious to enter I usually prefer to
copy/paste the frame, changing the text and the figure but keeping the
structure.

This copy/pasting is a bit more difficult than I would hope.  Firstly, to
successfully copy/paste a beamer frame it is best to make sure there is a
frame separator.  Position the cursor just at the end of this frame
separator before the frame you wish to copy, then select down to the end of
the frame.

When pasting, it seems best to position cursor just after a frame
separator.  If this is not done (frame separators not used) I frequently
wind up with a frame title outside of a frame, a situation that seems
difficult to recover from (although at least 1 time I did fix it by
positioning the cursor near the start of the frame title and selecting
"frame").

Assuming I've placed the cursor at the end of the graphic of the frame I'd
like to copy, the procedure to get frame separator inserted seems tedious.
1.  Hit enter.  Now I'm in "columns"
2. Hit dedent.  Now I'm still in "columns" but outside the frame
3. Change to "standard" . For some reason, this moves cursor back inside
frame
4. Hit dedent again.  Now finally I can hit enter to produce the frame
separator.

Is there an easier way?

Thanks,
Neal

%

\begin{frame}{example}

\begin{columns}


\column{0.4\textwidth}


\selectlanguage{english}%

\scalebox{0.7}{\begin{minipage}{\textwidth}

\selectlanguage{american}%

\begin{itemize}

\item item1

\item item2

\end{itemize}

\selectlanguage{english}%

\end{minipage}}


\selectlanguage{american}%


\selectlanguage{english}%


\column{0.8\textwidth}

\selectlanguage{american}%

\begin{center}

\includegraphics[width=1\textwidth,page=3]{example}

\par\end{center}

\end{columns}

\end{frame}


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to