Re: Elsevier's cas layouts

"Jürgen Spitzmüller" <[email protected]> Thu, 14 May 2026 10:25:12 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Am Sonntag, dem 10.05.2026 um 18:48 +0200 schrieb Marco Morandini via
lyx-devel:
> I fear that lyx does not support yet a table written as
> 
> \begin{table}[width=.9\linewidth,cols=4,pos=h]
> \caption{This is a test caption. This is a test caption. This is a
> test
> caption. This is a test caption.}\label{}
> \begin{tabular*}{\tblwidth}{@{} LLLL@{} }
> \toprule
> Col 1 & Col 2 & Col 3 & Col4\\
> \midrule
> 12345 & 12345 & 123 & 12345 \\
> 12345 & 12345 & 123 & 12345 \\
> 12345 & 12345 & 123 & 12345 \\
> 12345 & 12345 & 123 & 12345 \\
> 12345 & 12345 & 123 & 12345 \\
> \bottomrule
> \end{tabular*}
> \end{table}

It should. What seems to be the problem?

> I've not understood if/how I can avoid adding ERTs with \sep within
> the list of keywords.

Not with LyX 2.5. As of LyX 2.6 you could do

SpecialChar sep
	Type		specialchar
	MenuString	"Keyword separator"
	LyXOutput	,
	LatexOutput	\\sep
	PlaintextOutput	,
	XHTMLOutput	,
	IsLetter	1
	Font
	  Color		special
	EndFont
	IsChar		1
End

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel