Search found 4 matches

by ahallam
Sat Aug 22, 2009 2:42 am
Forum: General
Topic: \newline (or equivalent) inside a \caption
Replies: 17
Views: 75968

Re: \newline (or equivalent) inside a \caption

Something was strange with texhash. The only copy I had of caption.sty was 3.1 but I still saw 3.0 in list file. I recopied the other sty files associated with caption.sty to the directory and reran texhash and not everything is great. Thanks.
by ahallam
Fri Aug 21, 2009 7:10 am
Forum: General
Topic: \newline (or equivalent) inside a \caption
Replies: 17
Views: 75968

\newline (or equivalent) inside a \caption

If you add this line to the file I posted, then the caption appears correctly...

Well, that depends on what you mean by "correctly". The standard LaTeX document classes (article, report, and book) automatically center a caption if it fits in one single line, but treat it as a normal text ...
by ahallam
Fri Aug 21, 2009 1:34 am
Forum: General
Topic: \newline (or equivalent) inside a \caption
Replies: 17
Views: 75968

Re: \newline (or equivalent) inside a \caption

If you add this line to the file I posted, then the caption appears correctly.

\usepackage[lmargin=0.5in, rmargin=0.5in, vmargin=1.0in]{geometry}


\documentclass[12pt]{article}
\usepackage[font=sl,labelfont=bf]{caption}

\begin{document}

\begin{table}[!ht]
\centering
\caption[]{\bfseries Iowa ...
by ahallam
Thu Aug 20, 2009 11:57 pm
Forum: General
Topic: \newline (or equivalent) inside a \caption
Replies: 17
Views: 75968

Re: \newline (or equivalent) inside a \caption

Any idea about margins and the use of caption.

Consider the following two files.

\documentclass[12pt]{article}
\usepackage[font=sl,labelfont=bf]{caption}

\begin{document}

\begin{table}[!ht]
\centering
\caption[]{\bfseries Iowa State University\\College of Liberal Arts \& Sciences \\Replacement ...