- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 17 anni, 7 mesi fa da .
-
Topic
-
Salve ragazzi,mi scuso per la mia insistenza con le tabella, ma proprio “non ce la fo”
Come faccio a centrare la seconda colonna in questa tabella?
Si potrebbe strutturare meglio?Saluti e molte grazie per la pazienza.
`\documentclass[]{scrreprt} %Classe Koma-script
\usepackage{amsmath,amssymb}
\usepackage[sepfour]{siunitx}
\sisetup{per=slash, unitsep=thin}
\usepackage{calc}
\usepackage{array}
\usepackage{booktabs}
\makeatletter
\newcolumntype{v}[1]{>{\raggedright\arraybackslash\hspace{0pt}}p{#1}}
\newcolumntype{w}[1]{>{\centering\arraybackslash\hspace{0pt}}p{#1}} %definisce in tabluar l´allineamento centrato
\makeatother\begin{document}
\begin{table}[]
\centering
\footnotesize
\begin{tabular}{v{0.31\columnwidth-2\tabcolsep}w{0.20\columnwidth-2\tabcolsep}v{0.49\columnwidth-2\tabcolsep}}
\toprule
Source & $k_\mathrm{h}$ & Notes\\
\midrule
Terzaghi, 1950, quoted in Kramer, 1996 & 0.10 \newline 0.20 \newline 0.50 & Intensity IX on the Rossi-Forel scale \newline Intensity X on the Rossi-Forel scale \newline Catastrophic earthquakes\\
Seed an Martin, 1966 & 0.12 to \newline 0.25 & For large dams in Japan (values reduced by \SI{50}{\percent} for empty reservoirs) \\
Marcuson, 1981, quoted in Kramer, 1996 & 1/3 to \newline 1/2 of $a_\mathrm{max}/g$ & Including amplification or deamplification effects \\
Seed, 1979 &0.10 \newline 0.15 & Magnitude 6.5 with $\mathit{FS}=1.15$ \newline Magnitude 8.25 with $\mathit{FS}=1.15$\\
Hynes-Griffin and Franklin, 1984 & 0.5$\cdot a_\mathrm{max}/g$ & For $M<8$ and with $\mathit{FS}=1.0$ displacements limited to less than \SI{1}{\metre}\\
\bottomrule
\end{tabular}
\end{table}
\end{document}`
- Devi essere connesso per rispondere a questo topic.