Graphics, Figures & TablesBars on Top of Symbols collide with Table Rules

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
clarinetist
Posts: 11
Joined: Sun Nov 18, 2012 8:20 pm

Bars on Top of Symbols collide with Table Rules

Post by clarinetist »

This problem is more of an aesthetics problem, more than anything. Here's how the output looks on my computer at the 100% view on Adobe Reader.
AR-100.png
AR-100.png (29.58 KiB) Viewed 4849 times
If I zoom this in to 200% on Adobe Reader, I get this.
AR-200.png
AR-200.png (50.21 KiB) Viewed 4849 times
So, it looks like the table rule by \hline is hiding the bars on top of the Z symbols. Is there any way I can move those symbols down a little bit in their cells?

Code: Select all

\documentclass[12pt]{book}
\usepackage{lifecon}
\usepackage{amsmath}
\usepackage{array}
\usepackage{pdflscape}

\begin{document}
  \begin{landscape}
    \begin{tabular}{
      |>{\centering\arraybackslash}p{3cm}
      |>{\centering\arraybackslash}p{3cm}
      |>{\centering\arraybackslash}p{4cm}
      |c|c|
    } \hline 
      $\bar{Z}_{x:\lcroof{n}}$ & Endowment Insurance & Pays 1 at $n$ years or the moment of death if death occurs within $n$ years, whichever comes first & $\bar{Z}_{x:\lcroof{n}} = {\bar{Z}}^{1}_{x:\overline{n}|} + \lcend{Z}{x}{n}$ & $\bar{A}_{x:\lcroof{n}} = {\bar{A}}^{1}_{x:\overline{n}|} + {}_{n}E_{x}$ \\ \hline 
    \end{tabular}
\end{landscape}
\end{document}
Thank you.

FYI: You may have to download the lifecon package.
Last edited by localghost on Sat Aug 31, 2013 2:13 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

clarinetist
Posts: 11
Joined: Sun Nov 18, 2012 8:20 pm

Bars on Top of Symbols collide with Table Rules

Post by clarinetist »

Never mind - problem solved here.
Post Reply