Add a title to itemize environment

ehud.each785 at passmail.com ehud.each785 at passmail.com
Tue Jun 2 08:57:09 UTC 2026


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
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.png
Type: image/png
Size: 24739 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20260602/a670d0fa/attachment-0001.png>


More information about the lyx-users mailing list