How to (correctly) insert large and slanted text
Jürgen Spitzmüller
spitz at lyx.org
Mon Jan 17 08:13:30 UTC 2022
Am Sonntag, dem 16.01.2022 um 18:00 -0500 schrieb Paul A. Rubin via
lyx-users:
> As far as how the braces are placed, I don't think there is any way
> to change that other than ERT.
The reason is that it is not easy for LyX to guess what follows. With a
character, a space needs to be inserted to terminate the command, but
with another command, this space must be omitted as it would result in
a real space. Braces work in both cases.
Note though that forthcoming LyX 2.4 will be smarter and output, with
your example:
{\Large\textsl{Here is some long long long and even longer text that
spans multiple lines of a paragraph in large size and slanted
style.}}{\Large\par}
There is also a reason for size switches coming before font style
markup. I can't remember the details now but this is the only order
that works in all cases.
HTH,
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220117/9de85750/attachment.asc>
More information about the lyx-users
mailing list