am using this: %%% https://tex.stackexchange.com/a/97188/27721


and would like to use (that is, integrate into the above) sth like that:


(which is taken from David's tabularx manual)





Expanded the question with proper MWE here:

  • 1
    Have you tried {>{\hsize=1.5\hsize}Z>{\hsize=0.5\hsize}Z}?
    – Mico
    Jul 14 '15 at 9:24
  • 1
    Just use the Z column you have defined? Jul 14 '15 at 9:25
  • Instead of *{1}{p{\mylengthydate}}*{1}{X}*{1}{Z}, it's perfectly OK to write p{\mylengthydate} X Z.
    – Mico
    Jul 14 '15 at 9:30
  • @Mico Syntactically, how could I add {>{\hsize=1.5\hsize}Z>{\hsize=0.5\hsize}Z} or equivalent to the section before \begin{document}? To integrate it with \newcolumntype or sth else? Jul 14 '15 at 9:37

Assuming you want the X column to be three times as wide as the Z column -- as well as the Z column type being defined as in your query above and there being no whitespace to the left of the first column or to the right of the final column -- you could set up the structure of the tabularx environment as follows:

begin{tabularx}{\textwidth}{@{} p{\mylengthydate} 
                                >{\hsize=0.5\hsize}Z @{}}
  • In more LaTeX sense >{\setlength\hsize{1.5\hsize}}X ...
    – Zarko
    Jul 14 '15 at 10:10
  • @Zarko - I feel comfortable with the syntax proposed in the user guide of the tabularx package...
    – Mico
    Jul 14 '15 at 14:14

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.