Search found 73 matches

by tom
Mon Dec 02, 2013 11:44 pm
Forum: Text Formatting
Topic: Partial ToC for Chapters not displayed
Replies: 1
Views: 3955

Partial ToC for Chapters not displayed

Hi!

Use \addstarredchapter instead of \addcontentsline to add the list-of-figures and list-of-tables. Please see the minitoc documentation (page 36) for more details. Also, it is usually a good idea to reduce your document to a minimum. You might have been able to locate your problem right away ...
by tom
Mon Dec 02, 2013 11:09 pm
Forum: Graphics, Figures & Tables
Topic: Image in title page do not appear
Replies: 4
Views: 6461

Image in title page do not appear

Hello!

Place the following code on a separate line:

Code: Select all

\includegraphics[width=0.15\textwidth]{./logo.jpg}\\[1cm]
At the moment it is on the same line as the comment on line 88. Also make sure you have the file "logo.jpg"
by tom
Mon Dec 02, 2013 11:00 pm
Forum: General
Topic: Use of \includeonly for multiple input
Replies: 2
Views: 14358

Use of \includeonly for multiple input

Hi Astrid,

Command looks fine to me, just two things:


Don't forget to add \include in the document body
Be careful with underscores in filenames. You might have to specify an encoding .
The following code works for me, assuming the folder "subfolder" exists.

\documentclass{report ...
by tom
Mon Dec 02, 2013 10:38 pm
Forum: Page Layout
Topic: Sections and the maketitle
Replies: 1
Views: 2535

Sections and the maketitle

Hi!

I think you are confusing a few things here.


Maketitle is used for the title page only. You probably meant \tableofcontents .
Subheadings are only defined up to \subsubsection ( see here ), from there it's \paragraph . You could use the titlesec package to redefine paragraph and make it ...
by tom
Fri Nov 29, 2013 12:59 pm
Forum: Page Layout
Topic: Display Name at Top and Bottom of Letter
Replies: 2
Views: 3990

Display Name at Top and Bottom of Letter

A quick and easy solution is to add the name as part of the address.

Code: Select all

\address{My name\\ Street, CP City, Country}
by tom
Fri Nov 29, 2013 12:43 pm
Forum: LyX
Topic: How many points is single line spacing?
Replies: 1
Views: 4688

How many points is single line spacing?

Use \the to print the value:

Code: Select all

\documentclass[11pt]{article}
\begin{document}
\the\baselineskip
\end{document}
by tom
Tue Nov 12, 2013 3:32 am
Forum: LyX
Topic: tex template
Replies: 1
Views: 2013

Re: tex template

Did you try "File --> Import --> LaTeX (plain)"?
by tom
Tue Nov 12, 2013 2:54 am
Forum: General
Topic: Making layers in LaTeX
Replies: 1
Views: 1785

Making layers in LaTeX

Hi,

If I correctly understand what you mean by layer, then either \input{filename} or \include{filename} is what you are looking for. The only difference between the two is that include adds a page break ( \clearpage ). For example, you would create a master file where you load all packages and ...
by tom
Thu Sep 26, 2013 12:25 pm
Forum: Graphics, Figures & Tables
Topic: Suppress page break before table
Replies: 1
Views: 6825

Suppress page break before table

Hi!

The landscape environment will always add a page break. You can have sideways content in a portrait page using the rotating package. In that case, however, the table is not automatically broken at the margins. See example below.

\documentclass{article}
\usepackage{blindtext, rotating ...
by tom
Thu Aug 15, 2013 1:13 pm
Forum: Math & Science
Topic: vertical spacing gather
Replies: 15
Views: 16260

vertical spacing gather

Add the following line to your preamble:

Code: Select all

\renewcommand*{\arraystretch}{2.2}