I am trying to align some text up with various font awesome icons so that they are vertically-aligned (i.e. the text should be at the vertical middle of the icon).

This is the code I have currently:

{\LARGE \faInbox} \href{some email}{some email} \quad
{\LARGE \faPhone} (555) 555-5555 \quad
{\LARGE \faLinkedinSquare} \href{https://www.linkedin.com/in/somelinkedin/}{somelinkedin} \quad
{\LARGE \faGithub} \href{https://github.com/username}{username} \quad
{\LARGE \faStackOverflow} \href{https://stackoverflow.com/users/12584129/someuser}{someuser} \quad

When rendered, the output looks like this:

enter image description here

I wish to center the text vertically in line with the Font Awesome icons.

1 Answer 1


LIke this?





\noindent\raisebox{-0.3\height}{\LARGE \faInbox} \href{some email}{some email} \quad
\raisebox{-0.3\height}{\LARGE \faPhone} (555) 555-5555 \quad
\raisebox{-0.3\height}{\LARGE \faLinkedinSquare} \href{https://www.linkedin.com/in/somelinkedin/}{somelinkedin} \quad
\raisebox{-0.3\height}{\LARGE \faGithub} \href{https://github.com/username}{username} \\
\raisebox{-0.3\height}{\LARGE \faStackOverflow} \href{https://stackoverflow.com/users/12584129/someuser}{someuser} \quad


enter image description here

  • Just what I was looking for. Thank you so much!
    – MWJones96
    Commented Dec 23, 2019 at 15:09
  • You're welcome. Always glad to help!
    – Bernard
    Commented Dec 23, 2019 at 15:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .