將投影機代碼轉換為文章/書籍代碼

將投影機代碼轉換為文章/書籍代碼

我在多個網站上看到有關將 beamer 檔案匯出為文章 pdf 之間的轉換,例如https://gitlab.com/benoitldr/beamerarticle-teacher

我遇到的問題是,大約三年前,我創建了許多投影機幻燈片,但現在我想將它們完全轉換為乳膠文章類或乳膠書籍類,以更簡單的為準。

下面是我之前完成的範例程式碼。正如你所看到的,當時,我認為做很多事情\uncover是個好主意,但在這一點上,試圖將它們全部改變是非常麻煩的。

有任何想法嗎?

\documentclass[12pt]{beamer}
\usepackage{etex}
\usepackage{verbatim}
\usepackage{pstricks-add}
\usepackage{amsmath}


\usetheme{CambridgeUS}
\begin{document}
\beamersetuncovermixins{\opaqueness<1>{25}}{\opaqueness<2->{15}}
\setbeamercovered{invisible}
\setbeamerfont{alerted text}{series=\bfseries}

\title{Primes \& Prime Factorisation}
\subtitle{Factors \& Multiples}  
\author[Eugene]{Eugene}
\institute[SS]{\normalsize{Singapore School}}
\date{\today} 

\section*{Singapore School}
\subsection*{Introduction}

\begin{frame}[allowframebreaks]
\titlepage
\end{frame}
\subsection*{TOC}

\begin{frame}
\frametitle{Table Of Contents}
\tableofcontents[pausesubsections]
\end{frame} 

\section{Recall}


\subsection{Factors}

\begin{frame}

\begin{center}\Large{Recall}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Factors}}\end{center}

\end{frame}

\begin{frame}
\frametitle{Factors}
\begin{block}{Recall: Factors}
\uncover<2->{\alert{Factors} are numbers that can divide the original number.\\
\uncover<3->{\footnotesize Tip: Smaller or equal to original number}}
\end{block}

\uncover<3->{\begin{exampleblock}{Example}}
\uncover<4->{Factors of 16:} \uncover<5->{1}\uncover<6->{, 2}\uncover<7->{, 4}\uncover<8->{, 8}\uncover<9->{, 16}
\end{exampleblock}

\end{frame}

\subsection{Multiples}

\begin{frame}

\begin{center}\Large{Recall}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Multiples}}\end{center}

\end{frame}


\begin{frame}
\frametitle{Multiples}
\begin{block}{Recall: Multiples}
\uncover<2->{\alert{Multiples} are numbers that can be divided by the original number.\\
\uncover<3->{\footnotesize Tip: Bigger or equal to original number}}
\end{block}

\uncover<3->{\begin{exampleblock}{Example}}
\uncover<4->{Multiples of 16:} \uncover<5->{16}\uncover<6->{, 32}\uncover<7->{, 48}\uncover<8->{, 64, $\dots$}
\end{exampleblock}

\end{frame}


\section{Concept}

\subsection{Primes}


\begin{frame}

\begin{center}\Large{Concept}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Primes}}\end{center}

\end{frame}


\begin{frame}
\frametitle{Primes}
\begin{block}{Concept: Primes}
\uncover<2->{\alert{Primes} are whole numbers with only 2 factors, 1 and itself.\\
\uncover<3->{\footnotesize Tip: Must be greater than 1}}
\end{block}
\uncover<3->{\begin{exampleblock}{Examples}}
\uncover<4->{Examples: 2}\uncover<5->{, 3}\uncover<6->{, 5}\uncover<7->{, 7}\uncover<8->{, 11}\uncover<9->{, 13, $\dots$}\\
\end{exampleblock}
\end{frame}

\subsection{Composite Numbers}

\begin{frame}

\begin{center}\Large{Concept}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Composite Numbers}}\end{center}

\end{frame}


\begin{frame}
\frametitle{Composite Numbers}
\begin{block}{Concept: Composite Numbers}
\uncover<2->{\alert{Composite numbers} are whole numbers with more than 2 factors.}
\end{block}
\uncover<3->{\begin{exampleblock}{Examples}}
\uncover<4->{Examples: 4}\uncover<5->{, 6}\uncover<6->{, 8}\uncover<7->{, 9}\uncover<8->{, 10}\uncover<9->{, 12, $\dots$}\\
\end{exampleblock}
\end{frame}

\subsection*{Questions}

\begin{frame}

\begin{center}\Large{Concept}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Questions}}\end{center}

\end{frame}



\begin{frame}
\frametitle{Questions}
\begin{exampleblock}{Concept: Questions}
Classify the following numbers into primes or composite numbers:
\begin{enumerate}
\item 20
\item 29
\item 1
\item 37
\item 0
\end{enumerate}
\end{exampleblock}
\end{frame}


\subsection{Index Notation \& Prime Factorisation}


\begin{frame}

\begin{center}\Large{Concept}\end{center} \vspace{0.2 cm}
\begin{center}\Large{\red{Index Notation \& Prime Factorisation}}\end{center}

\end{frame}



\begin{frame}
\frametitle{Index Notation}
\begin{block}{Concept: Index Notation}
\uncover<2->{\alert{Index notation} means expressing the product of terms using powers.}
\end{block}
\uncover<3->{\begin{exampleblock}{Example}}
\uncover<4->{Write the index notation of $7\times7\times7$:}\uncover<5->{ $7^3$}\\
\uncover<6->{Write the index notation of $2\times2\times2\times2\times2$:}\uncover<7->{$= 2^5$}\\
\end{exampleblock}
\end{frame}


\begin{frame}
\frametitle{Prime Factorisation}
\begin{block}{Concept: Prime Factorisation}
\uncover<2->{\alert{Prime factorisation} means expressing a composite number as a product of its prime factors.}
\end{block}
\end{frame}

\begin{frame}
\frametitle{Prime Factorisation}

\begin{exampleblock}{Example 1: Factor Tree }
\uncover<2->{Find the prime factorisation of 210.}\\



\uncover<3->{
\begin{align*}
210&=2\times 3\times 5\times 7
\end{align*}}


\end{exampleblock}
\end{frame}


\begin{frame}
\frametitle{Prime Factorisation}

\begin{exampleblock}{Example 2: Factor Tree }
\uncover<2->{Find the prime factorisation of 140, leaving your answer in \textbf{index notation}.}\\

\uncover<3->{
\begin{align*}
140&=2^2\times 5\times 7
\end{align*}}

\end{exampleblock}
\end{frame}



\section*{Conclusion}
\subsection*{Closure}

\begin{frame}
\frametitle{Closure}
\tableofcontents[pausesubsections]
\end{frame} 


\end{document}

答案1

beamerarticle您可以使用第 21.2.1 節中所述的套件這本投影機手冊。當您使用其他文件類別時,它會模擬投影機特定的命令。

將文件的第一行替換為這些

\documentclass[12pt]{article}
\usepackage[noxcolor]{beamerarticle}

編輯:哦,歸功於這個部落格指向正確的方向。

相關內容