質問

プレゼンテーションにはいくつかのフレームがあります。ここでは、フィギュア用のスペースが必要なので、標準の見出し/フットラインを取り除きたいと思います。 \includegraphics. 。これらの数字はスペース全体を取ります。今私はしたいです 右下隅にあるフレーム番号を挿入します.

ノート。カスタム見出し/フットラインで標準テーマを使用しています。動作する最小限の例はこちらにあります:http://rapidshare.com/files/429008846/beamer.zip

これはコードです:

\documentclass{beamer}
\usepackage{german}
\usepackage{graphicx}
\usepackage{color}
\usepackage{colortbl}
\usepackage{pgf}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
%new color
\definecolor{Gray}{gray}{0.9}
\def\textboxcolor{Gray}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
\setbeamertemplate{headline}{%
\hspace{0.01\textwidth}\begin{minipage}[t]{0.88\textwidth}
\vspace{0.1cm}
\begin{tabular}{p{0.5\textwidth}p{0.4\textwidth}p{0.1\textwidth}}
Organisation - Institution&%
&%
\includegraphics[width=1cm]{pictures/logos/logo_ohne_text.jpg}\\
\hline\\
\end{tabular}
\end{minipage}}
%----------------------------------------------------------------------
\setbeamertemplate{footline}{%
\hspace{0.01\textwidth}\begin{minipage}[t]{0.88\textwidth}%
\begin{tabular}{p{0.3\textwidth}p{0.35\textwidth}p{0.2\textwidth}p{0.1\textwidth}}%
\rowcolor[rgb]{0.8,0.8,0.8}\hline%
\raggedright\begin{minipage}{0.3cm}\includegraphics[width=0.30cm]{pictures/logos/quadrat.jpg}\end{minipage}\ \insertauthor &%
\centering \    \usebeamerfont{date in head/foot}\insertshortdate{}& &%
Seite \insertframenumber{}/\inserttotalframenumber\\
\hline\\
\end{tabular}
\end{minipage}}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------
    \begin{frame}{Normal Frame}
      \begin{block}{Blocktitle}
        Text
      \end{block}
    \end{frame}
%----------------------------------------------------------------------
    \begin{frame}[plain]{Frame with Images}
       \begin{center}
            \includegraphics[height=0.5\textheight]{pictures/cf.png}
            \includegraphics[height=0.5\textheight]{pictures/cf.png}\\
            \includegraphics[height=0.5\textheight]{pictures/cf.png}
            \includegraphics[height=0.5\textheight]{pictures/cf.png}
        \end{center}
        \begin{pgfpicture}{0}{0}{12.8cm}{9.6cm}
            \pgfputat{\pgfxy(10.62,1.05)}{\pgfbox[left,base]{ %
              \tiny{\insertframenumber{}/\inserttotalframenumber}}}
        \end{pgfpicture}
    \end{frame}
%----------------------------------------------------------------------
\end{document}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
役に立ちましたか?

解決

私の元の答えで、私はあなたが投稿したいくつかの写真を要求しました。どうもありがとう;それらはとても役に立ちました。


スライドはGrazテーマを使用しているように見えます[1]。それをダウンロードして、このソリューションを思いつきました。これを試してください(私の usetheme {graz}を、おそらく少し変更したので、あなたがあなたのバージョンと呼んだものを何でも置き換えます):

\documentclass{beamer}
\usepackage{pgf} % make sure you use this!
\setbeamertemplate{navigation symbols}{}
\usetheme{Graz}

\pgfdeclareimage[height=0.5cm]{university-logo}{images/uni_logo}
\logo{\pgfuseimage{university-logo}}

\begin{document}

\begin{frame}[plain]{Test slide}
  \begin{pgfpicture}{0}{0}{12.8cm}{9.6cm} % see Note 1

    \pgfputat{\pgfxy(10.62,1.05)}{\pgfbox[left,base]{ % see Note 2
              \tiny{\insertframenumber{}/\inserttotalframenumber}}}

   \pgfputat{\pgfxy(0.4,1.1)}{\pgfimage[width=0.95\textwidth]{figure}} % see Note 3

  \end{pgfpicture}
\end{frame}

\end{document}

注1: PGF [2]に不慣れな場合、構文は次のとおりです。

\begin{pgfpicture}{start x}{start y}{end x}{end y}

したがって、おそらく{0} {0} {0} {12.8} {1.05}を持つPGF画像だけで逃げることができます。 (0-> 1.05cm yの高さ)。

ただし、そのままにしておくと、PGFを使用して画像を配置できます。それはあなた次第です。フレーム全体のサイズを残すことは何にも影響しません。

注2: これらの座標を変更してください。デフォルトのスライドとこれを繰り返して、2つの間のページ#/TOTページのリストに識別可能な違いがないまでそれらの座標を調整することができます。

1つのメモは、テキストの追加を開始し、フレームに何を持っていると、 わずか PGFBOXの配置がノックされる可能性があります。これを行う場合は、フィギュアでそれを好きなフレームを取得し、 pfgputatの座標をやり直して、好きな場所に取得します。

注3: 上記のリンクから数字のスクリーンショットを撮り、PGFを使用してフレームに配置しました。あなたのタイトルは整列されたままになりますが、私のものはデフォルトの中心的な位置にありますが、全体的にこれがあなたが望むもののように見えることを願っています(上記のラテックスコマンドがこれを生成しました): 画像.

私が言ったように、さまざまな座標を微調整して、必要な場所にすべてを取得してください。


更新11/5:

注2で提案したように、フレームに物事を追加すると、配置が台無しになる可能性があります。私はあなたの更新されたコードを見て、PGFをうまくプレイしました。 includggraphicsコマンドによって引き起こされたダウンシフトを克服することだけであるため、おそらく「ハック」と見なされるべきです。基本的に、この方法でグラフィックスが配置されている場所にpgfboxが存在できないように見えます。そのため、スライドに「人工的に」高いボックスを作成して表示するようにする必要があります...しかし、これは機能します!私は実際にそれを微調整したので、フルスクリーンモードに入った場合、最初のスライドで「Seite 1/2」と2番目のスライドで「2/2」の間にシフトはまったくないはずです。ここにあります:

\begin{pgfpicture}{0}{0}{12.8cm}{9.6cm}
    \pgfputat{\pgfxy(10.585,9.74)}{\pgfbox[left,base]{ %
      \tiny{\insertframenumber{}/\inserttotalframenumber}}}
\end{pgfpicture}

どうなるか教えてください!


1] www。 IST。タグラズ。 at/staff/weiglhofer/misc/tugbeamer/

2] CTANのPGFマニュアル:www。 ctan。 base/docのorg/tex-archive/graphics/pgf

他のヒント

別のアプローチは、別のレイヤーを一時的に使用して、ナビゲーションシンボルなどを表示することです。これには、このレイヤーがフレームコンテンツの上にレンダリングされるため、フルスクリーン画像でも表示されるという追加の利点があります。

\documentclass[xcolor={table}]{beamer}

\usepackage{pgf}

%new color
\definecolor{Gray}{gray}{0.9}
\def\textboxcolor{Gray}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
\setbeamertemplate{headline}{%
\hspace{0.01\textwidth}\begin{minipage}[t]{0.88\textwidth}
\vspace{0.1cm}
\begin{tabular}{p{0.5\textwidth}p{0.4\textwidth}p{0.1\textwidth}}
Organisation - Institution&%
&%
\includegraphics[width=1cm]{example-image-duck}\\
\hline\\
\end{tabular}
\end{minipage}}
%%----------------------------------------------------------------------
\setbeamertemplate{footline}{%
\hspace{0.01\textwidth}\begin{minipage}[t]{0.88\textwidth}%
\begin{tabular}{p{0.3\textwidth}p{0.35\textwidth}p{0.2\textwidth}p{0.1\textwidth}}%
\rowcolor[rgb]{0.8,0.8,0.8}\hline%
\raggedright\begin{minipage}{0.3cm}\includegraphics[width=0.30cm]{example-image}\end{minipage}\ \insertauthor &%
\centering \    \usebeamerfont{date in head/foot}\insertshortdate{}& &%
Seite \insertframenumber{}/\inserttotalframenumber\\
\hline\\
\end{tabular}
\end{minipage}}

\begin{document}

\begin{frame}{Normal Frame}
    \begin{block}{Blocktitle}
    Text
  \end{block}
\end{frame}

\begingroup
    \setbeamertemplate{navigation symbols}{%
        \color{black}%
      \tiny%
      \setbeamertemplate{page number in head/foot}[totalpagenumber]%
      \usebeamertemplate{page number in head/foot}%
    }
    \begin{frame}[plain]{Frame with Images}
        \centering
        \includegraphics[height=0.5\textheight]{example-image}%
        \includegraphics[height=0.5\textheight]{example-image}

        \includegraphics[height=0.5\textheight]{example-image}%
        \includegraphics[height=0.5\textheight]{example-image}
    \end{frame}
\endgroup

\end{document}
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top