TransWikia.com

Image beside text - image at top, text one line to multirow - what is best practise?

TeX - LaTeX Asked by chejnik on May 24, 2021

I would like to place small images that align to top with respect to text and beside it a text – sometimes one line, sometimes multirow. I use figures and minipages now to place it. Is there a simpler solution f.e. without using floats?

begin{figure}[ht]
hspace{0.5cm}
begin{minipage}[t]{0.5cm}
centering
vspace{5pt}
includegraphics[width=0.5cm]{icon-panacek.png}
end{minipage}%
hspace{0.3cm}
begin{minipage}[t]{8.5cm}
vspace{5pt}
5 - 99 roků
noindentcolor{cadetgrey}rule[3pt]{9cm}{0.1pt}
end{minipage}% 
begin{figure}[!h]
hspace{0.5cm}
begin{minipage}[t]{0.5cm}
centering
vspace{5pt}
includegraphics[width=0.5cm]{icon-panacek.png}
end{minipage}%
hspace{0.3cm}
begin{minipage}[t]{8.5cm}
vspace{5pt}
5 - 99 roků
noindentcolor{cadetgrey}rule[3pt]{9cm}{0.1pt}
end{minipage}%

showcase

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP