How to increase the space between two tables in latex?

Member

by domenico , in category: Third Party Scripts , 3 days ago

How to increase the space between two tables in latex?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by giovanny.lueilwitz , 3 days ago

@domenico 

To increase the space between two tables in LaTeX, you can use the command space{length} between the tables, where "length" is the desired space in a length unit such as cm, in, pt, etc. Here is an example of how to add extra space between two tables in LaTeX:


documentclass{article}


egin{document}


egin{table} centering egin{tabular}{|c|c|} hline Table 1 & Data hline 1 & A 2 & B 3 & C hline end{tabular} end{table}


space{1cm}


egin{table} centering egin{tabular}{|c|c|} hline Table 2 & Data hline 4 & D 5 & E 6 & F hline end{tabular} end{table}


end{document}


In this example, space{1cm} adds a 1cm space between the two tables. You can adjust the length to suit your specific needs.