How to give Strike the Right Colour

Hello @Daniel_Pfeiffer,

If you look at the documentation for strikethrough, you will find the stroke parameter which defaults to auto.

If set to auto, takes on the text’s color and a thickness defined in the current font.

Setting stroke to black or any other color will do the trick.

#let mycontent = "Test"

#strike(
  stroke: black,
  text(mycontent, fill: gray),
)

As a side note, if you could please follow the guidance for naming questions:

We hope that by adhering to this, other users will find it easier to answer the same question in the future.

1 Like