Insert an empty line in beamer
Steve Litt
slitt at troubleshooters.com
Sun Mar 19 08:29:00 UTC 2023
Ehud Behar said on Sat, 18 Mar 2023 19:46:37 +0000
>I want to print the following in my beamer document:
>"
>First line
>Second line
>"
[snip]
>Any idea how to insert a (real) empty line in the editor?
I'm confused as to what you're trying to accomplish, and have no idea
what a "real" empty line is. I also don't know what LyX does to Beamer
(I use Beamer directly, without LyX), and I have no idea how the
Beamer macro package changes the behavior of normal LaTeX macros.
But I do know this about LaTeX: The following produces the phrase
"First line" directly over the phrase "Second line".
=========================================
~\\[0ex]First line\\[1ex]Second line
=========================================
The purpose of the ~\\[0ex] is so the next two lines aren't subject to
the paragraph's indenting. The distance between the lines can be
adjusted by modifying the 1ex. You can create a character style to
express the command above, and use that character so you wouldn't
need to use ERT.
>What I do now is I insert an empty line with an ERT box.
If you're satisfied with the spacing your ERT box presents, it would be
almost trivial to create a character style that puts a box at the end
of the line.
SteveT
Steve Litt
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
More information about the lyx-users
mailing list