Hello, all!
As the attachment shows, how do I insert the red vertical line before "1." under the Block environment please? Thank you!
LyX ⇒ beamer | Insert the red vertical Line
-
- Posts: 42
- Joined: Fri Jul 22, 2011 12:26 am
beamer | Insert the red vertical Line
- Attachments
-
- snap.jpg (58.95 KiB) Viewed 7959 times
Last edited by EigenGoofy on Sat Feb 04, 2012 4:35 am, edited 2 times in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
beamer | Insert the red vertical Line
Are you familiar with PSTricks? You could try using the \psbrace command, e.g.,
Code: Select all
\begin{pspicture}(8,2.5)
\psbrace[nodesepA=-10pt,nodesepB=15pt](8,2)(8,4){\fbox{Text}}
\psbrace[ref=Ct,rot=90,nodesepA=5pt,linewidth=0.5pt](8,4.4)(8,8){$D(0)+0$}
\end{pspicture
-
- Posts: 42
- Joined: Fri Jul 22, 2011 12:26 am
Re: beamer | Insert the red vertical Line
Hi, coachbennett1981!
Sorry, I am not familiar with PSTricks. I believe that there is a very easy way write that vertical line by just clicking somewhere in LyX. But I don't know where. Thanks!
Sorry, I am not familiar with PSTricks. I believe that there is a very easy way write that vertical line by just clicking somewhere in LyX. But I don't know where. Thanks!
-
- Posts: 6
- Joined: Fri Feb 10, 2012 3:12 pm
Re: beamer | Insert the red vertical Line
This vertical line you see is used to nest stuff inside the block environment.
If what you want is to insert contents inside the block environment, all you have to do is to type alt+shift+right to insert them inside the block or alt+shift+right to take them away from the block environment.
Did I understand right or what you want is actually to print this big [ on the compiled document?
If what you want is to insert contents inside the block environment, all you have to do is to type alt+shift+right to insert them inside the block or alt+shift+right to take them away from the block environment.
Did I understand right or what you want is actually to print this big [ on the compiled document?
-
- Posts: 6
- Joined: Fri Feb 10, 2012 3:12 pm
beamer | Insert the red vertical Line
Just correcting, you can type alt+shift+left to "nest" materials inside a block environment of beamer or alt+shift+left to "unnest" contents of the block environment.
Just as an example, you would have in LaTeX
in LyX, you would have
block: ERT[{Title of the block}]
[ contents of the block
[- item 1
[- item 2
[- item 3
In the first line where you have the block environment (select it in the paragraph environment box), you insert a LaTeX code (ctrl+L). Then you can insert for example a list environment, type all the contents of the list, then select the whole list and type alt+shift+right to nest it inside the block environment.
Just as an example, you would have in LaTeX
Code: Select all
\begin{block}{Title of the block}
Contents of the block
\begin{enumerate}
\item item 1
\item item 2
\item item 3
\end{enumerate}
\end{environment}
block: ERT[{Title of the block}]
[ contents of the block
[- item 1
[- item 2
[- item 3
In the first line where you have the block environment (select it in the paragraph environment box), you insert a LaTeX code (ctrl+L). Then you can insert for example a list environment, type all the contents of the list, then select the whole list and type alt+shift+right to nest it inside the block environment.
-
- Posts: 42
- Joined: Fri Jul 22, 2011 12:26 am
beamer | Insert the red vertical Line
hm_cavalcanti wrote:Just correcting, you can type alt+shift+left to "nest" materials inside a block environment of beamer or alt+shift+left to "unnest" contents of the block environment.
Just as an example, you would have in LaTeXin LyX, you would haveCode: Select all
\begin{block}{Title of the block} Contents of the block \begin{enumerate} \item item 1 \item item 2 \item item 3 \end{enumerate} \end{environment}
block: ERT[{Title of the block}]
[ contents of the block
[- item 1
[- item 2
[- item 3
In the first line where you have the block environment (select it in the paragraph environment box), you insert a LaTeX code (ctrl+L). Then you can insert for example a list environment, type all the contents of the list, then select the whole list and type alt+shift+right to nest it inside the block environment.
Thank you very much, hm_cavalcanti! The way you suggest works in LyX!