1
\begin{tabularx}{\textwidth}{>{\raggedright\arraybackslash}Xr}
\textbf{Sample Text\hfill\break next line} & aligin bottom right \\ \hline
\end{tabularx}

how to make second column align bottom right, now it is align top right

something like this

enter image description here

1 Answer 1

1

You could issue the instruction \renewcommand{\tabularxcolumn}[1]{b{#1}} after loading the tabularx package.

enter image description here

\documentclass{article}
\usepackage{tabularx}
\renewcommand{\tabularxcolumn}[1]{b{#1}}
\begin{document}
\noindent
\begin{tabularx}{\textwidth}{>{\raggedright}X r}
\textbf{Sample Text\hfill\break next line} 
& align bottom right \\ 
\hline
\end{tabularx}
\end{document} 
2
  • simple and nice, thx but if i want make third column with align top right
    – chose
    Aug 1, 2016 at 15:56
  • 2
    @chose - I'm a notoriously poor psychic: I've never been any good at answering questions that aren't actually asked... :-) It would help if you edited your posting to show which table structure you're actually interested in.
    – Mico
    Aug 1, 2016 at 16:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .