Skip to content

Commit

Permalink
Minor cwl improvements for tcolorbox package (#3378)
Browse files Browse the repository at this point in the history
* cwl: add `\thetcblayer`, tcolorbox counter repr

* cwl: two no-value key variants
  • Loading branch information
muzimuzhi authored Nov 19, 2023
1 parent 4b2c616 commit 9c2e836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completion/tcolorbox.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ library/all

# << Layered Boxes and Every Box settings >>
\tcbsetmanagedlayers{number}
\thetcblayer

# << Even and Odd pages >>
\tcbifoddpage{odd code}{even code}
Expand Down Expand Up @@ -278,6 +279,7 @@ squeezed title*=%<text%>
titlebox=#visible,invisible
detach title
attach title
attach title to upper
attach title to upper=%<text%>
subtitle style={%<options%>}
upperbox=#visible,invisible
Expand Down
1 change: 1 addition & 0 deletions completion/tcolorboxlibrarytheorems.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ terminator sign none
label separator=%<separator%>
theorem full label supplement={%<style%>}
theorem label supplement={%<style%>}
theorem hanging indent
theorem hanging indent=##L
theorem name and number
theorem number and name
Expand Down

0 comments on commit 9c2e836

Please sign in to comment.