# Tag Info

0

Actually - I found a much easier way of centering the title within a block. I have to say, I'm not sure if this is sort of hacky, but it works. \begin{block}{\centering 1. Introduction} ... ... \end{block} I'm imagining it would work similarly for your varblock environment. \begin{varblock}[35cm]{\centering \textbf{1. Introduction}} \justifying Space ...

2

Consider the following example, with black boxes as auxiliary spacers. \documentclass{article} \usepackage{lmodern}%get scalable font \usepackage{showframe} \usepackage{titling} \pretitle{\begin{center}\fontsize{18bp}{18bp}\selectfont} \posttitle{\par\end{center}} \preauthor{\begin{center}\fontsize{14bp}{14bp}\selectfont} ...

0

I compiled this, downloaded from enter link description here \documentclass[12pt]{uvamath} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{lipsum} \usepackage{caption} \usepackage{subcaption} \usepackage[pdfborder={0 0 0}]{hyperref} \usepackage{amsmath,amscd} \usepackage{amssymb} \usepackage{amsthm} \usepackage{color} ...

1

I managed it: 1) I took Touhami's advice by removing frontmatter and mainmatter. 2) Put \addtocounter{page}{1} right after \maketitle. Allowing a page counter from 1 at the title page. 3) At first I had a problem that my Abstract became chapter 1. That was because I used \chapter instead of \chapter*. Using \chapter* will suppress the chapter numbering. ...

0

I'm not sure if this is how it is meant to look. This basically loads titling first and tweaks the redefinition of \maketitle by authblk. I've also defined some new commands for convenience so that \myinput{greatpaper} will input greatpaper.tex, issue \maketitle, \@Content and clean up ready for the next file. Note that I've switched from the obsolete 2.09 ...

3

Like this may be: \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{sectsty} \allsectionsfont{\normalfont\sffamily\Large} \usepackage{lipsum} \title{\color{DarkBlue}\sffamily\Huge Hypothesis Testing in \\ Linear Regression Models} \author{} \date{} \begin{document} \maketitle \section{Introduction} \lipsum \end{document}

3

The \\ here \vspace{\stretch{2}} \\ is spurious and will always generate this error, simply delete it. Note also {\LARGE \bf \@title\\} should be {\normalfont\LARGE \bfseries \@title\par} so that the title is set with a baseline spacing appropriate for the size of the text.

2

\title{} just tells LaTeX what the title is. It doesn't produce any output. To actually typeset the title, use \maketitle. \title{My title} \author{Me} \date{}% if you don't want a date \maketitle

1

You can redefine \@part (original in book.cls): \documentclass{book} \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi \markboth{}{}% {\centering \interlinepenalty \@M ...

4

It is possible to arrive at a fairly simple solution by the use of tikz: \documentclass{article} \usepackage[papersize={11in,8.5in},margin=0in]{geometry} \usepackage{tikz} \usetikzlibrary{calc} \parindent=0pt \begin{document} \begin{tikzpicture}% \node[anchor=south west, inner sep=0] (X) at (0,0){\includegraphics[width=10in]{ScreenShot}};% ...

1

To overlay the elements, I use stacks. To obtain "transparancy", just overlay a clipped version of the original image, using the decodearray parameter for color reinterpretation. \documentclass[a4paper]{article} \usepackage{graphicx,stackengine,trimclip} \begin{document} \noindent% \stackinset{c}{}{c}{}{% \parbox{.8\textwidth}{\sffamily\centering\Huge ...

3

You could try overpic.sty: \documentclass[a4paper]{scrbook} \usepackage[textwidth=10cm]{geometry} \usepackage[abs]{overpic} \usepackage{graphicx,color,transparent} \begin{document} \begin{center} \begin{overpic}[unit=1mm,tics=10,width=1.0\linewidth]{example-image-a} \put(50,30){% \makebox[0pt]{% \transparent{0.5}% ...

2

If you are using the standard article class, the titlepage class option takes care of this: \documentclass[titlepage]{article} \author{The Author} \title{The title} \begin{document} \maketitle test text \end{document}

1

The elsarticle class supports some two column styles, but you have to tell it which one you want. So you should add one option among 3p or 5p: hence you should have either \documentclass[a4paper,10pt,5p]{elsarticle} or \documentclass[a4paper,10pt,3p,twocolumn]{elsarticle} and the result will be something like The 3p option supports both one and two ...

1

\documentclass{beamer} \begin{document} \title{Error Correcting Code} \author{Ritajit Majumdar} \begin{frame} \maketitle \end{frame} \title{Quantum Error Correcting Code} \begin{frame} \maketitle \end{frame} \end{document}

1

You can use the .aux file: \documentclass{article} \usepackage{lipsum} \usepackage{glossaries} \usepackage{hyperref} \makeatletter \newcommand{\glssubsection}[1]{% \@ifundefined{@glssubsection\detokenize{#1}} {\protected@write\@auxout{}{\string\newglossaryentry{#1}{name=#1,description={}}}% \global\@namedef{@glssubsection\detokenize{#1}}{}}{}% ...

2


0

I'm using aip-cp.cls and working off the assumption that you want the blank institution lines to go away. \documentclass{aip-cp} \usepackage[numbers]{natbib} \usepackage{rotating} \usepackage{graphicx} \title{The Big Bang theory} \author[disneyland]{J. Watson\corref{cor1}} \eaddress{watson@gmail.com} \author[disneyland]{G. House} ...

0

Just add a \corrref to every author (with diferent label) and just call the author you need. \author{J.~Martinez} \author{F.~Julio\corref{cor1}} \ead{007@gmail.com} \author{N.~Vasquez\corref{cor2}} \author{H.~Cardenas\corref{cor2}} \cortext[cor1]{Corresponding author}

2

By adding \gantttitle{Thesis Defence Timeline}{36} \\ before the rest of the chart adds a title to the entire chart as given. Other add-ons can be obtained from gantt charts. \documentclass[12pt]{article} \usepackage{pgfgantt} \usepackage{lipsum} % just for dummy text, remove in your own document \usepackage{geometry} % to change margins ...

3

The additional bookmark can be done by \pdfbookmark: \pdfbookmark[1]{My Title}{title} The link including "equation" is more tricky, because \autoref does not put the number in parentheses. Manually it can be done by: \hyperref[eq: mass balance]{equation~(\ref*{eq: mass balance})} The star form of \ref sets a reference without link, because the link is ...

1

This is the bookmark part of the question only... Additions to the bookmarks can be done with \pdfbookmark, for example. The relevant level should be given, here with article class level 0 is appropiate, if the title bookmark should be aligned with the rest, use level 1 then. Here I've done the solution with 0 however. ...

1

I assume you are using the confposter theme from http://www.njohnston.ca/2009/08/latex-poster-template/. If this is the case, simply redefine the headline template to use \raggedright instead of the default \centering Original definition \setbeamertemplate{headline}{ \leavevmode \begin{columns} \begin{column}{\linewidth} \vskip1cm \centering ...

Top 50 recent answers are included