# Why my table caption shift line! [closed]

\documentclass[conference]{IEEEtran}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\hyphenation{op-tical net-works semi-conduc-tor IEEEtran}
\begin{document}
\begin{table}[h!]
\caption{Arnold period in different size images}
\setlength{\tabcolsep}{8pt}
\renewcommand{\arraystretch}{1.5}
\centering
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
Size N & 4*4 & 8*8 & 32*32 & 64*64 & 128*128 & 256*256\\
\hline
Period M & 3 & 6 & 24 & 48 & 96 & 192\\
\hline
\end{tabular}
\end{table}
\end{document}


## closed as unclear what you're asking by egreg, John Kormylo, Przemysław Scherwentke, user31729, user36296Jun 14 '16 at 0:20

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Which shift do you mean? And it's not necessary to post a screen shot of the code after you have already posted (a fragment only) code ;-) – user31729 Nov 17 '15 at 22:19
• caption is below table I, I want them in the same line – user92322 Nov 17 '15 at 22:22
• You're apparently using a document class where the header “Table 1” is printed above the caption text (which is then printed uppercase). Without knowing what document class, it's impossible to say more. If the document is meant for submission and you're forced to use that class, don't worry at all and do as they want. – egreg Nov 17 '15 at 22:26
• @user92322 If you have to use IEEE format, do it. – egreg Nov 17 '15 at 22:30
• If you have been told to use IEEE then not only do you need to use it, you need to not interfere with its formatting. That is, you aren't meant to change the format of captions etc. That is the point of telling you to use that class. It ensures that e.g. the captions of all articles in a journal or proceedings are formatted in the same way. Individual authors don't get to choose their formats because the result would be a mess. – cfr Nov 17 '15 at 22:46