How to Elegantly "Unbold" Description Label in LyX & Output?

Joel Kulesza jkulesza at gmail.com
Tue Nov 5 15:38:34 UTC 2019


Colleagues,

What is the recommended way to reconfigure the description environment to
not be bold in LyX and in the output.  For the output, I might use

\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\normalfont{#1}}

However, it's not clear how best to set the description to not show "bold"
in the interface (so that I can selectively apply bolding to my label and
have it appear faithfully in LyX and in the output).  Section 3.3.7.4 of
the User Guide would seem to be the place to find the information—have I
overlooked it elsewhere?

I've tried setting a local layout to override the standard "description"
definition, but validation suggests that it's invalid (below my
signature).  Even copying the definition from stdlists.inc fails
validation...

Any thoughts you can provide are appreciated.

Thank you,
Joel

--

# Removed the LabelFont definition -> fails validation before and after.

Style Description
  Category              List
  Margin                First_Dynamic
  LatexType             Item_environment
  LatexName             description
  NextNoIndent          1
  LeftMargin            MM
  LabelSep              xxx
  ParSkip               0.4
  ItemSep               0.2
  TopSep                0.7
  BottomSep             0.7
  ParSep                0.3
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Manual
  HTMLTag               dl
  HTMLAttr              class='description'
  HTMLItem              dd
  HTMLLabel             dt
  HTMLLabelFirst        1
  HTMLStyle
    dl.description dt { font-weight: bold; }
  EndHTMLStyle
End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20191105/36173303/attachment.html>


More information about the lyx-users mailing list