How to write math in footer?

Hello, I am writing a math-related handout in the Typst web app. But when I try to write some math in the footer, it shows the dollar signs and not the math symbols. Here is an example.

#showybox(
  frame: (
    border-color: lime,
    title-color: maroon,
    body-color: teal,
    footer-color: gray,
    thickness: 1.25pt,
    radius: 0pt,
    dash: "solid"
  ),
  
  title-style: (
   color: white,
    align: center,
    boxed-style: (
      anchor: (
        x: center,
        y: horizon
      ),
      radius: (top-left: 10pt, bottom-right: 10pt)
    )
  ),
  body-style: (
    color: black,
    align: left,
  ),
  footer-style: (
    color: black,
    align:  right
  ),
  breakable: true,
  sep: (
    dash: "densely-dashed"
  ),
  title: "Incentre-Excentre Lemma(Fact 5)",
  footer: "Note that $F_A$ is the circumcentre of $x^2$ \u{0024}8 \u{0024} $IBC$",
  [- In \u{25B3}$A B C$, $A$, $I$, $E_A$ are collinear.
- $F_A B = F_A C = F_A E_A$],
  [Proof: Trivial ?]
)

Hi @DMDM,

you use quotes for your footer value. Typst interprets this text as a plain string, you have to use content mode (square brackets), footer: [ ... ]

P.S. Please format your code with a code block:

```typst
your code
```

@flokl Thanks a lot.

Hi @DMDM, thanks for your question! If you feel the response you got has sufficiently answered your question, be sure to give it a checkmark :ballot_box_with_check:. This will help others find the solution in the future. Thanks!

Edit: I have marked a response as the solution.

Sorry, I didn’t check the replies. I would make sure to give a checkmark from next time onwards.

1 Like