I want to create a document which is mainly a check list, but what I want is to show an image on the left side of the page, and the check list was shown in the right side of the page. Like the image below:
My question is, what is the way to do this in LaTeX, I have read some discussions about multicols
package, but it does not support float images.
Question: Now, I modify your code a little to create a landscape page:
\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{array}
\newcounter{rowno}
\setcounter{rowno}{0}
\begin{document}
\noindent
{\begin{minipage}[t]{.5\textwidth} %minipage's width
\raisebox{-.94\textheight}{%
\includegraphics[width=.95\linewidth,height=\textheight]{example-image}
}
\end{minipage}%
\begin{tabular}{@{\hspace{1em}\stepcounter{rowno}\therowno.\hspace{.5em}}p{.45\textwidth}c@{}}
\multicolumn{2}{c}{\large\bfseries Check list}\\[.5em]
This is first item to be checked & $\square$\\
This is second item to be checked and this sentence is going to the second line & $\square$\\
This is third item to be checked and this sentence is going to the second line & $\square$\\
This is fourth item to be checked and this sentence is going to the second line & $\square$\\
This is fifth item to be checked and this sentence is going to the second line & $\square$\\
This is sixth item to be checked and this sentence is going to the second line & $\square$
\end{tabular}
\end{document}
But I see the generated pdf have two pages, the first page is empty, I'm not sure why?
Another question 1: What does the line @{\hspace{1em}\stepcounter{rowno}\therowno.\hspace{.5em}}p{.45\textwidth}c@{}
is used for, I don't know, I guess this is used to align the table with the minipage
, but I don't know why.
Another question 2: Why do you use a \raisebox{-.94\textheight}
, if I remove this, I see the image can still show there, but the check list items will go to the right bottom side of the image.
EDIT: Two images added (before and after of removing the line containing the raisebox
command)