commit bf0f58e5e498072a6a1bdd4ba9dbdf5001650441
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Oct 17 16:00:39 2026 +0200
ltx-talk: add verbatim
---
lib/examples/Presentations/LTX-Talk.lyx | 28 ++++++++++++++++------------
lib/layouts/ltx-talk.layout | 30 ++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 12 deletions(-)
diff --git a/lib/examples/Presentations/LTX-Talk.lyx
b/lib/examples/Presentations/LTX-Talk.lyx
index 81afe725f8..0a9b05aa3d 100644
--- a/lib/examples/Presentations/LTX-Talk.lyx
+++ b/lib/examples/Presentations/LTX-Talk.lyx
@@ -1,5 +1,5 @@
#LyX 2.6 created this file. For more info see https://www.lyx.org/
-\lyxformat 659
+\lyxformat 661
\begin_document
\begin_header
\save_transient_properties true
@@ -4787,12 +4787,16 @@ xtemplate
command
\end_layout
-\begin_layout LyX-Code
+\begin_deeper
+\begin_layout Verbatim
+
+\lang english
\backslash
EditInstance{<object type>}{<template>}{<parameters>}
\end_layout
+\end_deeper
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
@@ -4919,39 +4923,39 @@ std
):
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
\backslash
EditInstance{header}{std}{
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
background-color = blue!50,
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
color = white,
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
}
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
\backslash
EditInstance{footer}{std}{
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
background-color = blue!50,
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
color = white,
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
separator =
\backslash
hfill|
@@ -4959,14 +4963,14 @@ hfill|
hfill,
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
element-order = {author,
title,
date,
framenumber},
\end_layout
-\begin_layout LyX-Code
+\begin_layout Verbatim
}
\end_layout
diff --git a/lib/layouts/ltx-talk.layout b/lib/layouts/ltx-talk.layout
index f678824c2e..e84e2c22df 100644
--- a/lib/layouts/ltx-talk.layout
+++ b/lib/layouts/ltx-talk.layout
@@ -1322,6 +1322,36 @@ Style Verse
EndArgument
End
+Style Verbatim
+ Category MainText
+ LatexType Environment
+ LatexName verbatim
+ NextNoIndent 1
+ ParbreakIsNewline 1
+ FreeSpacing 1
+ PassThru 1
+ NeedCProtect 1
+ KeepEmpty 1
+ NewLine 0
+ TopSep 0.7
+ BottomSep 0.7
+ Align Block
+ AlignPossible Block
+ LabelType No_Label
+ Font
+ Family Typewriter
+ EndFont
+ HTMLTag pre
+ HTMLItem NONE
+ DocBookTag programlisting
+End
+
+
+Style Verbatim*
+ CopyStyle Verbatim
+ LatexName verbatim*
+End
+
#
# MISC.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs