1

So I have this table with an image and a table

\cleardoublepage
    \thispagestyle{empty}
\bgroup
\noindent\begin{tabularx}{\textwidth}{@{}c@{}X}
  \includegraphics[width=1.02in]{img/uaqlogo.eps} &
    \centering
    \begin{tabular}[b]{@{}l@{}}
    \LARGE Universidad Autónoma de Querétaro \\[0.15in]
    \Large Facultad de Ingeniería \\[0.15in]
    \large Maestría en Ciencias en Inteligencia Artificial
    \end{tabular}
\end{tabularx}

That produces this:

Alignment

Is there a way to align it horizontally? I dont know why they are using b, whenever I use h or t it moves the text even lower.

Mntfr
  • 113

2 Answers2

2

Here it is, with adjustbox and a local definition of the X columntype. Note that beforehand, I converted the logo to .pdf with the epspdf utility:

\documentclass{article}
\usepackage{multirow, tabularx}
\usepackage{graphicx}
\usepackage[export]{adjustbox}

\begin{document}
\cleardoublepage
\thispagestyle{empty}
\bgroup
 \renewcommand{\tabularxcolumn}[1]{m{#1}}
\noindent\begin{tabularx}{\textwidth}{@{}c@{}X}
 \includegraphics[width=1.02in, valign=c]{uaqlogo} &
    \centering
    \begin{tabular}[b]{@{}l@{}}
    \LARGE Universidad Autónoma de Querétaro \\[0.15in]
    \Large Facultad de Ingeniería \\[0.15in]
    \large Maestría en Ciencias en Inteligencia Artificial
    \end{tabular}
\end{tabularx}
\egroup

\end{document} 

enter image description here

Bernard
  • 271,350
1

No need to use tabularx:

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\noindent\begin{minipage}{\textwidth}
\fontfamily{phv}\selectfont % Helvetica
\begin{tabular}{@{}c@{}}
\includegraphics[width=1.02in]{uaqlogo}
\end{tabular}\qquad
\begin{tabular}{@{}l@{}}
\LARGE Universidad Autónoma de Querétaro \\[0.15in]
\Large Facultad de Ingeniería \\[0.15in]
\large Maestría en Ciencias en Inteligencia Artificial
\end{tabular}
\end{minipage}

\end{document}

enter image description here

egreg
  • 1,121,712