I would find it helpful to display the Frame number in LyX when working with Beamer presentations.
Attached is an attempt that doesn't work and screenshot showing that it doesn't work. I'm clueless about layouts. Any advice? Scott
From 849ff8556fc706e33ff37e85331e56a6b42b1b30 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak <skost...@lyx.org> Date: Wed, 10 Nov 2021 21:06:19 -0500 Subject: [PATCH] Failed attempt to get beamer frame numbers --- lib/layouts/beamer.layout | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index f3a5ff965c..72f9b070c8 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -16,6 +16,14 @@ Format 95 Input stdcounters.inc Input stdinsets.inc +Counter frame + GuiName Frame + PrettyFormat "Frame ##" + LabelString "\arabic{frame}." +End + + + # Beamer does not work with enumitem. # See bug #7047. ExcludesModule enumitem @@ -482,7 +490,9 @@ Style Frame LeftMargin xx LatexType Environment LatexName frame - LabelString "Frame" + LabelString "Frame \theframe" + # Including this causes label to be excluded + # LabelCounter frame TocLevel 4 KeepEmpty 1 NextNoIndent 1 -- 2.30.2
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel