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 3116 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply