빔머 포스터의 제목

빔머 포스터의 제목

분명히 Beamerposter는 제목을 자동으로 생성하지 않으므로 수동으로 생성해야 합니다. 그러나 아래 MWE는 작동하지 않습니다! 뭐가 잘못 되었 니? 이 포스터 디자인을 덜 고통스럽게 만들려면 어떻게 해야 합니까? 나는 상단에 큰 중앙 제목을 원합니다!

\documentclass{beamer}

\usepackage[size=custom,height=105,width=80,scale=1]{beamerposter}

\begin{document}

\begin{frame}{}
  \begin{block}
    \VERYHuge A Novel Algorithm for #SAT
  \end{block}
  \begin{columns}[t]

    \begin{column}{.45\linewidth}
      \begin{block}{FOOBAR}
        \VERYHuge foobar
      \end{block}
    \end{column}

    \begin{column}{.45\linewidth}
      \begin{block}{FOOBAR}
       \VERYHuge foobar
      \end{block}
    \end{column}

  \end{columns}

\end{frame}

\end{document}

답변1

#--> 로 변경합니다 \#. 해시태그 문자는 특수 문자 코드와 함께 #특별한 기능을 가지고 있습니다 . 대신 LaTeX제어 시퀀스(또는 원하는 경우 매크로라고 부름)가 \#문자를 "조판"하는 데 할당됩니다(단독은 #다르게 해석되기 때문입니다).

lone은 #(주로) 매크로 정의 내에서 사용됩니다. 이는 예를 통해 가장 잘 설명됩니다.

우리가 가지고 있다고 가정 해 봅시다 \newcommand\mymacro[2]{Typeset the first argument first, #1\par and then the second argument: #2}. 이것의 의미는 \mymacro다음과 같이 매크로를 호출할 때 첫 번째 중괄호 세트 내에서 가 입력된 매크로 정의의 모든 항목을 대체한다는 것 \mymacro{foo}{bar}입니다 . 마찬가지로 는 으로 대체됩니다 . 그러면 출력은 . 대괄호 옆의 숫자 (숫자 2)는 LaTeX를 알려주는 숫자입니다.foo#1#2barTypeset the first argument first, foo\par and then the second argument: bar\mymacro[2]얼마나LaTeX는 예상되는 매개변수 수를 미리 알 수 없기 때문에 매개변수는 매크로에 있습니다.

\fontsize글꼴 크기를 더 크게 만들려면 두 개의 인수를 사용하는 명령을 사용하여 글꼴 크기를 수동으로 제어할 수 있습니다 . 첫 번째 인수는 텍스트의 포인트 크기와 관련이 있고 두 번째 인수는 줄 간격과 관련됩니다.

제목을 중앙에 배치하기 위해 환경을 사용했습니다 center. 내 생각에는 block당신에게 별로 도움이 되지 않는 것 같아요...

포스터 상단에 제목을 배치하기 위해 \vfill다음과 같은 방식으로 현재 페이지 요소의 균형을 맞추는 명령을 사용했습니다.

로 구분된 두 개의 페이지 요소가 있는 경우 두 요소를 가능한 한 최대로 분리합니다( 지정된 \vfill지점에서 페이지를 "세로로 채웁니다" ). \vfill여러 명령을 사용하는 경우 양쪽에 동일한 양의 채우기를 적용하여 \vfill전후에 있는 특정 요소를 중앙에 배치할 수 있습니다.

\documentclass{beamer}

\usepackage[size=custom,height=105,width=80,scale=1]{beamerposter}

\begin{document}

\begin{frame}{}
  \begin{center}
    \protect\fontsize{100pt}{100pt}\protect\selectfont A Novel Algorithm for \#SAT
  \end{center}

  \vfill
  \begin{columns}[t]
    \begin{column}{.45\linewidth}
      \begin{block}{FOOBAR}
        \VERYHuge foobar
      \end{block}
    \end{column}

    \begin{column}{.45\linewidth}
      \begin{block}{FOOBAR}
       \VERYHuge foobar
      \end{block}
    \end{column}

  \end{columns}
  \vfill

\end{frame}

\end{document}

관련 정보