2013-05-29 / 最終更新日時 : 2019-08-22 senooken TeX 文書クラスで分岐 FacebooktwitterHatenaPocketCopy 以下の書式である文書クラスのときにだけ有効なコマンドを設定できる。 \@ifclassloaded{} {} {}% http://tex.stackexchange.com/questions/73/which-document-class-is-being-used beamerでは目次や節見出しの設定系コマンドをarticleと同じように使うとエラーが起きるのでbeamerでスライドを作るたびにいちいちコメントアウトしていてかなり面倒だったがこれで解放された!! 関連 FacebooktwitterHatenaPocketCopy コメントを残す コメントをキャンセルメールアドレスが公開されることはありません。 ※ が付いている欄は必須項目ですコメント ※ 名前 ※ メール ※ サイト 次回のコメントで使用するためブラウザーに自分の名前、メールアドレス、サイトを保存する。 新しいコメントをメールで通知 新しい投稿をメールで受け取る Δ To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)