Created
May 22, 2023 01:25
-
-
Save Ademking/5c4ae4bf4a200a4d0a6719d4a8bce0b0 to your computer and use it in GitHub Desktop.
Vertical alignment in longtable with figure in table
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
\documentclass{article} | |
\usepackage{array, longtable} | |
\usepackage[export]{adjustbox} | |
\usepackage{graphicx} | |
\usepackage{lipsum} | |
\begin{document} | |
\begin{longtable}{|p{1in}| >{\raggedright}p{4.5in}|}\hline | |
p column & p column \tabularnewline \hline | |
\includegraphics[width=1in,valign=t, margin=0pt 3pt 0pt 3pt]{node.js-logo-image.png} | |
& This pictogram is for substances that have certain properties in certain situations. | |
This pictogram indicates a level and type of hazard or risk when using the substance. | |
\tabularnewline \hline | |
\includegraphics[width=1in,valign=t, margin=0pt 3pt 0pt 3pt]{node.js-logo-image.png} | |
& \lipsum*[1] | |
\tabularnewline \hline | |
\end{longtable} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment