Graphics, Figures & TablesAlignment at decimal Marker

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
imdadullah

Alignment at decimal Marker

Post by imdadullah »

Are respected member!
I have to problems
(1)
I want to have table column heading in center, while other rows on right align, how it can be done.

(2)
In table I want to align the column at decimal in number. how it can be done.

Code: Select all

\clearpage
\setlength\tabcolsep{3pt}
\begin{table}[hbpt]
\begin{small}
\begin{doublespacing}
\begin{center}
\caption{Impact of influential cases on the Liu coefficients}\label{tab4.2}
\begin{tabular}{p{.3in}p{0.8in}p{0.8in}p{0.8in}p{0.8in}p{0.8in}p{0.8in}} \toprule[1.5pt]
(CO) & Full data & \multicolumn{5}{c}{Case Deleted} \\ \cline{3-7}
     &  & \eqref{eq4.4} & \eqref{eq4.5} & \eqref{eq4.10} & \eqref{eq4.15} & \eqref{eq4.16} \\ \midrule
$\hat{\beta }_{1,d}$ & 10.7610 & -54.8987  & 27.7191 & 32.1990  & 0.3419 & -29.0864 \\
     & & $(610.16\%)^{RC}$ &(-157.58\%) & (-199.22\%) & (96.82\%) & (370.29\%) \\

$\hat{\beta }_{2,d}$ & -0.0282 & -0.0157 & -0.0751 & -0.0160 & -0.0299 & -0.0176 \\
& & (44.27\%) & (-166.1\%) & (43.15\%)& (-5.84\%) & (37.64\%)  \\

$\hat{\beta }_{3,d}$ & -1.9061 & -1.7263  & -2.5713 & -1.6183  & -2.0048  & -1.8127  \\
& & (9.43\%) & (-34.9\%) & (15.10\%) & (-5.18\%) & (4.90\%) \\

$\hat{\beta }_{4,d} $ & -0.9998 & -1.0257 & -1.2165  & -0.8631  & -1.0559  & -0.9108  \\
& &(-2.58\%) & (-21.67\%) & (13.68\%) & (-5.61\%) &  (8.90\%) \\

$\hat{\beta}_{5,d}$ & -0.0758 & -0.2087 & 0.1321  & -0.0284  & -0.1460 & 0.0357 \\
& & (-175.39\%)& (274.28\%) & (62.47\%) & (-85.55\%) & (147.14\%)\\
$\hat{\beta }_{6,d}$ & 1699.384 & 1749.791 & 2441.185 & 1280.252  & 1857.491  & 1405.00\\
& & (-2.97\%) & (-43.65\%) & (24.66\%) &(-9.30\%) &(17.32\%) \\ \bottomrule[1.5pt]
\end{tabular}
\end{center}
(CO)= Coefficients; and RC = \% of Relative change
\end{small}
\end{table}

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