如何在 Beamer 中实现这个大纲逻辑?

如何在 Beamer 中实现这个大纲逻辑?

我正在使用 Beamer LaTeX 软件包准备我的博士论文答辩报告。我尝试实现一种逐步、逐节呈现大纲的逻辑——正如这次精彩的演讲确实如此。但是,我的演示并没有像我预期的那样工作。如果有人能给我提供一个最小的工作示例,实现该逻辑,我将不胜感激,如下所示。非常感谢您的帮助!

  • 显示标题页;

  • 显示总体轮廓(仅限第一级);

  • 显示第一项的概要(仅第二级,第一子项活动,其他 - 灰色);

  • 播放幻灯片,涵盖第一项;

  • 显示第一项的概要(仅第二级,第二个子项活动,其他 - 灰色);

  • ...(遍历其他项目;在适当的时候,我需要将相同的逻辑扩展到更深的层次 - 可能仅限于第三层)

  • 显示第 N 个项目的轮廓(仅第 2 级,第 1 个子项目有效,其他 - 灰色);

  • ...(遍历其他子项)

答案1

正如我在上面的评论中所说,我能够通过阅读 Beamer 手册(如 @Astrinus 所建议的那样)并玩弄代码来解决这个问题。无论如何,我在下面发布了我的解决方案,希望它对其他人有用(显然,这只是我正在制作的真实演示文稿的骨架)。本质上,解决方案具有双重意义:

1)\frame{\tableofcontents[hideallsubsections]}在章节定义之前提供声明(缺失);

2)设置正确的参数组合sectionstylesubsectionstyle命令(必须调整我原来的设置)AtBeginSubsection\tableofcontents

\documentclass[12pt]{beamer}
\usepackage{palatino}

\usetheme{Boadilla}
\useinnertheme{rectangles}
\beamertemplateshadingbackground{gray!5}{gray!20}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{tikz} % http://tex.stackexchange.com/a/27920/48376

\author{Aleksandr L. Blekh}
\title[Ph.D. Dissertation Defense]{Governance and Organizational Sponsorship as Success Factors in Free/Libre and Open Source Software Development}
\subtitle{An Empirical Investigation using Structural Equation Modeling}
%\logo{\includegraphics[scale=0.3]{images/logoNSU}}
\institute[GSCIS / NSU]{Graduate School of Computer and Information Sciences\\
    Nova Southeastern University}
\date{\today}
\setbeamertemplate{navigation symbols}{}

\AtBeginSubsection[]
{
    \begin{frame} %<beamer>
        \frametitle{Outline}
        \setcounter{tocdepth}{2}
        \tableofcontents[
        currentsection,
        currentsubsection,
        sectionstyle=show/hide,
        subsectionstyle=show/shaded/hide
        ]
    \end{frame}
}

\begin{document}

    \maketitle

    \frame{\tableofcontents[hideallsubsections]}    

    \section{Introduction}
    \subsection{Background and Problem}

    \begin{frame}{Background and Problem Sample Slide}
        \begin{itemize}
            \item First point
            \item Second point
            \item Third point
            \item Fourth point
            \item Fifth point
        \end{itemize}
    \end{frame}

    \subsection{Research Goals and Questions}
    \subsection{Relevance and Significance}
    \subsection{Assumptions, Limitations and Delimitations}
    \subsection{Summary}

    \section{Existing Research}
    \subsection{Information Systems Success}
    \subsection{Free/Libre and Open Source Software (FLOSS)}
    \subsection{The Success of FLOSS}
    \subsection{Research Focus}
    \subsection{Governance in FLOSS Projects}
    \subsection{Organizational Sponsorship in FLOSS Projects}
    \subsection{Governance in Sponsored FLOSS Projects}
    \subsection{Detailed Research Model}
    \subsection{Hypotheses}

    \section{Methodology}
    \subsection{Research Design}
    \subsection{Unit of Analysis and Statistical Sampling}
    \subsection{Measurement of Variables}
    \subsection{Data Collection and Validation}
    \subsection{Data Analysis}
    \subsection{Research Phases}
    \subsection{Structural and Measurement Models}
    \subsection{Sample Size Assessment}
    \subsection{Validity and Reliability}

    \section{Results}
    \subsection{Research Workflow: Reproducible Research Approach}
    \subsection{Design of Research Software}
    \subsection{Reformulated Hypotheses}
    \subsection{Data Collection and Sampling}
    \subsection{Exploratory Data Analysis (EDA)}
    \subsection{Exploratory Factor Analysis (EFA)}
    \subsection{Confirmatory Factor Analysis (CFA)}
    \subsection{Structural Equation Modeling (SEM)}
    \subsection{Alternative SEM Models}
    \subsection{Validity and Reliability}
    \subsection{Hypotheses Testing}

    \section{Conclusions}
    \subsection{Discussion}
    \subsection{Implications}
    \subsection{Limitations}
    \subsection{Future Research}
    \subsection{Summary}

\end{document}

不幸的是,还有两个未决问题:1) 目录幻灯片(主大纲)没有标题;2) 代码在进入show/shaded/hide模式之前没有完全显示(无阴影子项)每个后续部分的内容。任何关于如何解决这些问题的建议都将不胜感激(不过不确定 #2 是否可行 - 也许这是可以接受的行为)。

相关内容