# Tag Info

0

I would use it this way: \documentclass{article} \usepackage[a6paper]{geometry}%% only for demo \usepackage{hyperref} \title{Here is a title} \author{A Author\thanks{\url{abc@de}} \and B Author\thanks{\url{def.de}}} \date{November 2015} \begin{document} \maketitle \end{document}

3

\href refers to a hyper reference that you want to include. In order to do so, you need to include \usepackage{hyperref} in your preamble. Note that there may be conflicts when using that package. If this occurs, load order may be important. Additionally, \href[<options>]{<URL>}{<text>} takes two mandatory arguments. The first would be a ...

2

A related question has a solution for section headings using the titlesec package. However, if this answer is copied and naïvely modified for chapter headings, it will result in a ! Package titlesec Error: Not allowed in 'easy' settings error. The error arises because the titlesec package works a little differently with chapters than it does sections. An ...

3

You could add the following instructions to the document's preamble (after loading the setspace package): \usepackage{sectsty} \allsectionsfont{\singlespacing} A full MWE (minimum working example): \documentclass[12pt,oneside]{book} \usepackage{lipsum} % for filler text \usepackage{setspace} \doublespacing \usepackage{sectsty} ...

1

Issuing \color{white} inside a group doesn't really do anything. I'd suggest defining a section rule colour (say) secrulecolor which you can adjust to suit your needs: \documentclass{scrartcl} \usepackage{titlesec} \usepackage{xcolor} \definecolor{myblue}{RGB}{0,25,102} % Title format \colorlet{secrulecolor}{black}% Default rule colour ...

3

You have the color macro improperly grouped. That is, you close the group (with a right brace }) immediately after changing the color, rather than after painting the \rule. \documentclass[a4paper, 10 pt, oneside, final]{scrartcl} \usepackage[left=4.6cm, right=0.75cm, top=0.5cm, bottom=0.5cm]{geometry} \usepackage{soul} \usepackage{scrpage2} ...

3

