If you want numbered headings to be underlined, but do not want a line under the number, it can be difficult if you don't know how it works. This is because by default, the format of the number follows the format of the text that follows it. For example, let's say you want to underline a paragraph in a Heading 2 style. Chances are it will look like this:
Because this document has facing pages, we want to insert page numbers on both the left and right pages. For now, navigate to the bottom-right corner of the right-hand page by zooming in (Ctrl + [Windows] or Cmd + [Mac]). Select the Type Tool (T) from the Tools Panel (Window > Tools) and drag to create a small text frame, resting the top of the frame against the margin.

^ Caravia, Antonio (1867). Colección de leyes, decretos y resoluciones gubernativas, tratados tratados internacionales, acuerdos del Tribunal de apelaciones y disposiciones de carácter permanente de la República Oriental del Uruguay (HARVARD COLLEGE LIBRARY DEC 24 1915 LATIN AMERICAN PROFESSORSHIP FUND. ed.). Montevideo: Imp. a vapor de LA TRIBUNA. p. 278. Retrieved 30 March 2017.
The Standard Book Numbering (SBN) code is a 9-digit commercial book identifier system created by Gordon Foster, Emeritus Professor of Statistics at Trinity College, Dublin,[3] for the booksellers and stationers WHSmith and others in 1965.[4] The ISBN configuration of recognition was generated in 1967 in the United Kingdom by David Whitaker[5] (regarded as the "Father of the ISBN"[6]) and in 1968 in the United States by Emery Koltay[5] (who later became director of the U.S. ISBN agency R.R. Bowker).[6][7][8] numbering using indesign