Re: Insert an empty line in beamer

2023-03-19 Thread Udicoudco
On Sun, Mar 19, 2023 at 11:34 AM Ehud Behar  wrote:
>
> I now realized that this problem is only when the document language is
> set to Hebrew.
>

Strange, it seems to only happen with Hebrew and LuaTeX.
To overcome this problem you can use the latexpar separator.

It can be inserted via the minibuffer, and you can create a shortcut
for it. The LFUN is separator-insert latexpar. see the attached file
for an example.

Regards,
Udi


a.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-19 Thread Ehud Behar

Thanks for this piece of information!

I've never tried beamer-article so I didn't know there is a meaning to 
content which is outside of a frame.


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-19 Thread José Matos
On Sat, 2023-03-18 at 21:18 +, Ehud Behar wrote:
> If not inside a frame (which is non sense in beamer) it does create
> an empty line.

[This is a side note and unrelated to your problem]
Actually with the proper configuration you can place content outside of
frames. I use that, for example, either for notes or for additional
content for beamer-article. :-)

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-19 Thread Ehud Behar
I now realized that this problem is only when the document language is 
set to Hebrew.



In the link you can see a screen shot of the problem.


https://gcdnb.pbrd.co/images/hqN0FDHQNahA.png


I am still looking for a solution with better legibility that an ERT 
code as here:



https://gcdnb.pbrd.co/images/0lwkrvZmqst1.png

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-19 Thread Steve Litt
Ehud Behar said on Sat, 18 Mar 2023 19:46:37 +

>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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users