A little bit different from @Mico solution and a little bit later. \documentclass{report} \usepackage{lipsum} \usepackage[showframe,head=2.5em]{geometry} \usepackage{fancyhdr} \lhead{% \begin{tabular}{@{}l} Element 1\\Monica \end{tabular}% } \rhead{% \begin{tabular}{r@{}} Element 3\\\today \end{tabular}% } \chead{% \begin{tabular}{c} {\large CS ...

3

I would load the fancyhdr package and place the following code in the preamble: \usepackage{fancyhdr} \pagestyle{fancy} \lhead{Monica} \chead{\begin{tabular}[b]{c} \Large CS2800 \\ Homework 1 \end{tabular}} \rhead{February 8, 2015} The body of the document would then start off like this: \begin{document} \pagestyle{plain} ...

1

As David implied "It all depends". Depending on the particular LaTeX class there is a hierarchy of headings. The book and report classes provide part, chapter, section, subsection, subsubsection, paragraph and subparagraph. The article class has all of these except for chapter, while the memoir class adds book at the top of the book and report class ...

3


0

You have to add \usepackage[T1]{fontenc} and then type the underscore as \_ \documentclass{aip-cp} \usepackage[T1]{fontenc} \begin{document} \title{This is title} \author{my name} \eaddress{my\_name@yahoo.com} \affil{My Department} \maketitle \end{document}

1

Your code between \begin{document} and first \newpage contains no non discardable element. Therefore a page is not created and background figure appears on the first real page which is due to titlepage environment. Please read egreg's excellent answer to Why \newpage needs at least \null to create a page? to understand it better and also to find the ...

7

Let's look at some definitions: \thanks within article.cls: \def\thanks#1{\footnotemark \protected@xdef\@thanks{\@thanks \protect\footnotetext[\the\c@footnote]{#1}}% } This macro sets a footnote mark - \footnotemark. Then it adds the footnote text to \@thanks using \protected@xdef\@thanks{\@thanks <new footnote text>}. \maketitle in ...

1

Perhaps this might work: \documentclass{article} \usepackage{lipsum} \usepackage{fancyhdr} \fancyhf{} \fancyfoot[L]{\today\ -Page \thepage} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \author{Me} \title{Foo} \date{\vspace{-5ex}} \begin{document} \maketitle \pagenumbering{gobble} \newpage \pagenumbering{arabic} \lipsum \end{document}

4

If you only wish to remove the \date-related entry in the title, then you can patch \@maketitle and remove the relevant content (using etoolbox): \documentclass{scrartcl} \usepackage{scrlayer-scrpage,etoolbox} \automark[subsection]{section} \pagestyle{scrheadings} \title{Something} \author{Some Body} \ofoot{\today} \usepackage{blindtext} \makeatletter ...

1

Here's a first attempt. Not sure if I missed something, though. For the first question, the easiest way is to suppress the page breaks between the title and the abstract. For the second question, I think that's fixed with the \mainmatter command, which starts numbering chapters, changes page numbering to Arabic, etc. \documentclass[letterpaper, 11pt, ...

3

Whether the comma is used or not is a question of style. Both choices are acceptable. If you want to remove the comma, known as “Oxford comma”, just redefine \Authands: \documentclass{article} \usepackage{authblk} \renewcommand{\Authands}{ and } % comment the line to have the Oxford comma \begin{document} \title{Individual Spread Footing} ...

2

Note that scrpage2 is outdated. Its successor is scrlayer-scrpage. There you can define an own layer page style for the title page: \documentclass[a4paper,twoside,12pt,chapterprefix=false]{scrbook} \usepackage{graphicx} \usepackage{scrlayer-scrpage} \DeclareNewLayer[ background, head, addvoffset=\headsep, height=1.5cm, addheight=\dp\strutbox, ...

4

Just load geometry conditionally. Of course the documentation should make it clear that the package must be loaded after geometry, if this package is used. A test for this could be added. columbidaeTitle.sty % Copyright note: This package defines how titles should % be typeset at the columbidae University % Please check for updates ...

1

The class doesn't define \@thefnmark when \thanks is processed, because it doesn't call \footnote, but \titlenote. However cleveref expects a definition for \@thefnmark like in standard footnotes. Just provide a definition for it in a way compatible with how sigplanconf works. Such a definition will be overridden when real footnotes are processed, but as ...

2

You have to redefine the \maketitlehook* commands. Here is an example: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{amssymb} \usepackage{titling} \pretitle{\bfseries\Huge} \title{Title} \posttitle{\\\vskip1.5cm} \preauthor{\Large} \author{Author} \postauthor{} \renewcommand\maketitlehooka{\pagestyle{empty}\centering\sffamily} ...

1

May be too obvious, but as \author and \date have the same format in this case, there are a quick and dirty way: % for your eyes only ⚉ \author{\today} \date{Dimitrios Anagnostou} And yes, conceptually is a sacrilege. Nobody should know what you have done. Destroy your source code after the PDF compilation.

2

Something like this? \documentclass{article} \usepackage{titling,parskip} \usepackage[margin=4cm]{geometry} \makeatletter \def\@maketitle{% modified from titling.sty \newpage \null \vskip 2em% \vspace*{\droptitle} \maketitlehooka {\@bspretitle \@title \@bsposttitle} \maketitlehookb {\@bspredate \@date \@bspostdate} \maketitlehookc ...

5

I'm lazy. If somebody else has already done the work and I can use theirs, I figure there's no need for me to spend time poring over different designs for the newfangled invention they call a 'wheel'. I would use etoolbox to patch the titlepage environment which book uses for titles by default, and let titling do the rest. \usepackage{etoolbox,titling} ...

5

The problem with \maketitle is, that it is a command that disables itself after being called by using \global\let\maketitle\relax (the same is true for \title, \author etc. This can be disabled either be redefining \maketitle or using \xpatch and removing the relevant code. This will prevent the restart of the pagenumbering anyway. The next culprit is ...

Top 50 recent answers are included