File: function_argument_syntax.tex

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\documentclass{article}
\usepackage{latexml}
\begin{document}

% explicitly marked up application of three functions, each accepting a bare argument (= without fences)
\makeatletter
\iflatexml\else\gdef\@APPLYFUNCTION{}\fi
$f \@APPLYFUNCTION g \@APPLYFUNCTION h \@APPLYFUNCTION x$

% trigonometry bare arguments, tend to be parsed through a different path and need their own test
$\sin xy$

$\sin \pi\times x\cos 2\pi\times y$

% partial bare arguments surrounded preceded by multiplication
% 
$\times \sin xyz$


\end{document}