How do I print out "[" in a table?

I need to print out the [ and ] symbols in the “blocks” of my table (not the ones that designate the blocks). How do I do this?

Hello @Andrew_van_der_Spuy, please change your topic category to Questions and add “?” to your title. Don’t hesitate to also add tags, see How to post in the Questions category for more info.
If you can provide reproducible code it would be perfect for other people to give you a hand! :smiley:

To use characters that are part of the syntax, they need to be escaped. You can do this with putting a \ in front of them.
Example:

#table(
  columns: 2,

  [square brackets - open], [ \[ ],
  [square brackets - close], [ \] ]
)

image

See the Markup section of this page:

1 Like