Skip to main content
Glama
class.md699 B
# Class ## `class` Forced use of a certain math class. This is useful to treat certain symbols as if they were of a different class, e.g. to make a symbol behave like a relation. The class of a symbol defines the way it is laid out, including spacing around it, and how its scripts are attached by default. Note that the latter can always be overridden using [`{limits}`](math.limits) and [`{scripts}`](math.scripts). # Example ```example #let loves = math.class( "relation", sym.suit.heart, ) $x loves y and y loves 5$ ``` ## Parameters ### class *(required)* The class to apply to the content. ### body *(required)* The content to which the class is applied. ## Returns - content

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FujishigeTemma/typst-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server