Search found 937 matches

by Cham
Wed Jun 29, 2011 6:09 pm
Forum: Math & Science
Topic: The best way to emphasize equations ?
Replies: 7
Views: 13134

The best way to emphasize equations ?

I need to emphasize some mid-paragraph equations. Of course, I'm using the \begin{equation} ... \end{equation} environment, and I tried the \boxed{ } option. However, the box is often too small around the equation, which doesn't "breathe well" inside the box. I tried adding some invisible characters ...
by Cham
Wed Jun 29, 2011 2:34 am
Forum: Page Layout
Topic: Add a horizontal Line in the Header
Replies: 9
Views: 24201

Add a horizontal Line in the Header

Okay, I think I have it right. Some parts of the code above don't go into the preamble. It must be placed AFTER the \mainmatter statement, and BEFORE the \backmatter . After the \backmatter command, I need to add \pagestyle{headings} to revert to the default style.

Is that right ? I need a ...
by Cham
Tue Jun 28, 2011 11:29 pm
Forum: Page Layout
Topic: Add a horizontal Line in the Header
Replies: 9
Views: 24201

Add a horizontal Line in the Header

localghost wrote: To mimic the default style, you can use the well known commands to control font styles. See the below example.
This works.

However, I noticed that there are chapters numbers 0.0 and wrong titles appearing in the header, for the frontmatter and backmatter parts.
by Cham
Tue Jun 28, 2011 7:44 pm
Forum: Page Layout
Topic: Add a horizontal Line in the Header
Replies: 9
Views: 24201

Add a horizontal Line in the Header

Actually the headers by default are completely in capitals. ... Your code looks OK, although the header now looks a bit intrusive.

Intrusive ? What do you mean ?

Without the styles in my modification, the code gives simple lowecase titles. How can I make the title in slanted capitals ? (that was ...
by Cham
Tue Jun 28, 2011 7:08 pm
Forum: Page Layout
Topic: Add a horizontal Line in the Header
Replies: 9
Views: 24201

Add a horizontal Line in the Header

The below example uses the latter one because it is capable of much more things than only page styles.
...

Cool ! It works (however, it clashed with my previous \pagestyle{headings} command).

However, the header's titles aren't in small caps. How should I modify the following code to make all ...
by Cham
Tue Jun 28, 2011 6:36 pm
Forum: Page Layout
Topic: Add a horizontal Line in the Header
Replies: 9
Views: 24201

Add a horizontal Line in the Header

I'm currently using the "book" document class (the document is a huge book of about 900 pages), and the chapter/section titles and page number are showing in the header, which is what I want.

However, I would like to add a simple horizontal line, as what we have under the "paper" document class ...
by Cham
Mon Jun 27, 2011 3:55 pm
Forum: Page Layout
Topic: How to place all Footnotes at the Bottom of the Page?
Replies: 2
Views: 2227

Re: How to place all Footnotes at the Bottom of the Page?

Thanks, this command appears to do the job ! :)
by Cham
Mon Jun 27, 2011 5:05 am
Forum: Page Layout
Topic: How to place all Footnotes at the Bottom of the Page?
Replies: 2
Views: 2227

How to place all Footnotes at the Bottom of the Page?

Is there a general preamble command to tell LaTeX to place all footnotes at the bottom of pages ? Currently, I'm using the \raggedbottom command under the \documentclass{book} environment to remove the variable vertical spacing. I need the footnotes to be placed exactly at the bottom of the page.
by Cham
Wed Jun 22, 2011 10:47 pm
Forum: Math & Science
Topic: How to align Items in a Sum?
Replies: 8
Views: 11912

How to align Items in a Sum?

Hi Cham,

since equations/inequalities have to be aligned at a relation symbol, you could use an aligned environment. Also here you can customize size and fine-tune spacing. For example:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\sum_{\scriptsize\begin{aligned}i, j &= 1 ...
by Cham
Wed Jun 22, 2011 6:27 pm
Forum: Math & Science
Topic: How to align Items in a Sum?
Replies: 8
Views: 11912

How to align Items in a Sum?

localghost wrote:Works fine for me. Please clarify in which way this is not satisfactory.
The "=" and "\ne" aren't exactly aligned. If you compile and watch the index closely, you'll notice a small (and noticeable) offset. It's ugly.