\documentclass[a4paper,12pt]{article}
\usepackage[dutch]{babel} % Quotes won't work without babel
\usepackage[utf8]{inputenc} % This is very important!
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage[pdfborder={0 0 0}, breaklinks=true, pdftex=true, raiselinks=true]{hyperref}
\usepackage{tabularx}
\newcolumntype{Y}{>{\raggedright}X}
\begin{document}
\subsection{subsection}
\begin{tabularx}{\linewidth}{YY}\hline
\textbf{Plugin}
&\begin{wrapfigure}{r}{0.5\linewidth} \vspace{-10pt} \begin{center} \includegraphics[width=1\linewidth]{pic.png} \end{center} \vspace{-10pt} \caption{some caption name} \vspace{-10pt} \end{wrapfigure}
\tabularnewline \hline
See section \textit{section text} for further information\tabularnewline \hline
\textbf{Source Settings}\tabularnewline \hline
\textit{Source:} Choose the Source Type:
\begin{itemize}
\item Separate
\item Side-by-Side
\item Top-Bottom \tabularnewline \hline
\end{itemize}
\end{tabularx}
\end{document}
I can´t find the mistake, maybe someone could help me with that one, please? I think it has something to do with the itemize environment, but I can´t figure out why.
Best Answer
see itemize in a tabular environment
you had already figured that
itemize
was the problem, and a search in google would have taken you to that.i coded the relevant cell as
and it worked.
without your png file, i stuck an inappropriate one of mine in there, and that highlighted the weirdness of using
wrapfigure
in the table (my png appeared way off to the right); what were you aiming to do there? i would guess that putting that in aparbox
, too, would help -- something likewould do the job (but would need
\usepackage{caption}
or\usepackage{capt-of}