General ⇒ Section headings and figure captions
Section headings and figure captions
a couple of loose ends I have concerning my Latex document (note that I am using the IEEEtran.cls template):
1) How do I change how the section heading are displayed? Currently its centred and displays the header as III. Section Name. I'd prefer it to be left-aligned and displayed as 3. Section Name.
2) The caption for my figures is currently - Fig. 1. (with a period at the end). I'd prefer it to be Figure 1: and the caption is bolded. I tried \renewcommand{\figurename}{Fig.} but I got an error saying it doesn't know what \figurename is.
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
Section headings and figure captions
Code: Select all
\def\theequation{\arabic{equation}} % 1
Code: Select all
{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\scshape}}%
Code: Select all
\def\figurename{Figure}
Code: Select all
\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1:}~~ #2}%
Code: Select all
\def\fnum@figure{\textbf{\figurename~\thefigure}}
Code: Select all
\documentclass[compsoc]{IEEEtran}