Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/highlight.tex
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Line(s) | |||||
272 | 272 | | |||
273 | % Close brackets correctly in some commands (see bug #415384) | 273 | % Close brackets correctly in some commands (see bug #415384) | ||
274 | \input{\a{}} | 274 | \input{\a{}} | ||
275 | \cites{ text { text } text } | 275 | \cites{ text { text } text } | ||
276 | 276 | | |||
277 | % Parentheses within [ ... ] (see bug #418979) | 277 | % Parentheses within [ ... ] (see bug #418979) | ||
278 | \cite[eq. (1.1)]{some_reference} | 278 | \cite[eq. (1.1)]{some_reference} | ||
279 | \cite[eq. \(x^n + y^n = z^n\)]{some reference} | 279 | \cite[eq. \(x^n + y^n = z^n\)]{some reference} | ||
280 | | ||||
281 | % Close folding correctly in "\end{...}" and in region markers (see bug #419125) | ||||
282 | \begin{document} | ||||
283 | \begin{abstract} | ||||
284 | | ||||
285 | \end{abstract} | ||||
286 | | ||||
287 | \begin{itemize} | ||||
288 | \item[\(\bullet\)] | ||||
289 | %% BEGIN something | ||||
290 | Here are some text describiing a new theorem. In the equation | ||||
291 | \begin{equation} | ||||
292 | E = mc^2 | ||||
293 | \end{equation} | ||||
294 | we have a solution for energy-mass equivalence. | ||||
295 | %% END | ||||
296 | | ||||
297 | \item[\(\bullet\)] | ||||
298 | \begin{align*} | ||||
299 | B(z) &= p^r \sum_{k \geq 0} \binom{-r}{k} (-1)^k (1 - p)^k z^k \\ | ||||
300 | B(z) &= p^r \sum_{k \geq 0} \binom{-r}{k} (-(1-p) z)^k | ||||
301 | \end{align*} | ||||
302 | \end{itemize} | ||||
303 | \end{document} |