Font Awesomeアイコンでテキストを揃える

Font Awesomeアイコンでテキストを揃える

さまざまな Font Awesome アイコンにテキストを揃えて、垂直に揃えようとしています (つまり、テキストはアイコンの垂直方向の中央にある必要があります)。

これは私が現在持っているコードです:

{\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

レンダリングすると、出力は次のようになります。

ここに画像の説明を入力してください

Font Awesome アイコンに合わせてテキストを垂直方向に中央揃えにしたいです。

答え1

このような?

\documentclass{article}

\usepackage{fontawesome}
\usepackage{xcolor} 

\usepackage[colorlinks]{hyperref} 

\begin{document}

\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

\end{document} 

ここに画像の説明を入力してください

関連情報