LyX ⇒ beamer | Insert the red vertical Line
-
- Posts: 42
- Joined: Fri Jul 22, 2011 12:26 am
beamer | Insert the red vertical Line
As the attachment shows, how do I insert the red vertical line before "1." under the Block environment please? Thank you!
- Attachments
-
- snap.jpg (58.95 KiB) Viewed 7862 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
beamer | Insert the red vertical Line
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
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
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 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!