LoginSignup
0
0

More than 3 years have passed since last update.

研究室用 MacTeX導入・各種環境設定・Beamer

Last updated at Posted at 2020-06-05

MacTeXの導入

  1. https://tug.org/mactex/ にアクセスし,「MacTex.pkg」のリンクからインストーラをダウンロード
  2. ダウンロードしたインストーラ,「mactex-(バージョン).pkg」を起動しMacTeXをインストール
  3. インストーラをゴミ箱に入れる

TeXShopの環境設定

TeXShopで日本語を使うため,設定を次のように変更します.

  1. 環境設定から設定プロファイルを「pTeX(ptex2pdf)」に変更 スクリーンショット 2020-06-05 9.01.10.png
  2. 環境設定>内部設定タブ>パス設定 から
    • (pdf)TeX : /Library/TeX/texbin
    • Distiller : /usr/local/bin スクリーンショット 2020-06-05 9.01.35.png

LaTeXiTの環境設定

LaTeXiTで日本語を使うため,設定を次のように変更します.

  1. 環境設定>プログラム>コマンド から「latex+dvipdf」に変更
  2. 環境設定>プログラム>コマンド から
    • pdflatex : /Library/TeX/texbin/pdflatex
    • LaTeX : /Library/TeX/texbin/platex
    • dvipdf : /Library/TeX/texbin/dvipdfmx
    • Ghostscript(gs) : /usr/local/bin/gs
    • ps2pdf : /usr/local/bin/ps2pdf スクリーンショット 2020-06-05 9.02.00.png

Beamerでプレゼンテーション作成

beamer パッケージはTeXに標準で準備されており,文書クラスをbeamerとすれば利用できる.
Beamerでは,各スライドの内容はframe環境内に記述する.

\documentclass[dvipdfmx]{beamer}
\begin{document}

\begin{frame}
    1枚目のスライドの内容
\end{frame}

\begin{frame}
    2枚目のスライドの内容
\end{frame}  

\end{document}

Beamerには多くの機能・テーマが用意されており,多様なスライドを作成することができる.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0