Universe

Typst Package MIT License User Manual

A Typst package for quickly displaying and formatting Hazard and Precautionary statements.

Usage

Use the #ghs command to display a GHS pictogram, to get more information about each pictogram use #ghs-info

#grid(
  columns: 9,
  ..range(1,10).map(x=> ghs(x))
)

result

Easily Display Hazard and Precautionary statements in three languages (english, french and german):

#h-statement(310)\
#p-statement(310)\
#hp("P305+P351+P338", only-statement:true)

result

There are variants for some statements:

#p-statement(310, only-statement: true)\
#p-statement(310, variant:1)\
#p-statement(310, variant:2)

result

You can also add parameters when needed:

#h-statement(370)\
#h-statement(370, parameters:"the lungs")\
#h-statement(370, parameters:("the lungs", "when inhaled"))\
#h-statement(370, variant:1)\
#h-statement(370, variant:1, parameters:"when inhaled")\

result