我正在尝试增加标题部分的行距,我觉得我尝试了很多方法,但似乎都没有用。每当我使用时\fontsize{32}{36}
,第二个参数似乎都不起作用(但第一个参数确实会改变大小)。
此外,顺便说一句,如果有人知道如何让该部分不位于海报的中心,而是直接位于大学下方,那就太好了。
这是.tex
:
\documentclass[final]{beamer}
\usepackage[orientation=portrait,scale=1.4,size=a1,debug]{beamerposter}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\mode<presentation>{\usetheme{I6pd2}}
\usepackage{microtype}
\listfiles
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Simulating Adiabatic Aperiodic Poling Of A Structure}
\author{Bob}
\institute[Uni]{University}
\date[January 20, 2014]{January 20, 2014}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{frame}
\begin{columns}
\begin{column}{.9\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{block}{Introduction}
Simulation of lithium niobate poling investingating adiabatically varying the period and dutycycle of the poling to achieve effective frequency mixing.
\end{block}
\vfill
\begin{block}{Feature Extraction}
abc
\end{block}
\vfill
\begin{block}{Feature Description}
\begin{itemize}
\item Scale Invariant Feature Transform (SIFT)
\begin{itemize}
\item 128-dimensional descriptor, histogram of gradients, scale invariant
\end{itemize}
\item Speeded Up Robust Features (SURF)
\begin{itemize}
\item 64-dimensional descriptor, histogram of gradients, scale invariant
\end{itemize}
\item face recognition: invariance w.r.t. rotation is often not necessary
\begin{itemize}
\item rotation dependent upright-versions U-SIFT, U-SURF-64, U-SURF-128
\end{itemize}
\end{itemize}
\end{block}
\end{beamercolorbox}
\end{column}
\end{columns}
\end{frame}
\end{document}
这是.sty
:
\ProvidesPackage{beamerthemeI6pd2} % this style was created by Thomas Deselaers an
Philippe Dreuw
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tangocolors}
\selectcolormodel{cmyk}
\mode<presentation>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{darkTeal}{RGB}{24,75,82}
\setbeamercolor{headline}{fg=tabutter,bg=darkTeal}
\setbeamercolor{footline}{fg=tabutter, bg=white}
\setbeamerfont{footline}{size=\large,series=\tt}
\setbeamercolor{separation line}{bg=green}
\setbeamercolor{title in headline}{fg=white}
\setbeamercolor{author in headline}{fg=black}
\setbeamercolor{institute in headline}{fg=black}
\setbeamercolor{framesubtitle}{fg=ta3orange, bg=ta2gray}
\setbeamercolor{author in head/foot}{fg=ta2orange, bg=white}
\setbeamercolor{title in head/foot}{fg=ta2orange, bg=white}
\setbeamercolor*{normal text}{fg=tachameleon, bg=white}
\setbeamercolor*{block body}{bg=ta3aluminium,fg=black}
\setbeamercolor*{block title}{fg=taorange,bg=ta2gray}
\setbeamerfont{block title}{size=\huge,series=\bfseries}
\setbeamerfont{block body}{size=\Large}
\setbeamercolor{upper separation line head}{fg=ta2orange}
% equal font sizes for all levels
%\setbeamerfont{itemize/enumerate body}{size=\normalsize}
%\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
%\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}
%\setbeamercolor{alerted text}{fg=ta3gray}
%\setbeamercolor{example text}{fg=taorange}
\setbeamercolor{structure}{fg=ta3skyblue}
\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{navigation symbols}{} % no navigation on a poster
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{
\vskip1cm
\begin{beamercolorbox}[ht=2.0cm,dp=1.0cm,center,leftskip=-1em]{block title}%
\usebeamerfont*{block title}%
{\phantom{Gg}\insertblocktitle}% phantom because of baseline problem
\end{beamercolorbox}%
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[sep=0.5ex,vmode]{block body}%
\vskip0.3cm
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
}
\setbeamertemplate{block end}{
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth]{headline}
\vskip2cm
\begin{columns}[T]
\begin{column}{.02\paperwidth}
\end{column}
\begin{column}{.4\paperwidth}
\vskip8ex
\begin{center}
\includegraphics[width=\columnwidth]{CudosLogo.pdf}
\end{center}
\vskip2ex
\end{column}
\begin{column}{.5\paperwidth}
\vskip4ex
\raggedleft
\usebeamercolor{title in headline}{\color{fg}\centering\textbf{{\fontsize{100pt}{50}\selectfont{\inserttitle\\[1ex]}}}}
\end{column}
\begin{column}{.02\paperwidth}
\end{column}
\end{columns}
\vspace{2cm}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
\rule{0pt}{30pt}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{text under separation line}
\begin{center}
\vspace{1cm}
\usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}}
\vspace{0.5cm} \\
\usebeamercolor{institute in headline}{\color{fg}\Large{\insertinstitute}}
\end{center}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
\rule{0pt}{5pt}
\end{beamercolorbox}
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth]{author in head/foot}
\begin{center}
\includegraphics[width=\columnwidth]{UniLogos.pdf}
\end{center}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Display a grid to help align images ... and it looks nice with this color scheme
%\beamertemplategridbackground[1cm]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>
答案1
尝试将标题放在minipage
\setbeamerfont{title}{series=\bfseries,size=\fontsize{100}{50}}
\begin{minipage}[b][0mm][t]{.45\paperwidth}%
\usebeamercolor[fg]{title in headline}{%
\usebeamerfont{title}{%
\normalbaselines%
\inserttitle\par%
}%
}%
\end{minipage}%