Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hiding text in a Table of Figures

5,059 views
Skip to first unread message

Andrew

unread,
May 15, 2009, 10:26:35 AM5/15/09
to
Hi there,

I'm wondering how to only display certain parts of a caption's text in the
Table of Figures.

For example, in the text the caption might read:

"Figure 1.2: Distance-Time Plot [Jan 17]"

However, in the Table of Figures I do not want the part in the square
brackets to appear (Jan 17)

I want the Table of Figures to look like:

"Figure 1.2: Distance-Time Plot................15"

Is there a good way to do this? One possibility is to just delete the [Jan
17] off the Table of Figures once I know that I'm not going to update it
anymore, but this doesn't seem like the most elegant solution.

Thanks very much,

Andrew

DeanH

unread,
May 15, 2009, 12:16:00 PM5/15/09
to
see http://sbarnhill.mvps.org/WordFAQs/RunInSidehead.htm at the bottom of
this article about Style Separator. Obviously instead of Heading styel it
will be caption style.
So simply create your Caption as normal (the bit you want to appear in the
List of Tables/Figures. Beneath this add the text you want to include in the
caption but not the LOT/F. The insert the Spearator as described.
This does work as I use this all the time ;-)
Hope this helps
DeanH

Suzanne S. Barnhill

unread,
May 15, 2009, 12:09:35 PM5/15/09
to
See http://sbarnhill.mvps.org/WordFAQs/RunInSidehead.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Andrew" <And...@discussions.microsoft.com> wrote in message
news:BA4F90A9-1B19-4990...@microsoft.com...

Andrew

unread,
May 15, 2009, 2:09:03 PM5/15/09
to
Thanks so much, it's working perfectly now!

Shubiao

unread,
Sep 23, 2009, 8:03:01 AM9/23/09
to
But how can I hide middle part of the caption in the Table of Figures. For
example:

Figure 1.2: Distance-Time Plot [Jan 17] and More.

I want show:

Figure 1.2: Distance-Time Plot and More.

In the above, [Jan 17] is removed.

Can I do this? Please help.

Many thanks.

Wu

Stefan Blom

unread,
Sep 23, 2009, 8:21:02 AM9/23/09
to
See http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm. In particular, read the
"Customizing table of contents entries" section.

--
Stefan Blom
Microsoft Word MVP

"Shubiao" <Shu...@discussions.microsoft.com> wrote in message
news:F159B71E-C2D5-4FE0...@microsoft.com...

Shubiao

unread,
Sep 23, 2009, 8:54:01 AM9/23/09
to
Thanks, Stefan.

Would you have a simpler way to do it? I am struggling to follow the TC
field stuff as I haven't learnt how to use it.

In different captions of my figures (or tables), there will be different
sections of words I want to omit in the Table of Figures (in my case, I call
it List of Tables in my report). So, I feel it's different from Author,
Title, and Subtitles.

Can I still use styles to build the Table of Figures in this case?

I am gratful for your help.

Shubiao

Suzanne S. Barnhill

unread,
Sep 23, 2009, 11:30:17 AM9/23/09
to
For what you want, I don't see any alternative to using TC fields; you don't
have to use the StyleRef trick, but it does streamline the process. When you
have inserted the TC fields, you then insert a TOF, checking the box for
"Table entry fields" and clearing the box for "Styles." If you've used TC
fields for anything other than figure captions, then you're going to need to
include a table identifier as well (this will be included in both the TC
field and the TOC field that generates the TOF).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Shubiao" <Shu...@discussions.microsoft.com> wrote in message
news:E42E5FFA-B923-4C9C...@microsoft.com...

Shubiao

unread,
Sep 28, 2009, 9:09:01 AM9/28/09
to
I have been trying to learn TC field but am still having trouble to solve my
problems. The situation is: I have many tables in my report, and need to make
a "list of tables". The trouble is that in the captions or titles of my
tables, there are some descriptive or explanatory words I want to omit in the
"list of table". However, the words to be omitted may be in different places
of the captions. To illustrate I put some examples here (please notice the
text in {}. I use {} to indicate the text to be removed in the List of
Tables):

Table 1 Relative organ weights {(g/ 100 g body weight)} birds fed the
experimental diets.

Table 2 Microbiological counts {(log10 CFU/g digesta)} in intestinal content
on d 21 of experiment{1}

Table 3 One-way ANOSIM of ileal and caecal microbial communities associated
with dietary treatments. {The Global R statistic (bold) and significance
level (italics) are shown for comparisons with the control diet containing no
hardwood sawdust.}

I want to them to be listed as follow in the "list of tables" (the text in
the bracket {} above is omitted).

Table 1 Relative organ weights birds fed the experimental diets.

Table 2 Microbiological counts in intestinal content on d 21 of experiment

Table 3 One-way ANOSIM of ileal and caecal microbial communities associated
with dietary treatments

I am grateful if you could help on a step-by-step procedure to solve the
problem (using TC field is OK). I am desperate to get this done as my due
date is approaching very close!

Shubiao

Suzanne S. Barnhill

unread,
Sep 28, 2009, 9:50:37 AM9/28/09
to
You'll need to insert TC fields that include the exact text you want in the
list of tables, such as { TC "Table 1 Relative organ weights birds fed the
experimental diets" \f t }. Include the \f t switch in each entry.

Then insert a TOC field that includes table entry fields but not styles or
outline levels and has the same table identifier: { TOC \f t }.

If you use the Insert | Reference | Index and Tables dialog to insert the
TOC field instead of inserting it manually, the easiest way to do this is to
choose the Table of Figures tab, click the Options button, check the box for
"Table entry fields," and select T as the identifier

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Shubiao" <Shu...@discussions.microsoft.com> wrote in message

news:B6C9D6B6-50CF-4399...@microsoft.com...

Shubiao

unread,
Sep 28, 2009, 8:52:01 PM9/28/09
to

Thanks so much Suzanne.

I got all worked. Only a small thing there makes the list imperfect, i.e.,
the alignment of the page numbers of some tables are not with others (I know
it's not the problem of the method you told me). It occurs while the caption
length of the table is almost same as the width of the list or slightly
longer, then the pages will align to the left as shown below as an example (I
am not sure whether that can be shown similarly in the forum format).

Table 2.3 Relative organ weights birds fed the experimental diets ------ 24
Table 2.4 Relative organ weights of birds fed the experimental diets of
experiment 24

Could you help?

Many thanks,

Suzanne S. Barnhill

unread,
Sep 28, 2009, 11:08:41 PM9/28/09
to
Well, that has to do with your TOC formatting. If you've used a tab
character between the figure number and caption in your TC field, then you
need to insert a tab stop (or, better, a hanging indent) where you want the
captions (and runover lines) aligned. Then you need to add a right indent to
the TOC style so that the long captions will wrap short of the tab stop for
the page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Shubiao" <Shu...@discussions.microsoft.com> wrote in message

news:4BD35C75-EBF1-49C0...@microsoft.com...

Shubiao

unread,
Sep 29, 2009, 1:44:01 AM9/29/09
to
Thanks very much. All sorted.
0 new messages