I am trying to use rst for documentation, but I am not able to find good and definite reference. What is the order of symbols for underline and overline in font-size order (ascending/descending)? I have read wikipedia article that mentions
Header
======
Sub-header
----------
But when I try this in an online rst editor(I am not sure how trustworthy this is) and change order, the font-size(header order)
seems to depend on the order in which these headers come(i.e. first one gets <h1>, next one gets <h2> etc.) irrespective of the symbols (- or =) used.
Also, when I use them for overlines, they have different font-sizes for those with only underline and those with both underline & overline(useing same symbol, - or =). In other words, overline also affects the output. If other symbol is used, that too affects the font-sizes. And to increase the confusion, I have seen the use of symbols like * and # too and they too seem to affect the sizes.
But, on trying with all of them, I am still not able to map any of these symbols to a definite heading/font-size. I am also not able to understand what effect does the order of their appearance has. And not to forget, how does the use of overlines play in?