# Tag Info

## New answers tagged titles

3

You could \unslant the \mu, using Bruno's \slantbox described at Shear transform a "box". I also set the number range as 7--8 in text mode, since the math version of your MWE was typeset as seven minus eight. \documentclass[a4paper]{article} \def\slantvalue{0} \newsavebox{\foobox} \newcommand{\slantbox}[2][\slantvalue]{\mbox{% ...

3

If you can load the siunitx package, \SIrange{} might solve your problem. You can adjust the appearance with \sisetup{}, and the option detect-all will match the appearance to that of the surroundings. \documentclass[a4paper]{article} \usepackage{siunitx} \sisetup{range-phrase=--,range-units=single,detect-all} \title{\bfseries From ...

3

The style you prefer was prepared using different software. More specifically, it probably used LaTeX or TeX to output the .dvi and then definitely used Acrobat Distiller to produce the pdf. In contrast, yours was created with pdfTeX. Moreover, although I don't know enough about Distiller to say, the result is that the other document uses truetype fonts ...

6

Don't use the titlepage option but the titlepage environment and insert whatever you want inside it. An example \documentclass[]{amsart} \usepackage{graphicx} \usepackage{lipsum}% Just for this example \begin{document} \pagenumbering{gobble}% No page numbering \begin{titlepage} \centering \includegraphics[width=5cm]{example-image} \vspace*{1cm} ...

3

You can use combinations of \pagenumbering{<style>} \setcounter{page}{1} to adjust the setting of the page number (and reset it to 1 with every new style): \documentclass[titlepage]{amsart} \usepackage{lipsum}% Just for this example \begin{document} \pagenumbering{gobble}% No page numbering \title{The title} \author{The author} \maketitle ...

2

The problem is that you are using \\ (inside \date) when TeX is in vertical mode. TeX has the vertical and the horizontal modes. Horizontal mode is for putting letters into lines and assembling those into paragraphs, vertical mode is for putting those paragraphs and other things onto the page. \\ is a horizontal mode command that breaks the current line ...

2

\thanks should go inside \nametag in the jmlr class: \documentclass{jmlr} \title{Title} \author{Author 1\nametag{\thanks{Thanks 1}} \and Author 2\nametag{\thanks{Thanks 2}} } \begin{document} \maketitle \end{document}

4

I defined a \Title command with four arguments to produce the desired layout; for example, the title in the image below was produced using \Title{Mohcine}{Some particular title}{Some test text}{Some other text} Please, feel free to adjust the settings according to your needs. The code: \documentclass[11pt,a4paper]{report} \usepackage{xhfill} ...

1

Here's one possibility, using keyval to handle the key: \documentclass[twocolumn]{article} \usepackage{keyval} \usepackage{lipsum} \def\titlemark#1{} \def\authormark#1{} \makeatletter \define@key{ShortTitleKey}{shorttitle}{\markright{#1}} \long\def\title{\@ifnextchar[{\short@title}{\@@title}} \def\short@title[#1]{{\setkeys{ShortTitleKey}{#1}}\@@@title} ...

6

The following addition to your preamble - before making calls to title macros - fixes the problem: \makeatletter \renewcommand*{\thanks}[1]{% \footnotemark \protected@xdef\@thanks{\@thanks \protect\footnotetext[\arabic{footnote}]{#1}}% } \makeatother The problem is that the footnote mark is set with the \authors, but never transferred to the ...

0

If I understood your question, you can use the geometry package to change the page layout in your document; the idea is to load geometry with the settings for the inner pages of your document, and use \newgeometry to set the layout for the titlepage; once this page has been shipped, you invoke \restoregeometry to have the settings previously declared; the ...

1

Something like that? Your problem with margins is not very clear to me. Margins can easily be set by the geometry package. I defined a layout for numberless chapters with \titleformat: \documentclass{book} \usepackage{graphics} \usepackage{geometry} \geometry{hmargin={3cm, 6cm}} \usepackage{xcolor} \usepackage[pagestyles, explicit]{titlesec} ...

0

Here's what worked for me; To be fair, I only thought to do this because I generally work in LyX and couldn't implement @GonzaloMedina's solution--I tried inserting a footnote & LyX translated it like so: \author{Mr. Indebted% \thanks{All those lovely people I'm thankful for% }, et al.} This had the effect (bug?) of singling out the author doing the ...

4

\date needs an argument, i.e. a date, 'enclosed' with a {} pair. If this is not prevalent, \date uses the next token it can find, i.e. \maketitle in the OP's post. This is bad of course, as \date itself is not used as long \maketitle is not issued. Principally, \date is not necessary at all if the current date is requested. (\maketitle uses \today then) ...

0

Discard the page during shipout using \usepackage{atbegshi} %... \AtBeginShipoutNext{\AtBeginShipoutNext{\AtBeginShipoutDiscard}} \begin{titlingpage} % <title content> \end{titlingpage} We delay this discarding until the second page using a nested \AtBeginShipoutNext.

1

The spaces are defined in the \@maketitle macro. You should patch or redefine this macro to change these spaces. For instance, add the following to your preamble: \makeatletter \renewcommand{\@maketitle}{% \newpage\null\vskip2em% \begin{center}% \let\footnote\thanks{\LARGE\@title\par}% ...

3

Use the optional argument to \author. \author[short author names]{author names}

0

Can you please try with \documentclass[final,5p,times]{elsarticle} and you don't need to modify the template with \twocolumn[ \begin{@twocolumnfalse} \begin{frontmatter}. I have just checked the documentation on http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/elsarticle/doc/elsdoc.pdf and according to the doc (page 2) 5p is always two column ...

3

This places the rule in the top corner. I added \noindent so that it wasn't shifted to the right, removed the "by eye" vertical adjustments and added a negative space of exactly \vspace*{-\dimexpr\topskip+\topmargin+\lineskip\relax}% before the rule. \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{techclass}[2015/02/08 v0.1 ^^J LaTeX document class for ...

0

replace \setlength\voffset {8mm} \setlength\topmargin {-1in} by \setlength\voffset {8mm} \setlength\topmargin {-1in} \addtolength\topmargin {-8mm} in your place i'll never change \voffset and \hoffset you can try with \setlength\topmargin {-1in} \addtolength\topmargin {+-something} \setlength\oddsidemargin {-1in} \setlength\evensidemargin {-1} ...

2

You can load the package scrlayer (part of the KOMA-Script bundle) and define your a special pagestyle for the titlepage. \usepackage{scrlayer} \DeclareNewLayer[ foot, foreground, contents={% \raisebox{\dp\strutbox}[\layerheight][0pt]{% \parbox[b]{\layerwidth}{\centering City\par Date}}% } ]{titlepage.foot.fg} ...

0

Your tex code seems fine. I would suggest to use the elsarticle template. \documentclass[two-column,final]{elsarticle} If you use the two-column and final option, you should get the layout you want. This template is e.g. included with the texlive-publishers package in Debian or Ubuntu or can be downloaded at elsarticle at CTAN

4

You can use \enlargethispage. I also changed somewhat your code: better using \vspace than \vskip and just a \centering declaration. \documentclass [fontsize=14pt, paper=a4, pagesize, DIV=calc] {scrartcl} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{showframe} %%% just for the example \usepackage{paratype} ...

1

The amsaddr package does not delete the author names. There are two ways to use it, straight it will print the address below each author name (but put the email addresses a footnote), with the foot option it will put the addresses in a footnote. Here are the two outputs. For amsaddr in the foot case you can give an optional argument to \address ...

0

As the question is pretty cloudy, this is a suggestion based on plain article. \documentclass{article} \usepackage{etoolbox} \usepackage{blindtext} \usepackage{fancyhdr} \tracingpatches \patchcmd{\maketitle}{% \thispagestyle{plain}% }{}{}{} \apptocmd{\title}{\rhead{#1}}{}{} \pagestyle{fancy} \title{this is just a test} \author{not me} \begin{document} ...

0

\documentclass{article} \usepackage{setspace} \usepackage{url} \usepackage{blindtext} \begin{document} \begin{titlepage} \setlength{\parindent}{0pt} \setlength{\parskip}{0pt} \begingroup\flushleft Jane Doe\footnote{Anonymus Institut, forget Street, Neverland, \url{jane@doe.com}}\\ Donald Duck\footnote{Ducktown ...

2

As suggested in the comments, it's probably better to use titlepage. However, you can keep things all on one page by using this answer to \maketitle text before title and \vfill to push things to the top/bottom. \documentclass{article} \begin{document} \title{THESIS FOR THE UNIVERSITY} \author{} % no "immediate" warning wanted \date{} % no timestamp ...

0

This problem arises because \\ is redefined in the center environment to something fragile, which \MakeUppercase doesn't like (see also this answer). The simplest way to get this title to work is to \protect the \\: \title{Higgelty Pigglety Pop! \protect\\ or \protect\\ There Must Be More to Life}

1

A simple solution is to load David Carlisle textcase package with the option overload. Then you just put the \\-macro into a \NoCaseChange{}, i.e. \usepackage[overload]{textcase} ... ... \title{Higglety, Pigglety Pop!\NoCaseChange{\\}or\NoCaseChange{\\} There must be more to life}

6

Split the title at \\ and apply \MakeUppercase to each chunk: \documentclass{article} \usepackage{titling} \pretitle{\begin{center}\LARGE\sffamily\bfseries} \posttitle{\par\end{center}\vskip 0.5em} \makeatletter \renewcommand{\title}[1]{\gdef\@title{\DoUppercase{#1}}} \DeclareRobustCommand\DoUppercase[1]{\Do@Uppercase#1\\\@nil} ...

2

Here's a solution with stringstrings. The reason it does not work directly with \MakeUppercase is that the argument of the title contains the macro \\. I am presuming that the \MakeUppercase macro works only or regular expressions without macros. In general the stringstrings package has the same limitations, but it does have provisions for limited ...

Top 50 recent answers are included