Thanks for advice. I'll give it a try and compare.localghost wrote:It's preferable to use the \centering command instead of the center environment in order to avoid additional vertical space (which is mostly unwanted in cases like this). This would also evade the problem you described here.
Search found 7 matches
- Thu Feb 17, 2011 10:31 pm
- Forum: Graphics, Figures & Tables
- Topic: Hyperref shows section number instead of table number.
- Replies: 4
- Views: 5258
Hyperref shows section number instead of table number.
- Wed Feb 16, 2011 8:38 pm
- Forum: Graphics, Figures & Tables
- Topic: Hyperref shows section number instead of table number.
- Replies: 4
- Views: 5258
Hyperref shows section number instead of table number.
Bingo and thanks! My centering command had displaced the label from the caption.
Before (wrong):
\begin{table}[htbp]
\begin{center}
\includegraphics[width=5in]{t-name.pdf}
\linespread{1}
\caption{This is the caption}
\end{center}
\label{t-name}
\end{table}
After (fixed!):
\begin{table}[htbp ...
Before (wrong):
\begin{table}[htbp]
\begin{center}
\includegraphics[width=5in]{t-name.pdf}
\linespread{1}
\caption{This is the caption}
\end{center}
\label{t-name}
\end{table}
After (fixed!):
\begin{table}[htbp ...
- Wed Feb 16, 2011 8:25 pm
- Forum: Graphics, Figures & Tables
- Topic: Hyperref shows section number instead of table number.
- Replies: 4
- Views: 5258
Hyperref shows section number instead of table number.
This is strange.
I've set up references to show \section.\table for all figures and tables with:
\numberwithin{table}{section}%for tables
I've got Table 1.1, 1.2, 1.3, 2.1, 2.2, 2.3 ... 17.1, 17.2 etc. All tables are numbered correctly and all \ref{t-name} in the body text work (shows 2.1, 3.1 ...
I've set up references to show \section.\table for all figures and tables with:
\numberwithin{table}{section}%for tables
I've got Table 1.1, 1.2, 1.3, 2.1, 2.2, 2.3 ... 17.1, 17.2 etc. All tables are numbered correctly and all \ref{t-name} in the body text work (shows 2.1, 3.1 ...
- Thu Dec 09, 2010 9:23 pm
- Forum: General
- Topic: Create text string commands for forms?
- Replies: 6
- Views: 6674
Re: Create text string commands for forms?
Thanks for this. Next time I'll make the example compilable as per minimal working example.
The numbers were appearing because I had numbers in the variables. It would spit out the numbered variables, where defined, as a row of numbers and values. In the body text, the numbered variables just show ...
The numbers were appearing because I had numbers in the variables. It would spit out the numbered variables, where defined, as a row of numbers and values. In the body text, the numbered variables just show ...
- Thu Dec 09, 2010 12:13 am
- Forum: General
- Topic: Create text string commands for forms?
- Replies: 6
- Views: 6674
Create text string commands for forms?
Ok thanks. I think I understand what a minimal example is now and will work on making one. I'm on the right track, but will make an isolated file to see better.
Am I limited to nine "\newcommand" s in a row? Here's the list with only the variables and definitions changed:
% FILL IN THE FIELDS ...
Am I limited to nine "\newcommand" s in a row? Here's the list with only the variables and definitions changed:
% FILL IN THE FIELDS ...
- Wed Dec 08, 2010 11:29 pm
- Forum: General
- Topic: Create text string commands for forms?
- Replies: 6
- Views: 6674
Create text string commands for forms?
Hi Thorsten,
Thanks for welcoming me. I'm struggling a little with learning latex and couldn't describe the way in which it output my first example. Sometimes it output the variable I defined as a text string, and sometimes it simply output a number instead of my text string (maybe after the ninth ...
Thanks for welcoming me. I'm struggling a little with learning latex and couldn't describe the way in which it output my first example. Sometimes it output the variable I defined as a text string, and sometimes it simply output a number instead of my text string (maybe after the ninth ...
- Wed Dec 08, 2010 5:05 pm
- Forum: General
- Topic: Create text string commands for forms?
- Replies: 6
- Views: 6674
Create text string commands for forms?
Hello,
I'd like to be able to set strings as commands at the top of a doc, so that one can enter all the pertinent info at the top of the doc and then insert those strings into a preformatted document.
EG:
\newcommand{\Author}{pgeezer}
This document was created by \Author .
and have "pgeezer ...
I'd like to be able to set strings as commands at the top of a doc, so that one can enter all the pertinent info at the top of the doc and then insert those strings into a preformatted document.
EG:
\newcommand{\Author}{pgeezer}
This document was created by \Author .
and have "pgeezer ...