Closed stevengj closed 1 year ago
currently libtexprintf has the \prime
, \second
, \third
, \fourth
, and `\backprime¸ symbols. Obviously it is nice to automatically parse the single quites to generate the regular primes. I'll have a look. The more special primes, like the double backprime, will just be symbols.
new version implements single to quadruple primes, i.e. a' a'' a''' a''''
. I also added some additional primes to the symbol list and made aliases for those I head but apparently also go by other names.
Great! I would suggest a different fallback, though for more than 4 primes, though. Right now you have src/utftex "y'''''"
render as
y⁗′
Maybe it should render as y′′′′′
instead? i.e. fallback to repeating ′
?
I see, the way I did it we depend on whoever designed the fonts on how consistent the primes look. I guess more than 4 primes is not much of a use case but, who knows, I made it so.
t'
andt''
get rendered as-is using ASCII quotes, but they could be rendered using Unicode prime characterst′
andt″
.Here are several Unicode primes.