- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 213
Clip
        Giorgio Garofalo edited this page Feb 25, 2025 
        ·
        2 revisions
      
    The .clip {shape} block function allows clipping its content to a defined shape.
Supported shapes:
- circle

.clip {circle}
     
In case of a figure only the content is affected, leaving its caption intact:

.clip {circle}
     
Not just images — clipping works with any content. Here a container is used:
.clip {circle}
    .container padding:{2cm} background:{orange}
        #! Hello! 
              - Figures
- Image size
- TeX formulae
- Table caption
- Code caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Cross-references
- Page breaks
- Text symbols (text replacement)
- Emojis
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Persistent headings
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Footnotes
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Landscape
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Table generation
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more