Tag Info

Hot answers tagged

8

At the TeX level using \\ doesn't start a new paragraph while using \par obviously does. As noted in comments, When to use \par and when \\ covers the difference between the two in general. To see what is going on in the current case, where we are talking about 'design', a small demo such as \documentclass{article} \begin{document} \tracingoutput=2 ...


7

Beware of {\large ``The simplest proof of the last theorem of Fermat''}\\[5mm] as if the title ended up being more than a line you would have large text set to a normal baseline and inconsistent spacing, size changes should almost always include the end of the paragraph so {\large ``The simplest proof of the last theorem of Fermat''\par\vspace{5cm}} ...


6

Replace the the line with \sbox{\titleBox}{...} with \sbox\titleBox{\parbox{\linewidth}{%
 \usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle}}
 and it will work.


3

Few things. First you have to use \date{}. If you delete it, since it is hard-coded in the definition of \maketitle today's date will be printed. And you should use \today instead of \date{\today}. Also, since \centerline is a TeX command, you should use \centering (which is LaTeX) and enclose entire thing inside a group so that the scope is limited. With ...


3

Try adding the line inside \titles argument: \title{\line(1,0){250}\\A Title\\\line(1,0){250}} Code: \documentclass{article} \begin{document} \title{\line(1,0){250}\\A Title\\\line(1,0){250}} \author{FirstName LastName} \maketitle \clearpage \end{document} Same with titling package: \documentclass{article} \usepackage{titling} ...


3

There are several points in your code that could be improved, but the main problem is the figure environment, that doesn't belong there. Here's a polished version. Adjust the spacings. \documentclass[a4paper]{book} \usepackage{graphicx} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} \begin{document} \begin{titlepage} \centering ...


3

Page breaking happens in an asynchronous way. TeX typesets entire paragraphs and places them in the “recent contributions list” and computes how much space has been occupied on the page it's on. When typesetting a paragraph overflows the available space, TeX moves the recent contributions to the main vertical list and calls the page builder into action. ...


3

Firstly, the class file provided was not complete, this solution found it here SelfArx It seems that what you meant by redefined maketitle giving errors is to remove the \JournalInfo \Archive and \Abstract, all requiring one arguments, but you did not mark out those corresponding definitions in the \@maketitle definition. Thus, when \maketile is issued, it ...


3

This is just a guess of what you might be after: \documentclass{article} \title{My title} \author{\begin{tabular}{r@{\ }l} Extremely Long First Name & Last Name \\ First Name & Extremely Long Last Name \end{tabular}} \begin{document} \maketitle \end{document}


2

This uses titling. You still need to specify most of the formatting for the authors simply because you are trying to get addresses etc. in as well. But you can use \title as normal. Moreover, it avoids the need for multicol which can cause headaches. Put the paragraphs you want typeset as part of the title block in \myabstract{} so they get included in ...


2

With a minipage around the title, you get the desired results, just replace \usebox{\titleBox}% by \begin{minipage}[b][24mm][b]{110mm} % <- adjust width or position here!!! \usebeamercolor[fg]{title}\usebeamerfont{title}{\inserttitle\par} \end{minipage} The complete changed beamerinnerthemetud.sty (originally from ...


2

You really don't have to define a new page style for that: the titling package is here for customising title pages. I used the geometry package with option showframeto help visualise the result: \documentclass[11pt,a4paper,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \usepackage{titling} \usepackage[showframe, nomarginpar]{geometry} ...


2

There are a couple of tricky things going on here. It looks like the renewed thebibliography environment has no effect when you're using biblatex. When you switch to single spacing with the \singlespacing command, it inserts a \vskip \baselineskip to make the transition to single spacing (see the definition here). If you define your own chapter heading, ...


2

The dual title in twocolumn mode causes the page breaks. Perhaps you'd just be interested in setting the title manually. Below I've taken the \maketitle constructions from the titling package code: \documentclass[twocolumn]{article} \usepackage{lipsum}% Just for this example \begin{document} \twocolumn[{ \begin{center} \LARGE First title \end{center} ...


1

You can use one of the hooks provided by titling and set up some commands to define things conveniently. I use \foreignauthor{} and \foreigntitle{} which you use to defined the English versions. Then \maketitle will do what you want, I think. \documentclass[twocolumn]{article} \usepackage{titling} \pretitle{\begin{center}\LARGE} ...


1

You can patch the \maketitle like \usepackage{etoolbox} \patchcmd{\maketitle} {\end{titlepage}} {\thispagestyle{titlepagestyle}\end{titlepage}} {}{} Code: \documentclass[11pt,a4paper,twoside]{book} \usepackage{fancyhdr} \usepackage{lipsum} \usepackage{etoolbox} \patchcmd{\maketitle} {\end{titlepage}} ...


1

A second alternative without patching is use of local footnote without numbering. Code \documentclass[11pt,a4paper,twoside]{book} \usepackage{fancyhdr} \usepackage{lipsum} \fancypagestyle{titlepagestyle} { \fancyhf{} \fancyfoot[C]{}%\emph{This text needs to appear on the title page}} \renewcommand{\headrulewidth}{0 mm} } \pagestyle{plain} ...


1

This answer uses the titling package to set things up. The first part answers the original question which had the title split across the first two pages. The second part answers the secondary question raised in the comments responding to Harish Kumar's answer. Part I This uses \maketitle twice with different settings, restoring the defaults in between ...


1

You don't really need to create a command, but using one just looks better to me (more modular). \documentclass[twocolumn]{article} \newcommand{\appendixhead}% {\centering\textbf{\huge Appendices} \vspace{0.25in}} \begin{document} Refer to Appendix~\ref{append_a}. \twocolumn[\appendixhead] \appendix \section{The first appendix} \label{append_a} Text here ...


1

Well you can custom easily your title page with the titlepage environment. Belong your MWE we can get: Here is the code: \documentclass{article} \begin{document} \begin{titlepage} \setlength{\parindent}{0pt} \setlength{\parskip}{0pt} \vspace*{\stretch{1}} \rule{\linewidth}{1pt} \begin{flushright} \Huge A Title \\[14pt] First Name Last Name ...


1

If you only use the acronym package option, as I assume from your code above, using \printglossary[type=acronym,title={List of Abbreviations}] instead of \printglossaries should do the trick. If you use multiple glossaries, you will have to repeat the \printglossary[] command for each glossary.


1

The package csquotes provides the macros \textquotedblright and \textquotedblleft; encase them in \phantom statements at the end of the first line and the start of the second line, respectively. \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} % csquotes works better with T1 encoding... \usepackage{csquotes} \begin{document} ...



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