# How to typeset nested radical/root expressions?

I'm writing my own math expression typesetting engine. I want to learn how to best typeset radical expressions. The choices actually apply to all radical expressions, however, nested radical expressions make the visual differences more clear.

1. Flush
2. Indent on Left & Right
3. Indent on Bottom
4. Indent on Left & Right & Bottom
• I hope this is used only in displays, otherwise there will certainly be a disruption in the baselines. that said, although it may not be traditional, i like the effect of (2) and ((4). (i will seek the opinion of a more skilled math editor, and report if i get an answer.) – barbara beeton Mar 2 at 23:23
• Can we see your MWE to understand better your question, please? – Sebastiano Mar 3 at 12:22
• @Sebastiano are you asking for TeX code? It is not TeX. What's not clear in the question? – an0 Mar 3 at 15:29
• @an0 Why, then, have you ask a question? I have not undersood. – Sebastiano Mar 3 at 15:56
• @Sebastiano 1. It is the most fitting subsite to ask questions about typesetting. I initially planned to post it on Math but they explicitly prohibit questions about typesetting. 2. It is actually TeX related. The math expression can be converted to TeX code like this 0+\sqrt{1+\sqrt{2+\sqrt{3}}}-4, however, the math semantics will be lost. – an0 Mar 3 at 16:13