Created
February 21, 2017 16:31
-
-
Save JarekParal/4633277da22c715e07a1738e3198a129 to your computer and use it in GitHub Desktop.
Two pictures/figures in two column (two methods)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[h] | |
\begin{minipage}[b]{.5\textwidth} | |
\centering | |
\includegraphics[width=\textwidth]{images/pololu-3pi-robot-8-on-line.jpg} | |
\caption[Robot Pololu 3pi]{Robot Pololu 3pi\protect\footnotemark} | |
\label{fig:pololu-3pi-robot-8-on-line} | |
\end{minipage} | |
\hfill | |
\begin{minipage}[b]{.5\textwidth} | |
\centering | |
\includegraphics[width=\textwidth]{images/Edison-Educational-robot.jpg} | |
\caption[Robot Edison]{Robot Edison\protect\footnotemark} | |
\label{fig:Edison-Educational-robot} | |
\end{minipage} | |
\end{figure} | |
% two footnote/footnotemark in minipage - problem with index | |
% solution: http://tex.stackexchange.com/a/43694 | |
\addtocounter{footnote}{-1} % footnote_cnt -= 1 | |
\footnotetext{Zdroj: \url{https://www.pololu.com/product/975}} | |
\stepcounter{footnote} | |
\footnotetext{Zdroj: \url{https://meetedison.com/meet-edison-v2-0/}} | |
% putting two images beside each other | |
% source: http://tex.stackexchange.com/a/148445 | |
%\begin{figure}[!tbp] | |
% \begin{subfigure}[b]{.5\textwidth} | |
% \centering | |
% \includegraphics[width=\textwidth]{images/pololu-3pi-robot-8-on-line.jpg} | |
% \caption[Robot Pololu 3pi]{Robot Pololu 3pi\protect\footnotemark} | |
% \label{fig:pololu-3pi-robot-8-on-line} | |
% \end{subfigure} | |
% \hfill | |
% \begin{subfigure}[b]{.5\textwidth} | |
% \centering | |
% \includegraphics[width=\textwidth]{images/Edison-Educational-robot.jpg} | |
% \caption[Robot Edison]{Robot Edison\protect\footnotemark} | |
% \label{fig:Edison-Educational-robot} | |
% \end{subfigure} | |
% \caption{Roboti se zaměřením na velmi úzkou oblast činnost} | |
%\end{figure} | |
% | |
%\footnotetext{Zdroj: \url{https://www.pololu.com/product/975}} | |
%\footnotetext{Zdroj: \url{https://meetedison.com/meet-edison-v2-0/}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment