git.iko.soy/typeable/pandoc
on ab792fa help sign in
56 lines 1.3 kB history raw
1`\hspace` and `\vspace` should count as both block and inline.
3Here they need to be inline:
4```
5% pandoc -f markdown+raw_tex -t native
6\begin{figure}
7\includegraphics{lalune.jpg}
8\caption{lalune \hspace{2em} \vspace{1em} bloo}
9\end{figure}
10^D
11[RawBlock (Format "tex") "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}"]
12```
14Here block:
15```
16% pandoc -f markdown+raw_tex -t native
17\begin{tabular}[t]{cc|c}
18\(P\) & \(Q\) & \(P\wedge Q\)\\
19\hline
20T & T &\\
21T & F &\\
22F & T &\\
23F & F &\\
24\end{tabular}
25\hspace{1em}
26\begin{tabular}[t]{cc|c}
27\(P\) & \(Q\) & \(P\vee Q\)\\
28\hline
29T & T &\\
30T & F &\\
31F & T &\\
32F & F &\\
33\end{tabular}
34^D
35[RawBlock (Format "tex") "\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\wedge Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}\n\\hspace{1em}\n\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\vee Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}"]
36```
38```
39% pandoc -f markdown+raw_tex -t native
40hi\hspace{1em}there
41^D
42[Para [Str "hi",RawInline (Format "tex") "\\hspace{1em}",Str "there"]]
43```
45```
46% pandoc -f markdown+raw_tex -t native
47hi
49\hspace{1em}
51there
52^D
53[Para [Str "hi"]
54,RawBlock (Format "tex") "\\hspace{1em}"
55,Para [Str "there"]]
56```