Graphics, Figures & TablesBold Table Counter

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

Bold Table Counter

Post by bkarpuz »

Dear LC members,

I am using the following code to rename the table in Turkish.

Code: Select all

\def\tablename{\textbf{Tablo}}
However, in this case it is bold but when I call a table
which has been labelled before, my output shows "Tablo 1: Text here" (where "1:" is not bold). This looks a bit odd. How can I make the counter and the double dot after it bold?

Thanks a lot.
bkarpuz

PS. Sorry for my post bombs.
Last edited by bkarpuz on Fri Feb 10, 2012 9:58 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bold Table Counter

Post by localghost »

Don't think so complicated and use the caption package for customization of float captions.

Code: Select all

\documentclass[11pt,turkish]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[labelfont=bf,tableposition=top]{caption}

\begin{document}
  \begin{table}
    \caption{Dummy Table}\label{tab:dummy}
    \centering
    \rule{6.4cm}{3.6cm}
  \end{table}
\end{document}

Thorsten
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

Bold Table Counter

Post by bkarpuz »

localghost wrote:Don't think so complicated and use the caption package for customization of float captions.

Code: Select all

\documentclass[11pt,turkish]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[labelfont=bf,tableposition=top]{caption}

\begin{document}
  \begin{table}
    \caption{Dummy Table}\label{tab:dummy}
    \centering
    \rule{6.4cm}{3.6cm}
  \end{table}
\end{document}

Thorsten
Thank you very much localghost, it works great!

Best regards.
bkarpuz
Post Reply