Skip to content

Instantly share code, notes, and snippets.

@aoirint
Last active April 24, 2020 09:51
Show Gist options
  • Save aoirint/0a1c3426e7de00de119cbbd88c4430a8 to your computer and use it in GitHub Desktop.
Save aoirint/0a1c3426e7de00de119cbbd88c4430a8 to your computer and use it in GitHub Desktop.

Convert Image DPI to 72dpi

convert INPUT.png -density 72 -units PixelsPerInch OUTPUT.png

2-Column Image Slide

\begin{frame}{Slide Title}

  \begin{figure}[h]
    \begin{minipage}{0.45\textwidth}
      \includegraphics[width=6cm,bb=0 0 400 400]{./figures/fig1.png}
      \label{fig:cap1}
      \caption{Caption 1}
    \end{minipage}
    \hfill
    \begin{minipage}{0.45\textwidth}
      \includegraphics[width=6cm,bb=0 0 400 400]{./figures/fig2.png}
      \label{fig:cap2}
      \caption{Caption 2}
    \end{minipage}
  \end{figure}

\end{frame}

URL List

\begin{frame}{References}
  \begin{itemize}
    \item \url { https://example.com }
    \item \url { https://example.com }
    \item \url { https://example.com }
    % \item \texttt {https://example.com}
  \end{itemize}

\end{frame}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment