Graphics, Figures & TablesDashed lines not column length / vertical ticks

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latex_ffm
Posts: 1
Joined: Sun Jul 26, 2015 12:15 pm

Dashed lines not column length / vertical ticks

Post by latex_ffm »

Hi, I have two issues with designing a table that until now I'm unable to sort out, so perhaps someone has some friendly advice:

1. How can I add a row in a column, that spans the entire width of the column. My current code only partly extends the entire width (see code below).

2. I'd like to add vertical ticks along a scale as show in my attachment, under the "Altitude" column. Again, unable to resolve this issue.

Hopefully someone can help!

Cheers.

Code: Select all

\begin{table}[ht]
\centering
\caption{Stratification of Earth's atmosphere}
\label{table: stratification}
\begin{tabular}{|l|l|l|l|l|}
\hline
Altitude {[}km{]}                                                           & Stratification                                                                                          & Ionization                                                                                                & Propagation                                                            & Technical                                                                             \\ \hline
\begin{tabular}[c]{@{}l@{}}100 000\\ 10 000\\ 1 000\\ 100\\ 10\end{tabular} & \begin{tabular}[c]{@{}l@{}}Thermosphere \\ \hdashline[6pt/1pt] \\ Mesosphere\\ \\ Stratosphere\\ \\ Troposphere\end{tabular} & \begin{tabular}[c]{@{}l@{}}Protonosphere \\ (Plasmasphere)\\ \\ Ionosphere\\ \\ Neutrosphere\end{tabular} & \begin{tabular}[c]{@{}l@{}}Ionosphere\\ \\ \\ Troposphere\end{tabular} & \begin{tabular}[c]{@{}l@{}}Upper\\ Atmosphere\\ \\ \\ Lower\\ Atmosphere\end{tabular} \\ \hline
\end{tabular}
\end{table}
Attachments
Table with dashed lines and vertical ticks
Table with dashed lines and vertical ticks
Screen Shot 2015-07-26 at 12.21.35.png (78.51 KiB) Viewed 3076 times

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

Post Reply