如何在 Mac OS X lion 中安装 Beamer?

如何在 Mac OS X lion 中安装 Beamer?

我是 LaTeX 的新手,需要beamer这个软件包来进行 PowerPoint 演示。

我该如何安装它?我读过类似这样的内容:http://www.arthurkoziel.com/2008/06/02/how-to-install-latex-beamer-for-tex-live-on-mac-os-x/

在终端中尝试过,仍然出现错误:

! LaTeX Error: File `beamerthemeumbc3.sty' not found.

我认为我对目录的操作有误?我已将 beamer 拖入应用程序内的 TeX 文件夹中。

希望有人能告诉我在终端中输入的命令?

答案1

您需要下载 UMBC 主题,具体说明如下沃纳 4 月 17 日的回应

UBMC 主题附带的自述文件不太明确:

  1. 解压档案,你会得到一个文件夹Beamer,将其重命名为UMBC
  2. 在菜单选择中, 选择前往文件夹++ShiftG输入~/Library
  3. 如果您有一个名为的文件夹texmf,请打开它,如果没有,请创建它。
  4. 如果里面有一个名为的文件夹tex,请打开或创建它。
  5. 现在,如果您里面有一个名为的文件夹latex,请打开或创建它。
  6. 最后:将UMBC文件夹放入文件夹中latex。就这样。

下面是一个例子:

\documentclass{beamer}
\usetheme{umbc4}    
\begin{document}

\begin{frame}
\frametitle{Overlaying declarations and graphics}

\begin{theorem}<1->
Every finite distributive lattice can be embedded in a boolean lattice.
\end{theorem}
\begin{proof}<3->
Use join-irreducible elements.
\end{proof}
\end{frame}
\end{document} 

在此处输入图片描述

答案2

UMBC 主题不附带beamer因此不属于基本发行版。您需要下载了这些并分别安装。还有一个自述描述了并行安装的过程beamer

CONTENTS:

Here is the contents of the archive, shown as a directory tree:

beamer
|-- beamer-umbc.readme
`-- themes
    |-- inner
    |   |-- beamerinnerthemeumbcboxes.sty
    |   `-- beamerinnerthemeumbctribullets.sty
    |-- outer
    |   `-- beamerouterthemeumbcfootline.sty
    `-- theme
        |-- beamerthemeumbc1.sty
        |-- beamerthemeumbc2.sty
        |-- beamerthemeumbc3.sty
        `-- beamerthemeumbc4.sty

To install, just unpack and merge the archive into your existing
beamer directory tree.

You may need to run texhash to make your TeX installation aware of
the new files.

按照上述方法要求您将新主题存储在

/usr/local/texlive/2011/...

建议将此信息存储在本地~/Library/texmf/文件夹中,并避免干扰 TDS(TeX 的目录结构)。

相关内容