Subscript text, meanwhile, appears slightly below the regular text line: Formatting text as superscript makes it appear slightly above the regular text line. Superscript and subscript both affect the placement of text compared to other text in a document. Superscript and Subscript in Microsoft Word But what do these formatting options do? And how do you select them? In this post, we explain the basics.
Microsoft Word has options to apply superscript, subscript, and strikethrough to text in a document. The expression () command allows you to build strings that incorporate these features.Superscript, Subscript and Strikethrough in Microsoft Word You may also need to use bold or italics (the latter especially for species names). Superscript and subscript are particularly important for scientific graphs. When to use superscript and subscript in graphs? The most common thing you’ll want to do in axis labels is to make superscripts and subscripts. Would appear like “The ~ character forms spaces” when used in titles or text. If you display an expression () result R will place a single space (for clarity) between various elements of your expression (). axis labels or text within a graph) in a Base R graphic. Note that you may add a superscript to any other kind of text (e.g. As you can see, the main title of the plot contains a superscript. In R, the operator for superscripts is ‘hat’ (or, more correctly, ‘caret’) so ‘ r squared’ is written r^2.Ĭan you add a superscript to a plot in R?įigure 1 shows the output of the previous R syntax. For these you need to master the expression function.
How to write axis labels with subscripts and superscripts?Īxis Labels Containing Subscripts and Superscripts The default xlab and ylab do not allow subscripts like r2 or superscripts or xi.
For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. Select the character that you want to format. To make text appear slightly above (superscript) or below (subscript) your regular text, you can use keyboard shortcuts. If you want to delete the axes labels you can set them to a blank string or set the ann argument to FALSE. However, you can change them with the xlab and ylab arguments. How do you change the axis of a plot in R?īy default, R will use the vector names of your plot as X and Y axes labels. On the Font tab, under Effects, select the Superscript or Subscript checkbox.On the Home tab, in the Font group, pick the Dialog Box Launcher.
If you want more text as superscript, then enclose it in quotes. The superscript continues until you use a * or ~ character. Superscript is “started” by the caret ^ character. When to use superscript and subscript in graphs?.