TeX - LaTeX Asked on May 29, 2021
I want to draw in LaTeX a ligature for the nt digraph.
I would prefer a solution that is independent from the font used. But if it is not possible, the default one (CM) will do.
I currently use newcommandnt{n!t}
but it is ugly.
I am not sure what the glyph should look like but here’s a vague idea (the n is not really looking as an n but I am a poor drawer):
As an example, st is ligatured as st.
Edit. Another option would be the following (historically attested)
IMHO, this macro nt
works nice with both upright and italics fonts in 10-12pt CM, but obviously will need some adjustments using another font or different font sizes:
documentclass[11pt]{article}
makeatletter
newcommand{nt}{%
defstatusem{it}%
ifxf@shapestatusem%
nkern-.105emraisebox{-0.25em}{t}else
nkern-0.27emraisebox{-0.4em}{t}fi}
makeatother
begin{document}
audiunt audiunt parem
audiunt audiunt
end{document}
As commented, a general solution is impossible, but having an already made general digraph could work well in some cases without adjustments saving the digraph alone in a pdf, and the using the pdf as an image, of course, with a relative size (i.e., with the width in em).
For the italics you cannot make the same kind of joining because the "n" tail is already a broken ligature and you must use it as connect point for best results.
The example above show join the "t" at the left extreme of the horizontal bar, but another reasonable options could be point to the middle of this bar, to simulate and ascending trace to the top of the "t", or from the bottom, without descending the second character in this case:
ntquad nkern-.16emraisebox{-0.25em}{t}quad nkern-.13em t
For my taste the horizontal bar is too near to the "n" in the second and third version, although the third have the advantage of look more conventional. Anyway, what is better is up to you.
But another possibility is not make the ligature with "n", but with the default eta
, that have not right tail:
audiu$eta$kern-.365emraisebox{-0.4em}{t}
Correct answer by Fran on May 29, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP