APS House Style
From time to time, you may encounter chemical or mathematical variables within the text that require you to use codes to indicate to the printer how they should appear in their final print form. This includes places in the text where terms are double superscripted, double subscripted, or stacked or use mathematical functions such as integrals, summation, or square roots. This section details how to construct these complex codes so that the printer can recognize and correctly "translate" the code to the proper form of the variable.
The "{" and "}" symbols indicate to Codecheck that complex coding is being used. There should be an arrow (↑ ↓ ↨) within the braces to indicate positioning of the variable.
The following table lists the coding structure, an example of how the exact (printed) version of the structure should appears, and the exact code that was used to generate the print version. When you are constructing your variables, all you have to do is substitute your specific variables.
Complex Code Description | Sample | Coding |
---|---|---|
Subscripted superscript | P{↓^{14}C} | |
Superscripted subscript | A{↑t_{0}} | |
Double subscript | Pa{↓O_{2}} | |
Double superscript | X{↑b^{7}} | |
Stacked superscript-subscript | K{o↨'} | |
Integration | «integ»«/integ»dx | |
Integration with lower limit | «integ»↓t«/integ»dx | |
Integration with upper limit | «integ»↑y«/integ»dx | |
Integration with both limits | «integ»t↨y«/integ»dx | |
Summation | «summ»«/summ»x^{2} | |
Summation with lower limit | «summ»↓x = 2«/summ»x^{2} | |
Summation with upper limit | «summ»↑n«/summ»x^{2} | |
Summation with both limits | «summ»n↨x«/summ»x^{2} | |
Square root | «rt»9«/rt» | |
Cube root | «rt3»9«/rt3» |
Note that you can change an in-text equation that becomes too complex into a display equation. All that you need to do is change the equation to the letters "ZZZ" and then hand edit the former in-text equation just as you would any other display equation.