I am struggling with creating an interface like this one below.
So basically, I have a couple of sections on the page that have to have a set height (10cm) (which are defined as a minipage) and within each of these section there are "kind of" 2 columns: the left one containing some other minipages/text that has to be aligned vertically on top, one below each other, and the right one which has to be centered vertically. If neither the picture, nor the text take up the whole height of the section, there should be a white field, as I said, the height is always 10cm.
I tried some approaches, but:
1) when defining the outer minipage as:
\begin{minipage}[c][9cm]{0.3\textwidth},
all the elements (the left column too) were aligned vertically
2) when i left the top line as in full code snippet below, as [t] so that the inner minipages get aligned to center by default, The image was aligned with the middle of the left column, not the middle of the whole section:
\documentclass[12pt]{article}
\nonstopmode
\usepackage{geometry}
\geometry{
papersize={216mm, 303mm},
left=0mm,
top=0mm,
bottom=0mm,
right=0mm
}
\usepackage[x-1]{pdfx}
\usepackage{pdfpages}
\usepackage{changepage}
\usepackage{tikz}
\renewcommand\familydefault{\sfdefault}
\begin{document}
\newgeometry{
left=3mm,
top=3mm,
bottom=3mm,
right=3mm
}
\begin{minipage}[c][9cm]{0.3\textwidth}
\parbox[t][0cm][b]{5cm}{\textcolor{black}{\Large TITLE}}
\begin{adjustwidth}{0mm}{5mm}
problems???
\end{adjustwidth}
\end{minipage}
\begin{minipage}[c][9cm]{0.7\textwidth}
\vspace{5pt}
\begin{center}
\noindent\begin{tikzpicture}%
\node[anchor=south west, inner sep=0] (X) at (0,0){
\centering
\includegraphics[width=12cm,height=8.5cm,keepaspectratio]{example-image-golden}
};%
\end{tikzpicture}
\end{center}
\end{minipage}%
\textcolor{black}{\hrulefill}
\begin{minipage}[c][9cm]{0.7\textwidth}
\begin{center}
\noindent\begin{tikzpicture}%
\node[anchor=south west, inner sep=0] (X) at (0,0){\includegraphics[width=13cm,height=8.5cm,keepaspectratio]{example-image-golden}};%
\begin{scope}[x={(X.south east)},y={(X.north west)}]%
\node[anchor=north west,text width=0.08\textwidth,inner sep=2mm, fill=black,draw,color=black] (Z) at (0.9, 1) {%
\centering
\textcolor{white}{\huge info}\par%
};
\end{scope}
\end{tikzpicture}
\end{center}
\end{minipage}%
\begin{minipage}[c][9cm]{0.27\textwidth}
\parbox[t][0cm][b]{3.8cm}{\textcolor{black}{\Large rafal}}
\begin{flushleft}
\begin{adjustwidth}{0mm}{7mm}
dfakpjfldsa . dfklaljkdfa dfkjfd dfaskjdfs dfjkadfa fdnjkfd dfandfs df njkdfa dfk ds sd . a . dsafkjweL,M DF LDAKDFLKAKLFJFD KLKk
\end{adjustwidth}
\end{flushleft}
\end{minipage}
\textcolor{black}{\hrulefill}
\end{document}
\documentclass
and end with\end{document}
.example-image
.