Search found 192 matches

by php1ic
Tue Aug 17, 2010 6:00 pm
Forum: Text Formatting
Topic: space in equations
Replies: 6
Views: 1832

Re: space in equations

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\star ...
by php1ic
Mon Aug 02, 2010 2:06 pm
Forum: Graphics, Figures & Tables
Topic: manual positioning of several pdfs on one page
Replies: 12
Views: 3667

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.
by php1ic
Mon Aug 02, 2010 1:07 am
Forum: Graphics, Figures & Tables
Topic: manual positioning of several pdfs on one page
Replies: 12
Views: 3667

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 t...
by php1ic
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: 2482

Re: 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.
  1. \cite{1,2,3,4}

will output [1-4]
by php1ic
Sun Jul 25, 2010 3:55 pm
Forum: Math & Science
Topic: Matrix within a matrix
Replies: 4
Views: 3687

Re: 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] \...
by php1ic
Fri Jul 23, 2010 7:29 pm
Forum: General
Topic: why use scons or make?
Replies: 4
Views: 1771

Re: 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 exe...
by php1ic
Fri Jul 23, 2010 4:38 pm
Forum: Graphics, Figures & Tables
Topic: Change page layout in sideways figures/tables
Replies: 6
Views: 2203

Re: 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{\iffloatpag...
by php1ic
Fri Jul 23, 2010 3:32 pm
Forum: Graphics, Figures & Tables
Topic: Change page layout in sideways figures/tables
Replies: 6
Views: 2203

Re: Change page layout in sideways figures/tables

You need to put the pagestyle outside of the float environment \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}
by php1ic
Thu Jul 22, 2010 12:23 pm
Forum: Math & Science
Topic: Writing an algorithm in two columns
Replies: 3
Views: 5916

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.
by php1ic
Wed Jul 21, 2010 3:34 pm
Forum: Math & Science
Topic: Writing an algorithm in two columns
Replies: 3
Views: 5916

Re: 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{multicols}{...

Go to advanced search