New answers tagged

2

The following example patches the \frametitle command to update the length \titlelen that gives the length of the title under the current theme's font: \documentclass{beamer} \let\Tiny\tiny% http://tex.stackexchange.com/a/94159/5764 \usepackage{etoolbox} \makeatletter \newlength{\titlelen} \tracingpatches \patchcmd{\beamer@@frametitle}% <cmd> ...


2

First, why not just use \insertframetitle? Second, I don't think \beamer@frametitle is defined outside of a frame. That's why you probably get the error message. Third, you should also consider the font (shape, size, ...) in your calculations. Have a look at this example. \documentclass{beamer} \newlength\myframetitlelength \begin{document} ...


1

By replacing \insertsubtitle with \visible<2>{\insertsubtitle} in the default definition of the titlepage, the subtitle gets only visible on the second slide, but its space is already reserved on the first slide. For more information, I recommend the the section about overlays in the beameruserguide. \documentclass{beamer} \usetheme{default} ...


1

I keep on generating the numbered blank front page upon adding a one-page pdf as external material that served as the document's cover page. I was able to remove the blank front page when I added an even number of pdf pages, indicating the addition of two pages in the options tab with the command: pages={1-2} I am using the Tufte template, with two-sided ...


0

You can alter the vertical space between title and the edge of the poster by passing the titletotopverticalspace option to \maketitle. However, I wouldn't recommend to fully remove the spacing as you asked, and as I did below, because if you want to print the poster, the printer could cause trouble, because its unlikely that it accurately prints to the edge ...


0

Looks like this is not as straightforward as it seems at first sight. The title is printed with \maketitle, so it is a little bit more complicated to alter the fontsize of the title, than for the other blocks. To change the settings you can make use of the \settitle command. However, this seems to override all settings of the title block, which probably ...


0

Using the observation that egreg make in his comment on Werner's answer, we can get a very simple solution: \documentclass[12pt,twocolumn]{article} \usepackage{lipsum} \title{Untitled} \author{Me} \begin{document} \makeatletter \@twocolumnfalse \maketitle \@twocolumntrue \makeatother \lipsum[1-2] \end{document} All we had to do was pretend we're in one ...


1

The "content" of \title and \subtitle is stored in the "internal" commands \@title and \@subtitle. To use them (not using \maketitle or similar command) in the document, you have to use \makeatletter (and \makeatother) \documentclass{scrreprt} \title{Title} \subtitle{Subtitle} \begin{document} \makeatletter\@title, \@subtitle\makeatother \end{document}


3

You can also use \texorpdfstring from hyperref as the problem is (generally speaking) based on the use of formatting commands while harvesting the meta data. That way you prevent that \alert gets ever in touch with pdf-specific procedures. The compiler usually don't likes to see anything but plain text there -- especially with TikZ commands it becomes really ...


3

If \title is defined after \begin{document} but before \maketitle, the problem is solved. \documentclass{beamer} \usepackage[utf8]{inputenc} \usetheme{m}%\usetheme{m}%-->problem \usepackage{tikz} \usetikzlibrary{arrows,shapes} \begin{document} \author{} \title{Hello \protect\alert{World}!} \begin{frame} \titlepage \end{frame} \end{document} ...


0

This solution provides a little more automation and keeps the user interface as is, so to say that you can keep on writing \title[short text]{text\footnote{text}}. The basic idea is to disable that the internal macro \@adminfootnotes disables the usual footnote mechanism through \xpatchcmd\@adminfootnotes{\let\@makefnmark\relax}{}{}{} and then use the ...


0

Firstly, you should complete the coding by copying the way authblk extends modifies the \maketitle command: it saves a copy in \AB@maketitle and then redefines the tabular environment. In authblk the code is \let\AB@maketitle=\maketitle \def\maketitle {{\renewenvironment{tabular}[2][]{\begin{center}} {\end{center}} ...


1

Here is a way to keep the footnote marker too. You need to save the definitions and restore them just before issuing the \footnotemark command. There is then some juggling to get the correct counter values. Here is the title: And here are the footnotes, showing \thanks etc. are not disturbed. \documentclass{amsart} \makeatletter ...


1

You can easily add text before or after the tile page elements via \addtobeamertemplate{title page}{before material}{after material} Thus you can put your supervisor's name at towards the bottom of the title page via \addtobeamertemplate{title page}{}{\begin{center}Supervisor\end{center}} \documentclass{beamer} \begin{document} \title{Talk title} ...


3

The workaround is quite simple, but there will be no footnote marker: \documentclass{amsart} \begin{document} \newcommand\myfootnotetitle{\spaceskip=0pt \scshape I want this in Small Caps} \title{Title\footnote{\protect\myfootnotetitle}} \author{A. U. Thor} \maketitle \vspace*{\fill} {\footnotesize\myfootnotetitle\par} % for checking \end{document} ...


4

beamer has a command \donotcoloroutermaths to remove math coloring. You can insert this into the template for titles as in the example below. I use red as the maths color for better clarity in the demonstration. \documentclass{beamer} \setbeamercolor{math text}{fg=red} \addtobeamertemplate{frametitle}{\donotcoloroutermaths} \begin{document} ...


6

You can use the command \emptythanks to clear the list: \documentclass{article} \usepackage{titling} \begin{document} \title{title1} \author{someone1 \thanks{hi@email.com}} \maketitle \newpage \emptythanks \title{title2} \author{someone2 \thanks{bye@email.com}} \maketitle \end{document}


10

After removing packages and code, which do not make immediate disappear, the following remains: \documentclass[11pt]{article} \usepackage{authblk} \begin{document} \title{this is the title} \maketitle \end{document} With the following warning: LaTeX Warning: No \author given. Also, let us make authorblk/\maketitle happy: ...


0

It is cleaner and clearer to avoid hard-coding formatting in the content of commands like \title. Although this is typically a once-off command in a document - if only because \maketitle enforces this by wiping everything - it is still best avoided, I think. And the alternative is not the scary-looking patching of internal commands. It is, as in the case of ...


0

I think creating a custom titlepage is more suited than to fiddle with page headers and footers. \documentclass[11pt]{report} \usepackage[T1]{fontenc} \begin{document} \begin{titlepage} University \vfill \begin{center} {\LARGE\bfseries Title here \bigbreak} {\large My name \medbreak} \today \end{center} \vfill ...



Top 50 recent answers are included