Search found 14 matches

by FrankZA
Fri Oct 09, 2009 11:00 am
Forum: General
Topic: Spacing in List of Algorithms
Replies: 2
Views: 11131

Spacing in List of Algorithms

I managed to figure out how to fix this problem. To get the spacing right between algorithms in the same chapter, add the line \addtocontents{loa}{\vskip 6pt} after your caption.

If the algorithm is the last one in the chapter, add an ADDITIONAL
\addtocontents{loa}{\vskip 9pt} after the previous ...
by FrankZA
Tue Oct 06, 2009 4:34 pm
Forum: General
Topic: Spacing in List of Algorithms
Replies: 2
Views: 11131

Spacing in List of Algorithms

I am using the algorithms package for my pseudocode. The only problem I encounter is in the List of Algorithms. The spaces between the items in the list do not correspond to the spacing in the List of Figures or the List of Tables. How can I make the List of Algorithms look the same?

I have ...
by FrankZA
Tue Oct 21, 2008 1:08 pm
Forum: Document Classes
Topic: titlesec - Removing a section's rule when it starts a page
Replies: 1
Views: 2646

Re: titlesec - Removing a section's rule when it starts a page

I have searched the titlesec documentation but have been unable to find anything. Has anyone been able to bypass this problem?
by FrankZA
Wed Oct 01, 2008 2:24 pm
Forum: Document Classes
Topic: titlesec - Removing a section's rule when it starts a page
Replies: 1
Views: 2646

titlesec - Removing a section's rule when it starts a page

I am currently using the titlesec package in order to personalise my chapter and section headings with these commands:

\titleformat{\section}
{\titlerule
\vspace{.8ex}%
\normalfont\Large\bfseries} {\thesection}{.5em}{}

\titleformat{\chapter}[display]
{\normalfont\Large\filcenter\sffamily ...
by FrankZA
Fri Jun 27, 2008 12:07 pm
Forum: General
Topic: "If" statements in LaTeX... Possible?
Replies: 3
Views: 3878

"If" statements in LaTeX... Possible?

The ifpdf package works very well for this problem and I see Heiko Oberdiek has allowed for integration with the ifthen package.

I currently have the following code working:

\usepackage{ifpdf}
\ifpdf
\usepackage{Style-PDF}
\usepackage{hyperref}
\usepackage[all]{hypcap}
\else
\usepackage{Style ...
by FrankZA
Fri Jun 27, 2008 9:51 am
Forum: General
Topic: How do I make a matrix(4x4) with a square bracket
Replies: 6
Views: 46127

Re: How do I make a matrix(4x4) with a square bracket

Cool, will have to look into it.
by FrankZA
Fri Jun 27, 2008 9:44 am
Forum: General
Topic: "If" statements in LaTeX... Possible?
Replies: 3
Views: 3878

Re: "If" statements in LaTeX... Possible?

Thanks Thorsten

I appreciate the help.
by FrankZA
Fri Jun 27, 2008 9:42 am
Forum: General
Topic: How do I make a matrix(4x4) with a square bracket
Replies: 6
Views: 46127

How do I make a matrix(4x4) with a square bracket

Using the \left and \right commands allows you to choose different "boundaries". For example when creating a conditional equation:

$\left|x\right| = \left\{\begin{array}{cl}
x & \textrm{if}\ x \geq 0\\
-x & \textrm{if}\ x < 0
\end{array}\right.$

But I suppose that is a completely different ...
by FrankZA
Fri Jun 27, 2008 9:32 am
Forum: General
Topic: "If" statements in LaTeX... Possible?
Replies: 3
Views: 3878

"If" statements in LaTeX... Possible?

I have a tricky question. I am busy working on a document that I would like to compile directly to PS and PDF for various reasons.

Is it possible to include if -statements in my code to do something like the following:

IF compiling to PDF THEN
\usepackage{PDFstyle}
\usepackage{hyperref}
ELSE IF ...
by FrankZA
Fri Jun 27, 2008 9:19 am
Forum: General
Topic: How do I make a matrix(4x4) with a square bracket
Replies: 6
Views: 46127

How do I make a matrix(4x4) with a square bracket

Easy.

Code: Select all

$\left[\begin{array}{cccc}
w1 & w2 & w3 & w4	\\
x1 & x2 & x3 & x4	\\
y1 & y2 & y3 & y4	\\
z1 & z2 & z3 & z4
\end{array}\right]$
You can choose your bracket type by simply changing the symbol after the \left and \right commands.