Hi helllo,
Don't post random bits of code, instead post full a MWE that people can easily compile to see the problem.
For your current question, use the align environment provided by the amsmath package
\documentclass[a4paper,11pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
f ...
Search found 192 matches
- Tue Aug 17, 2010 6:00 pm
- Forum: Text Formatting
- Topic: space in equations
- Replies: 6
- Views: 3701
- Mon Aug 02, 2010 2:06 pm
- Forum: Graphics, Figures & Tables
- Topic: manual positioning of several pdfs on one page
- Replies: 12
- Views: 9805
Re: manual positioning of several pdfs on one page
You could treat the input pdfs as figures, and use the 'subfig' package to create an array.
In this way you can control their position and size relative to the first input pdf.
In this way you can control their position and size relative to the first input pdf.
- Mon Aug 02, 2010 1:07 am
- Forum: Graphics, Figures & Tables
- Topic: manual positioning of several pdfs on one page
- Replies: 12
- Views: 9805
Re: manual positioning of several pdfs on one page
This seems like an ugly way, but assuming you are on a unix based system, have the source tex files and are scripting so don't mind doing a few commands on each file.
For each 'input' file:
1) Use latex to create dvi a file.
2) Run "dvips -E file.dvi" on each file create a ps file with a tight ...
For each 'input' file:
1) Use latex to create dvi a file.
2) Run "dvips -E file.dvi" on each file create a ps file with a tight ...
- Mon Aug 02, 2010 12:42 am
- Forum: BibTeX, biblatex and biber
- Topic: In-text citation: Change [1][2][3][4] to [1]-[4]
- Replies: 3
- Views: 4453
In-text citation: Change [1][2][3][4] to [1]-[4]
The "cite" package will do what you want, although you will need to slightly alter how you input multiple citations.
will output [1-4]
Code: Select all
\cite{1,2,3,4}
- Sun Jul 25, 2010 3:55 pm
- Forum: Math & Science
- Topic: Matrix within a matrix
- Replies: 4
- Views: 5603
Matrix within a matrix
As another option, try using the 'cases' environment together with the 'pmatrix' environment provided by the amsmath package.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
F^+(U) =
\begin{cases}
\begin{pmatrix}
\rho\\
\rho u\\
\rho v
\end{pmatrix} & \mbox{$x \geq 0$};\\[5ex ...
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
F^+(U) =
\begin{cases}
\begin{pmatrix}
\rho\\
\rho u\\
\rho v
\end{pmatrix} & \mbox{$x \geq 0$};\\[5ex ...
- Fri Jul 23, 2010 7:29 pm
- Forum: General
- Topic: why use scons or make?
- Replies: 4
- Views: 3034
why use scons or make?
I created a custom makefile for my thesis, mainly to save time and typing. I use latex->ps->pdf, with each step including a few options/flags. Initially I had aliases for the two conversions and one to do latex;bibtex;latex;latex.
The makefile groups everything together, was a bit of an academic ...
The makefile groups everything together, was a bit of an academic ...
- Fri Jul 23, 2010 4:38 pm
- Forum: Graphics, Figures & Tables
- Topic: Change page layout in sideways figures/tables
- Replies: 6
- Views: 4263
Change page layout in sideways figures/tables
The fancyhdr package provides a special page style for float only pages (see p14 of the manual)
http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/
\documentclass{article}
\usepackage{rotating}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{fancyhdr}
\pagestyle ...
http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/
\documentclass{article}
\usepackage{rotating}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{fancyhdr}
\pagestyle ...
- Fri Jul 23, 2010 3:32 pm
- Forum: Graphics, Figures & Tables
- Topic: Change page layout in sideways figures/tables
- Replies: 6
- Views: 4263
Change page layout in sideways figures/tables
You need to put the pagestyle outside of the float environment
Code: Select all
\documentclass{article}
\usepackage[british]{babel}
\usepackage{rotating}
\begin{document}
Text
\newpage
\thispagestyle{empty}
\begin{sidewaystable}[p]
\caption{This is a caption}
\end{sidewaystable}
\clearpage
Text
\end{document}
- Thu Jul 22, 2010 12:23 pm
- Forum: Math & Science
- Topic: Writing an algorithm in two columns
- Replies: 3
- Views: 8919
Re: Writing an algorithm in two columns
No problem, welcome to the board.
Once your problem is solved, the convention is to edit the subject of your initial post to include the green tick/check symbol.
Once your problem is solved, the convention is to edit the subject of your initial post to include the green tick/check symbol.
- Wed Jul 21, 2010 3:34 pm
- Forum: Math & Science
- Topic: Writing an algorithm in two columns
- Replies: 3
- Views: 8919
Writing an algorithm in two columns
Try using the multicol package to switch from one to two columns. The second and third packages are just to provide text to show the different column layout
\documentclass{article}
\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin ...
\documentclass{article}
\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin ...