Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Demo of subfigures bug in typst

Simple subfigure example that works in latex, and in the web-version but not in typst:

Here is some fruit 🍏

(a)Here is some fruit 🍏

My vacation pics! 🏝

(b)My vacation pics! 🏝

Figure 1:Some pictures of fruit and the ocean!

Separate Issue: Experimentation with wrapping embed in figure

Leads to typst error

x = np.linspace(0, 4 * np.pi, 100)
y = np.sin(x)
_ = plt.plot(x, y)
<Figure size 600x450 with 1 Axes>

This is a figure caption for embedded content.

import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0, 8 * np.pi, 100)
y = np.sin(x)
_ = plt.plot(x, y)

A code-cell generating a sine plot