Текст слева, рисунок С ПОДПИСЬЮ справа

Текст слева, рисунок С ПОДПИСЬЮ справа

Я пытаюсь получить текст в левой части документа, а рисунок в правой части документа. К сожалению, все еще есть некоторые проблемы: В первом примере надписи отличаются (шрифт, пробелы, тип) от надписей основного текста. Во втором примере не отображается подпись. Я не смог найти никакого решения до сих пор и был бы очень благодарен за любую помощь с вашей стороны!

1) Пример

\documentclass[11pt]{article}
    \begin{document} 
\begin{figure}[htbp]
    \begin{minipage}{0.4\textwidth}
   sfsdaa
   sdfsfasfs
   10L-bach of water that flows through the device, it dispenses a dose of 3 mL of NaOCl solution into a mixing chamber. The chlorinated water is then flushed by an automatic siphon into a storage reservoir and dispensed via a tap \citep{Amin2016}.
Difficulties experienced with the application of this device
    \end{minipage}\hfill
    \begin{minipage}{0.4\textwidth}
     \centering
      \includegraphics[width=0.8\textwidth]{Zimba.PNG}
      \caption{Bild rechts}
    \end{minipage}
  \end{figure}
\end{document}

2) Пример

    \documentclass[11pt]{article}

\begin{document} 
    \begin{minipage}{0.6\linewidth}
     \noindent {\textbf{Zimba}}\\
    The Zimba device is connected to handpumps. For every 10L-bach of water that flows through the device, it dispenses a dose of 3 mL of NaOCl solution into a mixing chamber. The chlorinated water is then flushed by an automatic siphon into a storage reservoir and dispensed via a tap \citep{Amin2016}.
    Difficulties experienced with the application of this device
    are the variations in dosing due to clogging of the regulator \citep{Pickering2015}. Moreover, the Zimba dispenser uses a non-standard low concentration NaOCl solution (0.4\%), which requires dilution before filling.
    \end{minipage}
    \hfill
    \begin{minipage}{0.45\linewidth}
       \centering
       \includegraphics[scale=0.9]{Zimba.PNG}
       %\rule{0.9\linewidth}{0.5\linewidth}
       \caption{Zimba \citep{Amin2016}}
       \label{fig:Zimba}
    \end{minipage}

    \end{document}

решение1

Похоже, вы пытаетесь сделать что-то, что реализовано пакетом wrapfig. Вот простой пример:

\documentclass{scrartcl}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}

\begin{document}
    \lipsum[1]
    \begin{wrapfigure}{r}{.5\linewidth}
        \includegraphics[width=\linewidth]{example-image-a}
        \caption{Bild rechts}
    \end{wrapfigure}
    
    \lipsum[2-3]
\end{document}

На выходе получаем:

введите описание изображения здесь

решение2

\documentclass[11pt]{article}
    \begin{document} 
\begin{tabular} {p{6cm} p{5cm}}
    {\begin{minipage}{0.4\textwidth}
   sfsdaa
   sdfsfasfs
   10L-bach of water that flows through the device, it dispenses a dose of 3 mL of NaOCl solution into a mixing chamber. The chlorinated water is then flushed by an automatic siphon into a storage reservoir and dispensed via a tap .
Difficulties experienced with the application of this device
    \end{minipage}\hfill} &
    {\begin{minipage}{0.4\textwidth}
     \centering
    I would like to say that I do not have any pictures, text or table. % \includegraphics[width=0.8\textwidth]
%      \caption{Bild rechts}
    \end{minipage}}
  \end{tabular}\\
  \vspace{1cm}

 \begin{tabular} {p{6cm} p{5cm}}
    {\begin{minipage}{0.6\linewidth}
     \noindent {\textbf{Zimba}}\\
    The Zimba device is connected to handpumps. For every 10L-bach of water that flows through the device, it dispenses a dose of 3 mL of NaOCl solution into a mixing chamber. The chlorinated water is then flushed by an automatic siphon into a storage reservoir and dispensed via a tap.
    Difficulties experienced with the application of this device
    are the variations in dosing due to clogging of the regulator . Moreover, the Zimba dispenser uses a non-standard low concentration NaOCl solution (0.4\%), which requires dilution before filling.
    \end{minipage}} & 

    {\begin{minipage}{0.45\linewidth}
       \centering

       Some thing is missing here
       %\includegraphics[scale=0.9]{Zimba.PNG}
       %\rule{0.9\linewidth}{0.5\linewidth}
       %\caption{Zimba \citep{Amin2016}}
       \label{fig:Zimba}
    \end{minipage}}

    \end{tabular}
\end{document}

% пожалуйста, скомпилируйте с полным текстом. Надеюсь, это будет вам полезно. Я скомпилировал и увидел, что это работает.

Связанный контент