I am new in Latex,so i have seen similar question but none of them work for me. I have a table which has a huge margin, or padding before and after it.
I am using Spring template Here is the code:
\documentclass[runningheads,a4paper]{llncs}
\usepackage{amssymb}
\setcounter{tocdepth}{2}
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{float}
\usepackage{verbatimbox}
\usepackage{url}
\begin{document}
Here is some text of mine. Text,Text,Text,Text,
\begin{table}\addvbuffer[0pt 0pt]
\centering
\caption{OCTAVE}
\begin{tabular}{ | l | l | l | p{5cm} |}
\hline
Evaluation of likelihood &Number of times the event happened in last year \\ \hline
Very High & More than three times in a year \\ \hline
High & Two or three times in a year \\ \hline
Medium & Once in a year \\ \hline
Low & Three or four times in the last year \\ \hline
Very Low & one or two times in the last year \\ \hline
\hline
\end{tabular}
\end{table}
Here is some text of mine. Text,Text,Text,Text,
\end{document}
I need to remove the extra space between them, and make margin and padding as 0px
.
This solution suggests using addvbuffer[0pt 0pt]
, to control the space
but when i use it as 0pt
it does not change anything
verbatimbox
of which you mention nothing. Thus we need the full minimal example so we can replicate your problem.llncs
class has a higher space above and below ah
float than normal classes. This is by design. If you are writing something to be submitted to Springer, leave this setting alone, and in general leave the layout alone. If you mess too much with the layout you'll just end up pissing of the Springer editors who will have to revert your changes back to their design.