#How to mirror text

13 messages · Page 1 of 1 (latest)

lime pecan
#

?r

A#box(rotate(180deg)[B])BA
grand grottoBOT
lime pecan
#

However, that doesn't work if the font that produces the B is not identical for the top and the bottom part of the letter.

teal condor
#

?r A#box(scale(x: -100%)[B])BA

grand grottoBOT
lime pecan
#

nice!!!

#

thanks for the quick response!

teal condor
#

No problem, though I'm unsure whether this is the only was to achieve this

lime pecan
#

?r

#let mirror(text) = {
  box(scale(x: -100%)[#text])
}

A#mirror[B]BA
teal condor
#

You might want to also put box in the mirror function then

lime pecan
#

that's fair!