TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

Text and Figure and Vertical Alignment
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


position2.png
\documentclass{article}
\begin{document}
\begin{tabular}{lp{3.2cm}}
  hallo &
%  \includegraphics{<file>
  \rule{3cm}{3cm}% only demo here
\end{tabular}
\end{document}
position0.png
\documentclass{article}
\begin{document}
\begin{tabular}{lp{3.2cm}}
  hallo &
  \vspace{0pt}
%  \includegraphics{<file>
  \rule{3cm}{3cm}% only demo here
\end{tabular}
\end{document}
position1.png
\documentclass{article}
\begin{document}
\begin{tabular}{lp{3.2cm}}
  hallo &
  \vspace{-\ht\strutbox}
%  \includegraphics{<file>
  \rule{3cm}{3cm}% only demo here
\end{tabular}
\end{document}
position3.png
\documentclass{article}
\begin{document}
\begin{tabular}{lp{3.2cm}}
  \Huge hallo &
  \vspace{-\ht\strutbox}
%  \includegraphics{<file>
  \rule{3cm}{3cm}% only demo here
\end{tabular}
\end{document}
position4.png
\documentclass{article}
\begin{document}
\begin{tabular}{lp{3.2cm}}
  \raisebox{-\height}{\Huge hallo} &
  \raisebox{-\height}{%
%  \includegraphics{<file>
  \rule{3cm}{3cm}% only demo here
\end{tabular}
\end{document}
A solution without a tabular environment
position5.png
\documentclass{article}
\begin{document}
\begin{minipage}{5cm}
  \Huge hallo 
  \begin{minipage}[t]{3cm}
    \vspace{-\ht\strutbox}
    %\includegraphics{<file>
    \rule{3cm}{3cm}% only demo here
  \end{minipage}
\end{minipage}
\end{document}

local time: Thu Nov 14 18:03:07 CET 2019 ; file is: 144.364293981481 days old
contact webmaster _at_ TeXnik.de