I want to make a new table caption as
Table L-1. This is a table caption
Currently, I am using the below code, but it has large margin between character and number as "Table L- 1". Could you help me to make a professional table caption as above requirement
This is my code
\captionsetup[table]{labelfont={bf},labelformat={default},labelsep=period,name={Table L-}}
\begin{table}
\captionsetup{labelfont={bf}}
\caption{This is a table caption}
\begin{tabular}{@{} lcccccc @{}} % suppress vertical whitespace at start and end
\end{tabular}
\label{labelhere}
\end{table}
Best Answer
Change format only in caption label
You can make use of
\DeclareCaptionLabelFormat
from thecaption
package, see section 4 of thecaption
manual.You can use either
or simply
Change format in both caption label and references
If you want the table counter to have the format "L-1" as well, you can simply use
\renewcommand{\thetable}{L-\arabic{table}}
as in the below MWE:which gives the output