I'm new to LaTeX, I have a table and I want to add an image in the first column of my table and I want that it fits a column. Can you give me some advice how to do it correctly?
\documentclass{article}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage[a4paper, portrait, margin=1in]{geometry}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[russian]{babel}
\pagestyle{fancy}
\rhead{
\begin{tabularx}{\textwidth}{X X X X}
\includegraphics[width=0.1\textwidth, height=15mm]{cat}&Класс документа: & Id документа & Название документа: \\
&Regulation & 1 & СОП513 \\
&Тип документа: & № Версии документа: & Страница в документе: \\
&СОП & 503 & \thepage \\
\end{tabularx}
}`
\graphicspath{ {/home/Anton/} }
\begin{document}
\noindent
hello world
\end{document}
Here is what I have right now:
[
Best Answer
Here is a way, with a simple
\raisebox
. I also addedinput encoding
, and had to change some parameters withgeometry
: