Skip to content

Instantly share code, notes, and snippets.

@yvanst
Created August 11, 2018 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yvanst/7ac9e950aa259580787cee7a13271e8f to your computer and use it in GitHub Desktop.
Save yvanst/7ac9e950aa259580787cee7a13271e8f to your computer and use it in GitHub Desktop.
latex beamer setup
\documentclass[aspectratio=169]{beamer}
\usepackage{graphicx}
\usepackage[UTF8,fontset=none]{ctex}
\usepackage{hyperref}
\usepackage{amsmath}
\hypersetup{colorlinks=true}
\graphicspath{{../img/}}
\setCJKmainfont{思源黑体 CN Medium}
\usetheme{metropolis}
\setsansfont{Roboto}
\title{}
\date{\today}
\author{}
\institute{}
\begin{document}
\maketitle
\begin{frame}{目录}
\tableofcontents
\end{frame}
\section{}
\begin{frame}{}
\end{frame}
\end{document}
@yvanst
Copy link
Author

yvanst commented Aug 12, 2018

image on full slide

   \usepackage{tikz}
    \begin{frame}{}
        \begin{tikzpicture}[remember picture,overlay]
            \node[at=(current page.center)] {
                \includegraphics[width=\paperwidth, height=\paperheight]{1.jpg}
            };
        \end{tikzpicture}
    \end{frame}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment