Hi, I have problem with a table when using revtex4. I need the text to be vertically centered in the cells. If I don't use revtex4 (i.e. using class report), it works using \begin{tabular}{ | m{5em} | m{1cm}| m{1cm} | } but if I use revtex4 it doesn't work anymore. Any ideas ? I really need to keep revtex4. Thanks !
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
The result is, from what I gathered via a quick glance, something that effectively un-does what array is supposed to be doing regarding table layout (and this is one effect/side-effect).
I was able to fake it out putting \parbox[m]{5em}{...} around the text that should wrap lines, and then it worked:
JBClaypool wrote:Try \documentclass[aps,amsmath,showkeys,superscriptaddress]{revtex4-2}
Looks like there was an update, and I was able to compile it after doing that.
revtex4-2 does exactly the same thing. My fix above works with 4, 4-1, and 4-2 (and in fact I tested it with 4-2).
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p