So, if I make a normal-small-whatever table, everything is fine. I also know the trick for a "sidewaystable" if I want too many rows in my table and of course the width of the page is ending at last, so I must put it in the side.
But, in this case, I am trying to build a table that is 10*7 for example. I do not want it to be sideways. I am assuming that it will need a whole page in length-height, but that does not matter. If I want a table to fit in 4, 5 or even 10 whole pages in a row it must be possible. Like in every other editor, like Word, etc.
In my case, in the following code, the resulting outcome is the table (in the form that I want it) but it is too tiny and the text inside the cells can not be seen properly. I can adjust the width, but I can not do anything at all for the length-height. I figured out the command \renewcommand{\arraystretch}{8} but it resulted in a different mess. The table eventually was bigger but the words and generally the letters in the cells did not change at all.
Simply, as I see it, the table has the same space either it is 3x3 or 10x7 and that is the reason that if I try to make a big table it just appears in the space for a small table.
Please, help me build the table as in the 5th page of the link: https://docplayer.net/20821469-Bacterial-classification-structure-and-function.html It is the same table that I want to include in my Thesis and that is only an example. I want to be able to learn how to build tables like these.
I did not include the commands \usepackage{} because I have too many and I do not know which I am suppose to include here, but I am very sure that I have all the necessary packages. Also, I am writing in XelaTeX.
\documentclass[twoside, a4paper, 11pt]{article}
\usepackage[figuresright]{rotating}
\renewcommand{\baselinestretch}{1.2}
\usepackage[top=2.5cm, left=2.5cm, right=2.5cm, bottom=2.5cm, headheight=1.25cm, footskip=1.25cm, margin=1in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[english, greek]{babel}
\usepackage{ragged2e}
\justifying
\usepackage{fontspec}
\usepackage{array}
\usepackage{hyperref}
\usepackage{tabularx}
\usepackage{booktabs}
\hypersetup{
colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
urlcolor=black,
pdftitle={},
pdfauthor={},
pdfpagemode=FullScreen,
}
\urlstyle{same}
\setmainfont{Times New Roman}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{alphabeta}
\usepackage{afterpage}
\usepackage{esint}
\usepackage{graphicx}
\graphicspath{ {./Images/} }
\usepackage{adjustbox}
\usepackage{tabularx}
\usepackage{appendix}
\usepackage{listings}
\usepackage{color}
\usepackage{tcolorbox}
\usepackage{changepage}
\usepackage{subfigure}
\usepackage{setspace}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage{multirow}
\usepackage{cite}
\usepackage{minted}
\setlength{\parindent}{0em}
\usepackage{caption}
\captionsetup[figure]{name=Figure}
\captionsetup[table]{name=Table}
\usepackage{float}
\usepackage{chngcntr}
\counterwithin{table}{section}
\counterwithin{figure}{section}
\newenvironment{dedication}
{\clearpage
\thispagestyle{empty}
\vspace*{\stretch{1}}
\itshape
\raggedleft
}
{\par
\vspace{\stretch{3}}
\clearpage
}
\renewenvironment{abstract}
{\par\noindent\textbf{\abstractname}\ [0.4cm] \ignorespaces}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\LARGE\bfseries}{Chapter~\thesection :}{1em}{}
\begin{document}
\begin{table}[hbt]
\centering
\tabcolsep=0.5cm
\begin{adjustbox}{width=1.1 \textwidth}
\begin{tabular}{||c|c|c|c|c|c||}
\hline
\multicolumn{6}{||c||}{\textbf{\textit{Gram Positive Bacteria}}} \
\hline\hline
\textbf{Name} & \textbf{Morphology} & \textbf{$O_2$ requirements} & \textbf{Commensal} & \textbf{Reservoirs / Sites of Colonization, Transmission} & \textbf{Types of Infections} \ \hline
Staphylococci & Cocci in grape-like clusters & facultative anaerobe & Yes & Skin, nares / endogenous, direct contact, aerosol & Soft tissue, bone, joint, endocarditis, food poisoning \ \hline
Streptococci & Cocci in pairs, chains & facultative anaerobe & Some species & Oropharynx, skin / endogenous, direct contact, aerosol & Skin, pharyngitis, endocarditis, toxic shock \ \hline
Pneumonococci & Diplococci, lancet shaped & facultative anaerobe & Yes / No & Oropharynx, sinus / aerosol & Pneumonia, otitis, sinusitis, meningitis \ \hline
Enterococci & Cocci in pairs, chains & facultative anaerobe & Yes & GI tract / endogenous, direct contact & UTI, GI, catheter-related infections \ \hline
Bacilli & Rods, spore-forming & aerobic & Yes / No & Soil, air, water, animals / aerosol, contact & Anthrax, food poisoning, catheter-related infections \ \hline
Clostridia & Rods, spore formers & anaerobic & Some Species & GI tract, soil / Breach of skin, endogenous, ingestion & Tteanus, diarrhea, gas gangrene, botulism \ \hline
Corynebacterium & Rods, nonspore forming & facultative anaerobe & Some species & Skin & Catheter-related infections, diphtheria \ \hline
Listeria & Rods, nonspore formers & facultative anaerobe & No & Animals, food products / Ingestion & Meningitis \ \hline
Actinomyces & Irregular, filamentous, form sulfur granules & anaerobic & Yes & GI tract / endogenous & Skin, soft tissue \ \hline
\end{tabular}
\end{adjustbox}
\caption{Gram Positive Bacteria.}
\label{Tab:Gram Positive Bacteria}
\end{table}
\end{document}




\usepackage{adjustbox}(although it is better to follow DavidCarlisle's advise and drop the adjustbox. – Teepeemm Nov 21 '23 at 21:14subfigureis obsolete package, instead it usesubfigor even bettersubcaption, it is suficient to load packages only ones, hyperref` should be loaded last in preamble .... – Zarko Nov 22 '23 at 18:33