Created
January 20, 2023 14:10
-
-
Save xeechou/37def2c139cada9f06fe6760ba89be0b to your computer and use it in GitHub Desktop.
inline figure in latex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcommand*{\img-inline}[1]{% | |
\raisebox{-.1\baselineskip}{% | |
\includegraphics[ | |
height=0.8\baselineskip, | |
width=0.8\baselineskip, | |
keepaspectratio, | |
]{#1}% | |
}% | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment