Add a title to itemize environment
Steve Litt
slitt at troubleshooters.com
Fri Jun 5 01:21:48 UTC 2026
Ehud via lyx-users said on Tue, 02 Jun 2026 08:57:09 +0000
>I want to define a new Style of LaTeXType "Item_Environment", that
>will be just the same as the "Itemeize" Style defined in
>`stdlists.inc`, except of one addition: I want to add a boldface short
>title above the bullets that will read "Tasks". After "Tasks" the
>items of the Itemize style will appear. See the attached image. Is
>that possible at all? Can you suggest any workaround? I tried the
>following, but the string "Tasks" doesn't appear above the items: ```
>Style "Tasks"
> Category List
> Margin Static
> LatexType Item_Environment
> LatexName myTasksEnvironment
> LabelType Itemize
> LabelString "Tasks" # <-- Doesn't print "Tasks" above the bullets
> Preamble
> <latex code goes here>
> EndPreamble
>End
>```
I suspect it's doable by making a customized layout file. That's a lot
of work though. Why not just make another environment called
Tasks_Title where you put the title above the bullets?
SteveT
Steve Litt
http://444domains.com
More information about the lyx-users
mailing list