[texhax] 2 minipage's top alignment
Stephane Fombonne
s.fombonne at laposte.net
Tue Aug 24 19:17:30 CEST 2004
Hello there,
I'm new to Latex, and I've already read through many FAQs and Googled a lot,
but I'm getting desperate...
I would like to align to minipages containing text inside ; I've been
fiddling with the pos parameter , but to no avail.
*** I would like the baseline of the first minipage to get to the top.***
Below is the simple example. Thanks for helping!!
\documentclass[a4paper,twoside]{article}
\usepackage[frenchb]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fancybox}
\usepackage{color}
\usepackage{multicol}
\setlength{\columnseprule}{0.5pt}
\usepackage{geometry}
\geometry{ hmargin=2.5cm, vmargin=1.5cm }
\definecolor{DarkGoldenrod3}{rgb}{0.80,0.58,0.05}
\definecolor{LightBlue4}{rgb}{0.41,0.51,0.55}
\definecolor{CornflowerBlue}{cmyk}{0.65,0.13,0,0}
\begin{document}
\shadowbox{
\colorbox{CornflowerBlue}{
\begin{minipage}[t]{.2\linewidth}
dslkfh sdqlkfj hqslkdj fhlkqsjd hflkj sqdfkj sdf
smlqdfkjsldkf jsqmldkfj sqdlkfj sdlmfkj sd
sdf
sdf
sdf
qsdfsdfsqdflk sdqf
sdf
sdf
sqd fqsdfsqdf
sdqfsdfsqd
fsqdfgsfqgsqdfgdf
sdflkjh sqdlkfjh qskldflkqsdjfhlsqdj f
sqdflksqd f
qsdfsqdkljf hsqlkdjfh lkqsjd fq
sdflkqsdjhf lkqjsd hflkjqsd f
\end{minipage}
}
}
\hspace{0.2cm}
\begin{minipage}[b]{.7\linewidth}
\vspace{0pt} \centering
\begin{multicols}{3}
dlfk dsmlfkjsdmfl sqdmlfj sdmlfjk sdkfjsdmlfkj sdmlfjqsmlfj qsdmlfjsdmlfjksmflj sdf sdmlfkj sdmlfkjs dfmsldkfj sdmflks dfmlsd flmsd flsd fmlsdjfsmldfjsmdlfkj smdlfj smldfj msldkfjsmdlkjf
dlfkjsldmjfmsldkjfmsldkjf msldkjf mlsdkjf sdf
sqdfkhqslkjf sqlkjfhqsdlkfh qsldkjfh qsdlkjf qsldkjfh slqdkjfh sldqkj
sdflkj sdfmlk jsdfmlkj sdfmlk jsdfqmlkj sdfqmlsdkjf
\end{multicols}
\end{minipage}
\end{document}
More information about the texhax
mailing list