Am probleme cu linia de subsol – nu am putut găsi răspunsul.

  1. Cum pot face spațiul dintre numele meu și afilierea (în stânga jos)?
  2. Cum schimb culoarea „Introducere și prezentare generală” (mijloc) pentru a avea aceeași culoare cu restul textul din linia de subsol?

introduceți descrierea imaginii aici

Am acest cod pentru linia de subsol:

\usetheme{default} \usecolortheme{default} \usenavigationsymbolstemplate{} \defbeamertemplate*{footline}{infolines theme} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% \usebeamerfont{author in head/foot}\insertshortauthor(\insertshortinstitute) \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% \usebeamerfont{title in head/foot}\insertshorttitle \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} \end{beamercolorbox}}% \vskip0pt% } \input{tcilatex} \begin{document} \title[Introduction and Overview]{Econ 196, Financial Crises - Morals and Markets} \author[Eric Fischer]{Eric Fischer} \institute[UCSC]{} \date{March 31, 2015} \maketitle 

Comentarii

  • Pentru 1, utilizați \insertshortauthor~(\insertshortinstitute) ( nota (~) și pentru 2, utilizați ...center]{author in head/foot}% pentru toate cele trei beamercolorbox în loc de titlu și dată.
  • Bine ați venit la TeX.SX! Puteți consulta ghidul nostru de pornire pentru a vă familiariza în continuare cu formatul nostru.

Răspuns

  1. După cum sa menționat deja în Formatarea liniei de subsol – spațierea și culoarea scurtului puteți insera un spațiu cu ~

  2. Pentru a seta culoarea titlului: \setbeamercolor{title in head/foot}{fg=structure.fg}

MWE complet:

\documentclass{beamer} \usetheme{default} \usecolortheme{default} \usenavigationsymbolstemplate{} \defbeamertemplate*{footline}{infolines theme} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% \usebeamerfont{author in head/foot}\insertshortauthor~(\insertshortinstitute) \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% \usebeamerfont{title in head/foot}\insertshorttitle \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} \end{beamercolorbox}}% \vskip0pt% } \setbeamercolor{title in head/foot}{fg=structure.fg} \begin{document} \title[Introduction and Overview]{Econ 196, Financial Crises - Morals and Markets} \author[Eric Fischer]{Eric Fischer} \institute[UCSC]{} \date{March 31, 2015} \maketitle \end{document} 

introduceți descrierea imaginii aici

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *