Hot answers tagged

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: ...


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}


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} ...


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} ...


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} ...


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

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} ...


3

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> ...


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}


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 ...


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

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} ...


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 ...



Only top voted, non community-wiki answers of a minimum length are eligible