Tag Info

Hot answers tagged

13

By way of explanation, I build the top of the page with a stack. Some of the finer points of what I am doing are as follows: the \fboxsep is the border padding of the box around the "M". If positive, the black box gets too wide, so I set it to 0pt. However, to retain an appropriate height to the black box, I make sure to add a \strut to the box ...


9

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


8

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.


5

Looking into the aaai.sty file will learn that the area is controlled by titlebox whose default value is 2.25in. Therefore, use a less value in the preamble should remove the space, displayed below \setlength\titlebox{1in} Code \documentclass[letterpaper]{article} \usepackage{aaai} \usepackage{times} \usepackage{helvet} \usepackage{courier} ...


3

Check package isodate. It provides various output formats and language support.


3

If I assume @Torbjorn T. understood your question right, the color-package should help. \documentclass{article} \usepackage{color} \begin{document} \colorbox{black}{\color{white}Some Text.} \end{document}


3

The titlesec package is used for this. With the option of raggedright, you can get what you mean. See this code, \documentclass{report} \usepackage{blindtext} \usepackage[raggedright]{titlesec} \begin{document} \chapter{Hope} \section{Hope of the Essential Trigonometry TRIGTEST} \blindtext \section{Hope of the Essential Trigonometry TRIGOTEST} \blindtext ...


3

Using the class provided at enter link description here and reducing the template they provide, results in the requirement of defining the \doi{} field to get the file compiled showing the title. The minimal code is then \documentclass{sigplanconf} \begin{document} \doi{nnnnnnn.nnnnnnn} \title{Title Text} \authorinfo{Name1} {Affiliation1} ...


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


2

TeX does not know how to hyphenate the word 'trigtest' so you will need to tell it how to do so in the preamble: \documentclass{report} \usepackage{blindtext} \hyphenation{trig-test} \begin{document} \chapter{Hope} \section{Hope of the Essential Trigonometry TRIGTEST} \blindtext \section{Hope of the Essential Trigonometry TRIGOTEST} \blindtext ...


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

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


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

May be you need this. (Ididn't understand the requirement properly though) \documentclass[12pt]{article} \usepackage{xcolor} \usepackage{lipsum} %% for demo \usepackage{titlesec} \titleformat{\section} {\fontsize{28}{32}\sffamily\bfseries} {} {-0.5cm} {\textcolor{blue!60!green}} ...


1

KOMA-Script includes extensive formatting commands which allow you to easily customise layout and formatting provided you do not override the facilities by loading packages which overwrite the commands. For example, titling interferes with the customisation of the title. Below, I use the titlepage option to get a title page and KOMA's commands to customise ...


1

I finaly find it on /usr/share/texmf-dist/tex/latex/base/article.cls (Gentoo). I use for that the command kpsewhich article.clson a terminal.



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