Bold on figure and table caption, and other related issue.Please help me..:(

32 views
Skip to first unread message

Mohd Sharizan Md Sarip

unread,
Jun 15, 2016, 2:42:45 AM6/15/16
to LaTeX for UTM Thesis
Dear all,

i have problem regarding format as SPS highlighted to me. Please help me :

a) How to add Figure and table bold ...
b) How to remove ":" or titik bertindik  symbol on Figure caption.
c) How to bold Pages number on the chapter name in the table of contents.

Thanks in advance

sharizan

Y.S. Yap

unread,
Jun 15, 2016, 2:46:47 AM6/15/16
to utmthesi...@googlegroups.com
Hi Sharizan,

For issues (b) and (c), it would require a bit of tinkering in the utmthesis.cls file.  

Sorry but I do not understand the problem (a).  Can you elaborate please?

Yap


~~~
A lie can travel half way around the world while the truth is putting on its shoes.
Mark Twain
~~~

--
To post to this group, email to utmthesi...@googlegroups.com
To unsubscribe, email to utmthesis-disc...@googlegroups.com
For more, visit http://groups.google.com/group/utmthesis-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "LaTeX for UTM Thesis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utmthesis-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Y.S. Yap

unread,
Jun 20, 2016, 9:16:09 AM6/20/16
to utmthesi...@googlegroups.com
Hi Sharizan, how's your problem? Manage to solve it?

Yap



Hi dr Yap,
i already edited cls file..but it working only on the certain figure ...not all..
i edited this part:
% Copied from book.cls:
%   \@makecaption  - defines table/figure caption formatting
%
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{\bfseries #1: \normalfont #2}%  change caption label to bold, period.
  \ifdim \wd\@tempboxa >\hsize
    \textbf{#1} #2\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}

Thanks in advance for your help


~~~
A lie can travel half way around the world while the truth is putting on its shoes.
Mark Twain
~~~

weikang tey

unread,
Jul 29, 2016, 10:15:19 PM7/29/16
to LaTeX for UTM Thesis
Hi,

I faced the same problem.
For problem (a), I think Mr. Sharizan meant he wanted to bold the word 'Figure' or 'Table' in the caption (as required in the LATEST UTM Thesis Manual), and it is not fixed in the latex template.

example:
OLD - Figure 1.1: This is a figure
NEW - Figure 1.1     This is a figure  (replaced ':' with a tab)

Please advice.
Thank you.

Y.S. Yap

unread,
Jul 29, 2016, 10:22:24 PM7/29/16
to utmthesi...@googlegroups.com
Hi Wei Kang,

To change both, this would require some modification to the utmthesis.cls file..
I dont remember where or what to change unless i open it.

If you have the chance, maybe you might want to try it out?  
Try finding for the word "Figure" or "Table" in file and if it looks like the right one, feel free to try editing it..

Yap




~~~
A lie can travel half way around the world while the truth is putting on its shoes.
Mark Twain
~~~

--

Y.S. Yap

unread,
Aug 2, 2016, 2:33:05 AM8/2/16
to utmthesi...@googlegroups.com
Hi Wei Kang,

I would like to ask about the colon mark for the Figures.. 
Did the postgraduate clerk asked you about this problem?  We actually think that this is actually a typo mistake in the UTM Thesis Template.

Yap


~~~
A lie can travel half way around the world while the truth is putting on its shoes.
Mark Twain
~~~

Reply all
Reply to author
Forward
0 new messages