Search found 4 matches

by mojin
Sun Mar 01, 2009 11:20 pm
Forum: Text Formatting
Topic: How to put a box around multiple lines.
Replies: 1
Views: 52742

How to put a box around multiple lines.

I just want to put a box around multiple lines. But I couldn't find a proper way to do it. Here is what I did,

\fbox{
$\begin{array}{l}
Given\; the\; vectors\; {\bf p}\; and\; {\bf n}\; as\; input,\; and\;
the\;
function\; {\sl f},\\ find\; the\; scalar\; \lambda\; that\; minimizes\; f({\bf
p ...
by mojin
Sun Mar 01, 2009 8:59 pm
Forum: Graphics, Figures & Tables
Topic: Why the caption is always aligned at the left?
Replies: 5
Views: 5004

Why the caption is always aligned at the left?

thanks to all guys. The file is built upon a template. After some test, I found the following command

Code: Select all

\makeatletter
make the caption align at the left.
by mojin
Sun Mar 01, 2009 6:58 pm
Forum: Graphics, Figures & Tables
Topic: Why the caption is always aligned at the left?
Replies: 5
Views: 5004

Why the caption is always aligned at the left?

Thanks for your response. But I couldn't find caption.sty in my computer. I added the following lines, but it's still rendering the caption to the left.

\usepackage{amsmath} % need for subequations
\usepackage{graphics}
\usepackage{verbatim} % useful for program listings
\usepackage{color} % use ...
by mojin
Sun Mar 01, 2009 10:48 am
Forum: Graphics, Figures & Tables
Topic: Why the caption is always aligned at the left?
Replies: 5
Views: 5004

Why the caption is always aligned at the left?

I found in all my figures and tables, all captions are aligned at the left. But I really want to align them at the center. I don't know where to set it?

Here are the code that I used

\usepackage{graphics}

\begin{figure}
\begin{center}
\includegraphics[height=150mm]{flowchart.eps}
\caption ...