Last active
October 11, 2024 12:44
-
-
Save mariohuq/134a3d3d68e6c06491fed1046e6d8ed6 to your computer and use it in GitHub Desktop.
подпись к таблице по госту
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Table \ref{demo-table} has a caption: | |
\begin{table} | |
\begin{center} | |
\caption{Your caption} | |
\label{demo-table} | |
\begin{tabular}{||c c c c||} | |
\hline | |
Col1 & Col2 & Col2 & Col3 \\ [0.5ex] | |
\hline\hline | |
1 & 6 & 87837 & 787 \\ | |
\hline | |
2 & 7 & 78 & 5415 \\ | |
\hline | |
3 & 545 & 778 & 7507 \\ | |
\hline | |
4 & 545 & 18744 & 7560 \\ | |
\hline | |
5 & 88 & 788 & 6344 \\ [1ex] | |
\hline | |
\end{tabular} | |
\end{center} | |
\end{table} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Код ниже нужно поместить в преамбулу (перед \begin{document}) | |
% 4.3.1 - 4.3.3 Иллюстрации | |
% Подпись по умолчанию слева (для таблиц, листингов и т.п.) | |
\usepackage{caption} | |
% Длинное тире в качестве разделителя | |
\DeclareCaptionLabelSeparator*{emdash}{\space---\space} | |
% Между подписью и рисунком 10pt | |
\captionsetup{labelsep=emdash,aboveskip=10pt,belowskip=0pt,position=bottom} | |
% У рисунков выравнивание по центру | |
\captionsetup[figure]{justification=centering} | |
% Подпись к рисунку | |
\DeclareCaptionLabelFormat{figure}{Рисунок #2} | |
\captionsetup[figure]{labelformat=figure} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment