Beamer海報範本標題標誌問題

Beamer海報範本標題標誌問題

我正在使用背面的投影機海報範本: https://www.overleaf.com/latex/examples/quadratic-function/hjbvztxdrvwf#.WC_FPNyuMgc

不幸的是,在樣式檔案中,標題(左角或右角)中沒有提供學院徽標。誰能幫我解決這個問題嗎?

答案1

您可以將徽標作為\title.然而,標題涉及 PDF 的不同區域,特別是 PDF 屬性。因此,我們使用 提供標題兩次\texorpdfstring{<tex>}{<pdf>}<tex>包含所有“凌亂的徽標位置”,同時<pdf>包含乾淨的標題 -Quadratic Function在本例中。

在此輸入影像描述

\title{%
  \texorpdfstring{%
    \makebox[\linewidth]{%
      \makebox[0pt][l]{%
        \raisebox{\dimexpr-\height+\baselineskip}[0pt][0pt]
          {\includegraphics[height=2\baselineskip]{example-image-a}}% Left logo
      }\hfill
      \makebox[0pt]{Quadratic Function}%
      \hfill\makebox[0pt][r]{%
        \raisebox{\dimexpr-\height+\baselineskip}[0pt][0pt]
          {\includegraphics[height=2\baselineskip]{example-image-b}}% Right logo
      }%
    }%
  }
  {Quadratic Function}} % Poster title

如果您只需要一個徽標,只需拆除該\includegraphics[..]{...}結構即可。

相關內容