.png)
Venho aqui em busca de ajuda pois tentei de todas as formas corrigir o erro da figura anexa. Ao se tratar de um título longo, a segunda linha sofre um recuo desnecessário. Eu queria fazer com que a segunda linha se alinhasse igualmente com a primeira linha. Estou usando o tema Goettingen.
Antes fiz algumas alterações no layout do tema Goettingen. Embora extenso, mas esta é a melhor maneira de relatar meu problema com mais precisão. Suspeito que a correção para esse problema possa estar associada a
\setbeamertemplate{frametitle}{\hspace{-0,4cm}\insertframetitle}
Meu código é o seguinte:
\documentclass[xcolor={dvipsnames}]{beamer}
\usetheme[left,width=1.5cm]{Goettingen}
\usepackage[brazil]{babel}
\usepackage{lmodern}
\hypersetup{pdfpagemode=FullScreen}% Use a file in the directory solutions instead.
\usefonttheme[onlylarge]{structurebold}
\setbeamerfont*{frametitle}{size=\Large,series=\bfseries}
\setbeamerfont*{caption}{size=\scriptsize}
\setbeamertemplate{itemize items}[circle]
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{navigation symbols}{}
%\setbeamertemplate{frametitle}[default][left]
\usepackage{booktabs,siunitx}
\sisetup{%
output-decimal-marker={,},
}
\usepackage{tikz}
\usetikzlibrary{arrows}
\tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]
% Vertical displacement frame title
\addtobeamertemplate{frametitle}{\vspace*{-0.3cm}}{\vspace*{0.0cm}}
% Horizontal displacement frame title
\setbeamertemplate{frametitle}{\hspace{-0.4cm}\insertframetitle}
% Color scheme for outer elements: use background colors
\usecolortheme{default} % beaver - whale - default
% Layout scheme for inner elements: rounded elements
\useinnertheme[shadow=false]{rounded}
% Color scheme for inner elements: use foreground colors
\usecolortheme{orchid} % orchid
% Itemize items: default (triangle), circle, square, ball
\setbeamertemplate{itemize items}[circle]
% Enumerate items: default, circle, square, ball
\setbeamertemplate{enumerate items}[circle]
% Enumerate sections/subsections in table contents: default, circle, square, ball
\setbeamertemplate{sections/subsections in toc}[circle]
% Outline: default, sections numbered, subsections numbered, circle, square, ball, ball unnumbered
\setbeamertemplate{sections/subsections in toc}[circle]
% General blocks:
\setbeamertemplate{blocks}[rounded]
% Title page:
%\setbeamertemplate{title page}[default][colsep=-4bp,rounde=true]
% Part page:
\setbeamertemplate{part page}[default][colsep=-4bp,rounded=true]
% Navigation symbols:
\setbeamertemplate{navigation symbols}{}
%font size sections/subsections in table contents
\setbeamerfont{section number projected}{size=\normalsize}
% Default color font for sections/subsections
\definecolor{structure}{rgb}{51,51,178}
\date{}
%======================START DOCUMENT=======================
\begin{document}
\begin{frame}{Anomalias, Filtragem e Significância Estatística}
\end{frame}
\end{document}
Responder1
Você pode inserir o título do quadro em um arquivo parbox
.
Para este tema, a barra lateral tem largura de 2 cm, então este
\setbeamertemplate{frametitle}{\hspace{-0.4cm}\parbox{\dimexpr\linewidth-2cm}{\insertframetitle}}
alcançará o resultado desejado
ATUALIZARapós a pergunta de acompanhamento
Para deslocar o título para baixo adicione\vspace{<lenght>}
\setbeamertemplate{frametitle}{\vspace*{1cm}\hspace{-0.4cm}\parbox{\dimexpr\linewidth-2cm}{\insertframetitle}}
ou usar
\addtobeamertemplate{frametitle}{\vspace*{1cm}}{\vspace*{0.0cm}}
Para alterar o salto da linha de base é necessário modificar a fonte do título do quadro
\setbeamerfont{frametitle}{size*={14}{14}}
onde é usado size*={<font size>}{<baseline skip>}
.
Normalmente, o salto da linha de base é 1,2 vezes o tamanho da fonte.