I managed to include symbols inside custom fonts (.ttf):




\icmail \hspace{2mm} my.email@domain.it 

   \item[\icarrowr] one 
   \item[\icarrowr] two
   \item three \dots{}


But I can not vertically align text and symbols.

enter image description here

...as you can see the symbol is always higher than the text.

I'm creating the custom fonts symbols correctly? It's possible to achieve the vertical center alignment between symbol and text?

Thanks in advance.

  • Hm \raisebox{-2pt}{\icmail} perhaps. Change the value of -2pt to more appropiate settings. I can't test this since I don't have your fonts!
    – user31729
    Aug 25, 2016 at 17:53
  • @ChristianHupfer works great thanks! If you convert your comment as answer I'll mark as accepted.
    – Luca Sepe
    Aug 25, 2016 at 17:59

1 Answer 1


If a 'glyph' or box is too high or low compared to the baseline, it is possible to raise or lower it with \raisebox{dimension value}{content}. Positive values raise the content, negative values shift it down.

The precise value depends on the font size declarations and the details of the symbol actually.

Perhaps it is possible to query the depth of the glyph box.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.