multi paragraph inside a command

Steve Litt slitt at troubleshooters.com
Sun Jan 1 08:50:48 UTC 2023


tush via lyx-users said on Sat, 31 Dec 2022 20:32:12 +0000

>I created a style in my local layout that has "LatexType Command".
>Is it possible to allow the user to insert multiple lines of text
>inside this command? Something like the option MultiPar 1 (which is
>good only for InsetLayout Flex, not for Style.)
>
>What I want is to get the following Latex code:
>
>\mycommand{Lorem ipsum
>〈¶〉
>dolor
>〈¶〉
>sit amet}

I like Udi's solution a lot better, but you can linefeed with
\\[measurement] .

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