我想保留左侧标题的标签格式,但将标题文本置于图形上方/下方的中心。
\documentclass[12pt]{scrartcl}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage[ngerman]{babel}
\usepackage[left=2.5cm,right=2.5cm,
top=2.5cm,bottom=2.5cm]
{geometry}
\usepackage{caption}
\usepackage{float}
\begin{document}
\begin{table}[H]
\centering
\captionsetup{justification = raggedright,
singlelinecheck = false,
labelsep=period,
font={stretch=1.25}}
\begin{tabular}{c c}
text & text\\
\end{tabular}
\caption{here is some text.\\
here is some text again}
\end{table}
\end{document}
我想要的是: