Search found 73 matches

by tom
Thu Jun 12, 2014 7:51 am
Forum: Graphics, Figures & Tables
Topic: Figures
Replies: 1
Views: 2975

Figures

Hi Muhammed,

Just use the optional argument [ht] to figure . If there is still too much space between the heading and the figure, use a negative vspace to move the figure up. Also, consider the subfig package for a better alignment of multiple figures.

\documentclass[a4paper,12pt]{article}
\begin ...
by tom
Thu Jun 12, 2014 7:36 am
Forum: LyX
Topic: Bibliography per chapter
Replies: 1
Views: 3170

Bibliography per chapter

Use either the chapterbib or biblatex package. You can find minimal working example through Google...
by tom
Thu Jun 12, 2014 7:25 am
Forum: Graphics, Figures & Tables
Topic: Graphics
Replies: 1
Views: 2878

Graphics

Use {minipage} or the subfigure, subfig or subcaption package.

See here for a code example.
by tom
Sat Jan 25, 2014 4:31 pm
Forum: Page Layout
Topic: Right justify ToC title
Replies: 1
Views: 3488

Right justify ToC title

You'd have to change \@tocrmarg as shown in the example below.

Code: Select all

\documentclass[11pt]{article}
\usepackage{tocloft}
\makeatletter
\renewcommand{\@tocrmarg}{18em}
\makeatother
\begin{document}
\tableofcontents
\section{this is a really long title of a section}
\end{document}
by tom
Fri Jan 17, 2014 3:58 am
Forum: General
Topic: Failed to find file "C\Users\..."
Replies: 1
Views: 2964

Re: Failed to find file "C\Users\..."

Just by looking at the error, I would say a path is set wrongly. Windows paths usually start with C:\...

My guess is you accidentally changed something in the editor settings, but it is really hard to know with the information you gave.
by tom
Thu Jan 16, 2014 3:44 pm
Forum: Graphics, Figures & Tables
Topic: Graph with nodes.
Replies: 2
Views: 6857

Graph with nodes.

Replace

Code: Select all

edge [bend left] node[right] {180} (3)
with

Code: Select all

edge [bend left=60] node[above] {180} (3)
HTH, Tom
by tom
Thu Jan 16, 2014 3:30 pm
Forum: TeX Live and MacTeX
Topic: No formula.sty
Replies: 6
Views: 11118

No formula.sty

A few remarks that might help fix your problem:


You can download both packages from CTAN: formula , ulsy .
Did you try placing the sty file in your project directory?
If you install a new package , you'll have to update the source tree
To see if the formula package is installed try:
tlmgr ...
by tom
Thu Jan 16, 2014 2:19 pm
Forum: General
Topic: quotation
Replies: 2
Views: 2598

quotation

You might want to keep an extra text or tex file with the common content and load it through \input.

Code: Select all

\documentclass[11pt]{article}
\usepackage{blindtext}
\begin{document}
\blindtext\input{common.txt}\blindtext
\end{document}
by tom
Mon Jan 13, 2014 8:10 pm
Forum: Text Formatting
Topic: Change of Font Size in multi-page Table
Replies: 4
Views: 22880

Change of Font Size in multi-page Table

Thanks for pointing out that using the environment approach to change the font size might lead to unexpected results. Just as a side note, it's generally better to use \par in order to avoid problems.

\documentclass{article}
\usepackage[nopar]{lipsum}% dummy text
\begin{document}
\lipsum[1 ...
by tom
Mon Jan 13, 2014 7:46 pm
Forum: LyX
Topic: How to add "exam" to document class?
Replies: 19
Views: 25267

How to add "exam" to document class?

Hi Joe,

You have to be a bit more specific about the problem you are facing.

Below is some example code taken from the exam documentation.

\documentclass{exam}

\begin{document}

\begin{center}
\fbox{\fbox{\parbox{5.5in}{\centering
Answer the questions in the spaces provided on the
question ...