简体   繁体   English

Latex 图号的标题问题

[英]Caption issue with Latex Figure numbers

I'm working with Overleaf (Online Latex Editor) and I have an issue with captions when I add a new figure.我正在使用 Overleaf(在线 Latex 编辑器),并且在添加新图形时遇到了字幕问题。 It generates automatically the figure number but it's bad written.它会自动生成数字编号,但写得不好。

This is my code when I add a new figure:这是我添加新图形时的代码:

\begin{figure}[h!]
    \centering
    \includegraphics[scale=0.29]{Git_Dashboard.PNG}
    \caption{Dashboard du projet Serious Game sur InnerSource}
\end{figure}

And this is the ouput:这是输出:

Figure 1.: Dashboard du projet Serious Game sur InnerSource图 1:Dashboard du projet Serious Game sur InnerSource

I have Figure 1.: and I would like to get Figure 1: or just Figure 1 .我有Figure 1.:我想得到Figure 1:或者只是Figure 1

How I can solve this issue?我该如何解决这个问题?

You can define a name for your figure with the lable command.您可以使用 label 命令为您的图形定义名称。

Try to add this after your \caption{..} command: \lable{fig: Figure 1}尝试在您的 \caption{..} 命令之后添加它: \lable{fig: Figure 1}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM