MS Powerpoint 有这个简洁的流程图:
因为到目前为止我需要的所有东西都可以用 TeX 来完成(只是不是我做的),我真的希望能够以某种方式将其添加到 beamer 演示文稿中并将其包含在该\frametitle
部分中。
最好,突出显示应该可以通过某种设置移动(从第一个元素到最后一个元素)。理想情况下,突出显示颜色只是配色方案(在下面的示例中从红色突出显示为灰色)。
梅威瑟:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{svg}
%\usepackage{gensymb}
%\usepackage{siunitx}
%\sisetup {
%locale = DE,
%per-mode = symbol
%}
% THEME AND COLOR SETUP
\usetheme{CambridgeUS}
\usecolortheme[RGB={205,0,0}]{structure}
\setbeamertemplate{items}[default]
\setbeamertemplate{sections/subsections in toc}[square]
\newcommand{\quoted}[1]{
\glqq#1\grqq
}
\date{27. June 2018}
\mode<presentation>{}
\begin{document}
\beamertemplatenavigationsymbolsempty
\title{MS Powerpoint and TeX}
\author{Narusan}
\begin{frame}
\frametitle{Flow Chart}
%FLOWCHART ON TOP HERE
\begin{columns}
\begin{column}{.5\textwidth}
What MS Powerpoint can do:
\begin{itemize}[<+->]
\item Reasonable Slideshows
\item Fancy, but ultimately useless animations
\item Infect your computer with the latest virus
\item Crash when you were just about to save
\end{itemize}
\end{column}
\begin{column}{.5\textwidth}
What TeX can do
\begin{itemize}[<+->]
\item anything
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}
实际产量:
所需输出(没有可怕的拉伸和没有配色方案):
答案1
这不是一个答案,因为我不完全理解这个问题(这不是你的错,但因为我从来没有用过 powerpoint,所以我不知道你在找什么)。Ti钾Zy 部分很简单,因为 @Zarko 已经在很大程度上完成了这里。
\documentclass{beamer}
\usetheme{CambridgeUS}
\usecolortheme[RGB={205,0,0}]{structure}
\setbeamertemplate{items}[default]
\setbeamertemplate{sections/subsections in toc}[square]
\beamertemplatenavigationsymbolsempty
\usepackage{tikz}
\usetikzlibrary{chains, positioning, shapes.symbols}
\tikzset{start/.style = {signal, fill=#1,minimum height=15mm,draw=white,
font=\sffamily\Huge,text=white,inner sep=6pt,
signal pointer angle=150, on chain},
cont/.style = {start=#1, signal from=west}}
\tikzset{
invisible/.style={opacity=0},
visible on/.style={alt={#1{}{invisible}}},
highlight on/.style={alt={#1{fill=darkred!80!black}{fill=gray!30!white}}},
alt/.code args={<#1>#2#3}{%
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path
},
}
\begin{document}
\section{Quack}
\begin{frame}[t,fragile]
\frametitle{\LaTeX\ wins!\\
\begin{tikzpicture}[
node distance = 0mm,
start chain = going right,
]
\node[start=darkred!80!black,highlight on=<1>] {This};
\node[cont=gray!30!white,highlight on=<2>] {and};
\node[cont=gray!30!white,highlight on=<3>] {then};
\node[cont=gray!30!white,highlight on=<4>] {that};
\end{tikzpicture}}
\begin{enumerate}
\item Never put pineapple on a pizza!
\pause
\item Never!
\pause
\item Absolutely never!
\pause
\item Trust me!
\end{enumerate}
\end{frame}
\end{document}
编辑:添加了highlight on
关键点和动画。不过,很有可能可以做得更优雅。