Skip to content

Commit d750e1e

Browse files
authored
Merge pull request #64 from jhlegarreta/ITKSoftwareGuide-62
BUG: Fix Table 2.1 exceeding the page width.
2 parents b46f6be + 960378f commit d750e1e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

SoftwareGuide/Latex/Introduction/Installation.tex

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ \chapter{Configuring and Building ITK}
8585
\end{itemize}
8686

8787

88-
\ref{tab:CompileSupportTimeline} prints the compiler support timeline in ITK at
89-
the time of writing this guide:
90-
\begin{table}
88+
Table~\ref{tab:CompileSupportTimeline} prints the compiler support timeline in
89+
ITK at the time of writing this guide.
90+
91+
\begin{table}[h]
9192
\begin{center}
93+
\resizebox{\textwidth}{!}{
9294
\begin{tabular}{c c c c c c c c c c c c c c c c c}
9395
\toprule
9496
Compiler & 2011 & 2012 & 2013 & 2014 & 2015 & 2016 & 2017 & 2018 & 2019 & 2020 & 2021 & 2022 & 2023 & 2024 & 2025 & 2026 \\
@@ -100,14 +102,15 @@ \chapter{Configuring and Building ITK}
100102
GCC 4.9 & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{itkTableCellGreen} & \cellcolor{yellow} & \cellcolor{red} \\
101103
\bottomrule
102104
\end{tabular}
105+
}
103106
\end{center}
104107
\itkcaption[ITK Compiler Support Timeline]{ITK Compiler Support Timeline.
105108
\label{tab:CompileSupportTimeline}}
106109
\end{table}
107110

108111
\textbf{Legend}:
109112

110-
\begin{table}
113+
\begin{table}[h]
111114
\begin{center}
112115
\begin{tabular}{l}
113116
\cellcolor{itkTableCellGreen}Fully supported \\

0 commit comments

Comments
 (0)