Graphics, Figures & Tableshow to insert list inside table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tawfik44
Posts: 1
Joined: Wed Nov 16, 2022 12:11 pm

how to insert list inside table

Post by tawfik44 »

hi, i want to insert items list inside advantages column, do anyone help me, how ?
this is the code

Code: Select all

\begin{table*}[]
\caption{Comparison of battery types}
\label{tab:my-table}
\resizebox{\textwidth}{!}
{
\begin{tabular}{c c c c c c c c c c c c c c} 
 \\
\hline
%\rowcolor[HTML]{C0C0C0} 
\begin{tabular}[c]{@{}c@{}}Battery Type
\end{tabular} & \begin{tabular}[c]{@{}c@{}}Specific \\ Energy\\ (Wh/kg)\end{tabular} & \begin{tabular}[c]{@{}c@{}}Energy \\ Density\\ (Wh/L)\end{tabular} & \begin{tabular}[c]{@{}c@{}}Specific\\  Power\\ (W/kg)\end{tabular} & \begin{tabular}[c]{@{}c@{}} Life \\ Cycle \end{tabular} & \begin{tabular}[c]{@{}c@{}}Efficiency\\(\%) \end{tabular} & \begin{tabular}[c]{@{}c@{}}Operating \\ Temperature\\ (^{\circ} C)\end{tabular} & \begin{tabular}[c]{@{}c@{}}Nominal \\ Voltage\\ V\end{tabular} & \begin{tabular}[c]{@{}c@{}}Memory\\ Effect\end{tabular} & Advantages & Disadvantages & \begin{tabular}[c]{@{}c@{}} Cost\\(\$/KWh)\end{tabular} & \multicolumn{1}{c}{\cellcolor Application} \\ \hline
Lead acid & 30-50 & 60-100 & 200-400 & 2000-4500 & 70-90 & -20 to +60 & 2 & &  & & 120-150 &                                    
\\ 
Ni-MH & 50-70 & 100-140 & 150-300 & 500-3000 & 50-80 & -40 to +50 & 1.25 & & & & 150-200 &                                
\\ 
Ni-Cd & 40-50 & 80-100 & 150-350 & 2000-3000 & 60-90 & -40 to +60 & 1.25 & & & & 300-350 & 
\\ 
Zebra & 86 & 149 & 150 & 2500-3000 & 80 & 250 to 350 & 2.58 & & & & 160-300 &  
\\ 
Li-ion & 120-140 & 240-280 & 200-300 & 1500-4500 & 70-85 & -20 to +60 & 3 & & & & 150-1300 &  
\\ 
Li-Po & 155 & 200 & 315 & $>$1200 & 70 & -20 to +60 & 3.7 & & & &  $>$125 & 
\\ 
NMC & 150 & 300 & & 3000 & 90–95 & -20 to +55 & 3.8–4 & & & & & 
\\ 
NCA & 240 & 670 & & 500 & & -20 to +60 & 3.65 & & & & & 
\\ 
LEP & 130 & 247 & & 3600 & & -30 to +55 & 3.3 & & & & &        
\\ 
LTO & 90 & 200 & & 15000 & & -30 to +55 & 2.3-2.5 & & & & &
\\ 
Li-air & 1300-2000 & 1520-2000 & & 100 & & -10 to +70 & 2.3-2.5 & & & & &
\\ \hline
\end{tabular}
}
\end{table*}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

how to insert list inside table

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

That code is incomplete and cannot be tested, a reader cannot insert a list here and try if it works. Perhaps that's why you did not get a solution. Better post a Infominimal working example.

Without making or testing code, I can suggest that you use p columns or cells or \parbox in the table, so you can put the itemize list into a paragraph box.

Stefan
LaTeX.org admin
Post Reply