New answers tagged

1 vote

How to make line spacing in the title different from \linespread

Is this only for the title page? If so, try this: \documentclass[12pt]{article} \usepackage{setspace} \usepackage{scrextend} \title{\changefontsizes{20pt} This Is My Article Title: Which Is Fairly ...
user avatar
  • 5,340
1 vote

Cleaner way of making rows in a table dynamically appear

The simplest solution (least modification to the existing code) would be to simply define an auxiliary macro (because of issues the macro must be defined outside, and some other issues with TikZ \...
user avatar
  • 2,071
2 votes

Cleaner way of making rows in a table dynamically appear

Here is a possible solution with tabularray package: \documentclass{article} \usepackage{etoolbox} \usepackage{tabularray} \UseTblrLibrary{booktabs} \makeatletter \def\@author{} \def\@date{} \def\@...
user avatar
  • 8,650
3 votes
Accepted

Remove the ProjLib logo from the title page (beaulivre package)

Use \TitlePage [ color = { main = forestgreen!75!black, back = forestgreen!10!yellow!30 } ] { , title = Title , subtitle = Subtitle , author = Name , date = {\today} , ...
user avatar
  • 25.9k
0 votes

Space size before a title in the Article class

(code adapted from this answer to the query how does '\maketitle' work?) I will being by assuming that you do not specify the option titlepage while using the article document class. (Do let me know ...
user avatar
  • 439k
1 vote

How do I make the section text in capital letters?

While you can certainly do it other ways, I find it easiest to use the titlesec package to customize headings and its companion titletoc to customize TOC entries; see the documentation. \documentclass{...
user avatar
  • 36.6k
0 votes

How can I change the color of the line in the title page when using beamer?

You can change the entire color theme by adding something like this to your preamble. \usecolortheme{beaver} For other options, look for 'Complete Color Themes' section in beamer user guide. However, ...
user avatar
  • 363
0 votes

How can I change the color of the line in the title page when using beamer?

First you need to make sure you are giving the xcolor package (which beamer loads) an option that defines the color you want. In this case, for "Navy", we can use the svgnames option. You ...
user avatar
  • 36.6k
2 votes
Accepted

Unwanted Extra Pages for Koma Script Title Pages with Graphics

If you want to add an external created title page, you should not use \maketitle. Example: \documentclass[twocolumn,fontsize=9pt,BCOR=2cm,headlines=2.5,DIV=calc,usegeometry]{scrbook} \usepackage{...
user avatar
  • 81.7k
2 votes

How to center text left and right on the same line?

No need to use mdframed. \documentclass{article} \begin{document} \noindent \fbox{% \parbox{\dimexpr\textwidth-2\fboxsep-2\fboxrule}{% \setlength{\topsep}{0.2\topsep} Math 7H\hfill ...
user avatar
  • 992k
5 votes

How to center text left and right on the same line?

Via Left Text\hfill Right Text. \documentclass[a4paper]{article} \usepackage{ragged2e} \usepackage{mdframed} \newcommand{\createtitle}{ \begin{mdframed} [nobreak=true, % prevents page breaking ...
user avatar
1 vote

Restore the title label format at the end of appendix

I think this is what you want to achieve: \documentclass{article} \makeatletter \newenvironment{myappendix}{\par \newcounter{tempsec}% \setcounter{tempsec}{\thesection}% \setcounter{section}{0}% ...
user avatar
  • 4,123
1 vote
Accepted

Restore the title label format at the end of appendix

I propose you to make another macro to save section numbers, like: \makeatletter \usepackage{etoolbox} \newcounter{savedsection}% for remembering the last chapter number \preto\appendix{\setcounter{...
user avatar
  • 2,081
1 vote

How to Automatically Overlay a Title of a Different Color onto Itself

Another variant using the package xcoffins that allows the precise joining of boxes without guessing. The command \OverlayTitle{color upper}{color back}{text}{x offset}{y offset} will typeset the ...
user avatar
  • 25.9k
5 votes
Accepted

How to Automatically Overlay a Title of a Different Color onto Itself

This will work if the two versions are the exact same size. Otherwise you would have to overlay each letter separately. \documentclass{article} \usepackage{xcolor} \definecolor{aqua}{RGB}{0, 188, 188}...
user avatar
  • 70.2k
2 votes

How to Automatically Overlay a Title of a Different Color onto Itself

An easy way to do this is by letting LaTeX calculate the width of the box just written and then jump back horizontally, as shown here: \documentclass{book} \usepackage{xcolor} \definecolor{aqua}{RGB}{...
user avatar
  • 4,490
0 votes

Add "Chapter" or "Appendix" before numbers in Contents without the tocloft package

You have still not clarified by what you mean by "line spread". You have not shown what your problem is with tocloft so all I can do is guess that this should work for you. % tocloftprob.tex ...
user avatar
  • 25.5k

Top 50 recent answers are included