3

I am building a custom operator out of two triangles. But it seems that to the PDF viewers (evince in this case), they are still individual characters and hinted (i.e. pixel-aligned) differently, which hurts the visual appearance.

For example, this code

\documentclass{article}
\begin{document}
$\triangleleft\triangleright$~$\triangleleft\triangleright$
\end{document}

will be rendered, at some zoom level, as follows:

differently hinted instances of the same symbol

Is there a way to tell LaTeX resp. the PDF interpreter that these two symbols should be hinted together, and consistently?

  • Hinting? I don't know this term, but you mean kerning perhaps. Perhaps there's such a symbol already – user31729 Oct 27 '15 at 10:42
  • 1
    @ChristianHupfer Hinting refers to how vector things are rendered on a raster display. – Steven B. Segletes Oct 27 '15 at 10:47
  • I get this from your code. May you have font problems. – user11232 Oct 27 '15 at 10:50
  • 3
    No, there's no such thing. The same happens quite frequently also with adjacent letters, but the curvy shapes help in not noticing the phenomenon, which is more evident with straight lines. – egreg Oct 27 '15 at 10:51
  • @HarishKumar Yes, you get that at high resolution. But the OP is showing the image at very low zoom level, wherein the inter-symbol gap seems not fixed in size. – Steven B. Segletes Oct 27 '15 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.