You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/paper.md
+33-8Lines changed: 33 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -113,24 +113,49 @@ The goal of Open Journals is to provide authors with a seamless and pleasant wri
113
113
114
114
Tables and figures can be referenced if they are given a *label* in the caption. In pure Markdown, this can be done by adding an empty span `[]{label="floatlabel"}` to the caption. LaTeX syntax is supported as well: `\label{floatlabel}`.
115
115
116
-
Link to a float element, i.e., a table or figure, with `\ref{identifier}` or `\autoref{identifier}`, where `identifier` must be defined in the float's caption. The former command results in just the float's number, while the latter inserts the type and number of the referenced float. E.g., in this document `\autoref{proglangs}` yields "\autoref{proglangs}", while `\ref{proglangs}` gives "\ref{proglangs}".
116
+
For example:
117
+
118
+
119
+
```markdown
120
+
: Comparison of programming languages used in the publishing tool. \label{proglangs}
121
+
122
+
| Language | Typing | Garbage Collected | Evaluation | Created |
Link to a float element, i.e., a table or figure, with `\ref{identifier}` or `\autoref{identifier}`, where `identifier` must be defined in the float's caption. The former command results in just the float's number, while the latter inserts the type and number of the referenced float. E.g., for this example:
Cross-references to equations work similarly to those for floating elements. The difference is that, since captions are not supported for equations, the label must be included in the equation:
129
153
130
154
$$a^n + b^n = c^n \label{fermat}$$
131
155
132
-
Referencing, however, is identical, with `\autoref{eq:fermat}` resulting in "\autoref{eq:fermat}".
156
+
Referencing, however, is identical, with `\autoref{eq:fermat}` resulting in [Equation 1](#eq:fermat).
133
157
158
+
(eq:fermat)=
134
159
$$a^n + b^n = c^n \label{eq:fermat}$$
135
160
136
161
Authors who do not wish to include the label directly in the formula can use a Markdown span to add the label:
0 commit comments