I've written a document with some complex formulars in it. I find the distance or the margin between a decoration of a variable, in this case a tilde and the line of the fraction, in which it stands to be too small. Here is a screenshot to show what I am talking about:

enter image description here

The red arrow points to the very small margin between a tilde and the line of a fraction. Note that this is already quite zoomed in, so usually in 100% zoom, it would look like this:

enter image description here

So I'd like to increase the margin in general. If there is decoration on my variables below the line of a fraction, that should be calculated into how far below my variable stands / how much margin there is.

How can I change that?


To reproduce the process of creation I used, you'd have to use a Jupyter Notebook. However, I'll paste the math-mode code here, maybe it's still the same, when you use different tools, since it's based on Latex anyway:

$c^{-}_k = \left\{\begin{array}{cl}
    \infty &\text{falls } \tilde{a}_{\sigma(k),j} \leq 0, \forall j \neq k\\
    \substack{\min\\j} \left\{ \frac{\tilde{c}_j} \tilde{a}_{\sigma(k),j}}: \tilde{a}_{\sigma(k), j} > 0, j \neq k \right\} &\text{sonst}


The suggested adding of \vphantom{\big|} did bring improvement indeed:

enter image description here

(upper image after insertion, lower image before insertion) The whole formular increased in size, but that was to be expected I guess. Quite an increase in size though. I am aware that this is a rather not so good practice, since I'd have to add a vphantom in every single fraction I ever write. If anyone knows another tex way of doing this for all formulars, I'd appreciate it, even if you can't reproduce the issue, if you know how to increase that space in general, please tell.

closed as off-topic by egreg, user13907, Martin Schröder, Kurt, Svend Tveskæg Nov 28 '15 at 13:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – egreg, Community, Martin Schröder, Kurt, Svend Tveskæg
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! I can't reproduce the issue; can you please show a minimal example of code? – egreg Nov 27 '15 at 23:10
  • @egreg Thanks! Added my math-mode code for the expression. – Zelphir Nov 28 '15 at 10:50
  • What's Jupiter Notebook? – egreg Nov 28 '15 at 11:07
  • @egreg Jupyter is jupyter.readthedocs.org/en/latest : ) – Zelphir Nov 28 '15 at 12:29
  • Sorry, the program doesn't seem to use TeX, but it just shares the syntax. The rendering is up to the program and we can do nothing on the TeX side. Try adding a phantom, for instance \vphantom{\big|} in the denominator. – egreg Nov 28 '15 at 12:36