https://blog.jotterpad.app/using-markdown-to-make-beautiful-latex-beamer-presentations/
嗨,我想知道是否有人知道这是什么 beamer 模板,或者如何在 LaTeX 中实现这一点(文本上的颜色渐变 + 黑色背景)。谢谢!
答案1
你可以从一些深色主题开始,例如owl
然后使用@Skillmon 的精彩答案https://topanswers.xyz/tex?q=5253#a5195给你的标题添加一些彩虹色:
% !TeX TS-program = lualatex
\documentclass{beamer}
\usecolortheme{owl}
\setbeamertemplate{background canvas}[vertical shading][bottom=darkgray,top=black]
\usepackage{chickenize}
\chickenizesetup{rainbow_step=0.15}
\setbeamerfont{title}{size=\bfseries\huge\rainbowcolor}
\setbeamerfont{author}{size=\unrainbowcolor}
\addtobeamertemplate{date}{\vfill}{}
\title{The title of your presentation}
\author{names}
\begin{document}
\begin{frame}[b]
\titlepage
\end{frame}
\begin{frame}
test
\end{frame}
\end{document}
或者您可以使用该gradient-text
包:
\documentclass{beamer}
\usecolortheme{owl}
\setbeamertemplate{background canvas}[vertical shading][bottom=darkgray,top=black]
\usepackage{gradient-text}
\setbeamerfont{title}{size=\bfseries\huge}
\addtobeamertemplate{date}{\vfill}{}
\title[The title of your presentation]{\gradientRGB{The title of your presentation}{255,0,244}{0,238,255}}
\author{names}
\begin{document}
\begin{frame}[b]
\titlepage
\end{frame}
\begin{frame}
test
\end{frame}
\end{document}