All skills
jihe520 avatar

/typst-author

@4a360cb
by Sanjinjihe520/mathmodelagent6.2k stars
450

Generate idiomatic Typst (.typ) code, edit and troubleshoot Typst documents and projects, and answer Typst syntax/reference questions. Use when working with .typ files or when the user explicitly asks for Typst document creation, editing, debugging, compilation, formatting, template work, or package usage.

Use this Skill: https://skilld.dev/gh/jihe520/mathmodelagent/typst-author

This session only. Nothing lands on disk.

docsreferencetextsuper.md

≈523 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Superscript

super

Renders text in superscript.

The text is rendered smaller and its baseline is raised.

Example

1#super[st] try!
#super(
  typographic: bool,
  baseline: auto | length,
  size: auto | length,
  body
) -> content

Parameters

  • typographic:
    • description: Whether to use superscript glyphs from the font if available. Ideally, superscripts glyphs are provided by the font (using the sups OpenType feature). Otherwise, Typst is able to synthesize superscripts by raising and scaling down regular glyphs. When this is set to false, synthesized glyphs will be used regardless of whether the font provides dedicated superscript glyphs. When true, synthesized glyphs may still be used in case the font does not provide the necessary superscript glyphs. typst N#super(typographic: true)[1] N#super(typographic: false)[1]
    • type: bool
    • default: true
  • baseline:
    • description: The downward baseline shift for synthesized superscripts. This only applies to synthesized superscripts. In other words, this has no effect if typographic is true and the font provides the necessary superscript glyphs. If set to auto, the baseline is shifted according to the metrics provided by the font, with a fallback to -0.5em in case the font does not define the necessary metrics. Note that, since the baseline shift is applied downward, you will need to provide a negative value for the content to appear as raised above the normal baseline.
    • type: auto | length
    • default: auto
  • size:
    • description: The font size for synthesized superscripts. This only applies to synthesized superscripts. In other words, this has no effect if typographic is true and the font provides the necessary superscript glyphs. If set to auto, the size is scaled according to the metrics provided by the font, with a fallback to 0.6em in case the font does not define the necessary metrics.
    • type: auto | length
    • default: auto
  • body:
    • description: The text to display in superscript.
    • type: content
    • default: None

Source: SKILL.md on GitHub

1 alert3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill is a comprehensive Typst authoring assistant that provides a complete local mirror of the Typst documentation (tutorials, guides, and reference). It facilitates the generation, editing, and troubleshooting of Typst documents using standard ecosystem tools such as 'typst' and 'typstyle'. The instructions emphasize accuracy by directing the agent to prioritize local documentation and include safety checkpoints for formatting and editing tasks. No malicious patterns, data exfiltration risks, or other security threats were identified.

  • Socket3mo

    1 alert: obfuscatedFile

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at 4a360cb. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 4 months ago

README badge

README badge for jihe520/mathmodelagent/typst-author