LyXWhere to find a keyword reference for styles

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Zhuikin
Posts: 1
Joined: Tue Dec 15, 2020 3:37 pm

Where to find a keyword reference for styles

Post by Zhuikin »

Hello!
I am trying to learn, how to create my own layouts for use with LuX. Went Steve Litts tutorials, so i understand the basics. (Unfortunately, here i find the LyX documentation, while extensive, very frustrating to process when searching for a specific answer - any general hints in that respect would be appreciated).
And i do remember a bit of (and have books on) how LaTeX itself works.

The main question is: Where can i find a full, concise reference of all the available fields, options and keywords.

For example, from experimentation and exporting my example text via LuaTex, i noticed, that
LabelType Manual causes my handedited label to be passed down to LaTex as [{Label}] while
LabelType Stytic
LabelString "Example:" only displays the label in LyX (misaligned) and does not pass it into TeX.

So, what are all the possible options for LabelType ?
What other relevant fields are there?

Below is the test layout i'm working on; Tho i'm mostly looking for sources of information, rather than for specific solutions.

Code: Select all

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{Custom Book Style}
#  \DeclareCategory{Books}

Input stdclass.inc

# %%% Example Environment
Style Example
  Category		Own
  LatexType     Environment
  LabelType 	Manual
  LabelString	"Example:"
  LabelSep		x
  LatexName     example_l
  PARSEP        0.7
  Font
    Shape       Italic
  EndFont
  LabelFont
	Shape 		Italic
	Series 		Bold
  EndFont
  
  Preamble
        \newenvironment{example_l}[1][Ex:]
                {
                \itshape
				\textbf{#1}
				}
                {
                \par
                }
  EndPreamble
End

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply