• R/O
  • SSH

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

Révision 7b2c3b2929cd78559a84567bc9a61bb06481f372
Taille 1,992 octets
l'heure 2022-12-20 19:15:44
Auteur Lorenzo Isella
Message de Log

I now show how to better fine-tune the dropcap in the presentation.

Content


\documentclass[10pt]{beamer}

\usetheme[progressbar=frametitle]{metropolis}
\usepackage{appendixnumberbeamer}

\usepackage{booktabs}
\usepackage[scale=2]{ccicons}

\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}

\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}

\usepackage{color}
\definecolor{Red}{RGB}{157,16, 45}
\usepackage{lettrine}
\input GoudyIn.fd
\newcommand*\initfamily{\usefont{U}{GoudyIn}{xl}{n}}


\title{Metropolis}
\subtitle{A modern beamer theme}
% \date{\today}
\date{}
\author{Matthias Vogelgesang}
\institute{Center for modern beamer themes}
% \titlegraphic{\hfill\includegraphics[height=1.5cm]{logo.pdf}}

\begin{document}

\maketitle

\begin{frame}{Table of contents}
  \setbeamertemplate{section in toc}[sections numbered]
  \tableofcontents[hideallsubsections]
\end{frame}

\section{Introduction}

\begin{frame}[fragile]{Metropolis}

  \lettrine[lines=3]{\color{Red}{\initfamily{T}}}{}he Metropolis theme
  is a Beamer theme with minimal visual noise and now I add some other
  stuff to see how this looks like. I created a dropcap which is three
  lines tall.

 %% if I set lines=1, then lettrine will put the dropcap higher than
 %%  the rest of the text. 
  
  \lettrine[lines=1]{\color{Red}{\initfamily{T}}}{}he \themename theme is a Beamer theme with minimal visual noise


  
  inspired by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{\textsc{hsrm} Beamer
  Theme} by Benjamin Weiss.

  Enable the theme by loading

  \begin{verbatim}    \documentclass{beamer}
    \usetheme{metropolis}\end{verbatim}

  Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX
  installed to enjoy this wonderful typography.
\end{frame}
\begin{frame}[fragile]{Sections}
\lettrine[lines=1]{\color{Red}{\initfamily{S}}}{}ection   group slides of the same topic

  \begin{verbatim}    \section{Elements}\end{verbatim}

  for which \themename provides a nice progress indicator \ldots
\end{frame}


\end{document}