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

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} 
  • simple and nice, thx but if i want make third column with align top right – chose Aug 1 '16 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 '16 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.