Search found 8452 matches

by Stefan Kottwitz
Sun Dec 03, 2017 6:46 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

Using a macro I saw posted by Yiannis Lazarides: \RequirePackage[l2tabu,orthodox]{nag} \documentclass[12pt,oneside]{article} \usepackage[letterpaper,margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{float} \usepackage{color} \makeatletter \def\spreadeven#1{% \@tfor\nex...
by Stefan Kottwitz
Sun Dec 03, 2017 6:19 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

It wasn't centered, you just added space (2 line skips) after the rule before the author. Centering looks this way: \rule{4.5in}{1.6pt} \vfill Author \vfill \includegraphics[width=4.5in]{example-grid-100x100pt} or inserting equal space before and after. Sure, there are more logical ways in graphic m...
by Stefan Kottwitz
Sun Dec 03, 2017 6:03 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

There is a line break between the two rules! LaTeX is line based in normal text mode. So you would have the line break space and 2pt.

Stefan
by Stefan Kottwitz
Sun Dec 03, 2017 5:44 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

I still don't understand the vertical spacing commands there (there's even a negative -\baselineskip ) When one adds vertical space, the current line ends, since it has to go downwards now. But ending a line means there's a new line with the distance \baselineskip . So, to have a distance of 2pt be...
by Stefan Kottwitz
Sun Dec 03, 2017 5:10 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

How to make the Author in the middle, without the \vspace{0.5in} command ? It's just a single title page. It's ok to manually tweak here and there for that single case. LaTeX' centering commands and such staff is usually working on base lines. Even if you would get the base line perfectly centered,...
by Stefan Kottwitz
Sun Dec 03, 2017 5:06 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

Braces do grouping and are limiting the effect of local commands (scoping). So, {\large Subtitle} means that after the group with braces has ended, \large is not affecting the following text. {...} acts like an environment, limiting the effect of commands, such as centering and font size or color or...
by Stefan Kottwitz
Sun Dec 03, 2017 4:54 pm
Forum: Page Layout
Topic: Fancyhdr with a KOMA-scipt class Topic is solved
Replies: 8
Views: 253

Fancyhdr with a KOMA-scipt class Topic is solved

The KOMA-Script author is often a bit harsh.

Via the scrhack package, he ensures compatibility and avoids issues with other packages. Consider it as a service for KOMA-Script users.

Stefan
by Stefan Kottwitz
Sun Dec 03, 2017 4:50 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

Cham wrote:I need to fix the various vertical spacements.


Centering is usually done by inserting elastic space, such as \vfill. Several \vfill take the same space each, so it's used for centering (above and below) and for equal distances.

Stefan
by Stefan Kottwitz
Sun Dec 03, 2017 4:47 pm
Forum: General
Topic: Generic title page needs optimization Topic is solved
Replies: 30
Views: 332

Generic title page needs optimization Topic is solved

Yes, \centering is enough. The setting is valid until the current environment (titlepage here) ends.

\begin{center} ... \end{center} is for standalone centered text, displayed with additional space before and after.

Stefan
by Stefan Kottwitz
Sun Dec 03, 2017 1:47 pm
Forum: Math & Science
Topic: texmaker
Replies: 7
Views: 164

texmaker

There can be many reasons. Some of your code is causing it, but you don't tell us the code. So I cannot provide code to fix ist. If somebody posts a , so code to reproduce an error, I can fix it in 999 of 1000 times. Without code, it's just talking. Perhaps your figure or table is too big, or the pa...

Go to advanced search