tex-ffa7112a.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. import{g as $}from"./index-3157015c.js";function c(i,p){for(var t=0;t<p.length;t++){const n=p[t];if(typeof n!="string"&&!Array.isArray(n)){for(const e in n)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(n,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>n[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(i,p){ace.define("ace/snippets/tex.snippets",["require","exports","module"],function(t,n,e){e.exports=`#PREAMBLE
  2. #newcommand
  3. snippet nc
  4. \\newcommand{\\\${1:cmd}}[\${2:opt}]{\${3:realcmd}}\${4}
  5. #usepackage
  6. snippet up
  7. \\usepackage[\${1:[options}]{\${2:package}}
  8. #newunicodechar
  9. snippet nuc
  10. \\newunicodechar{\${1}}{\${2:\\ensuremath}\${3:tex-substitute}}}
  11. #DeclareMathOperator
  12. snippet dmo
  13. \\DeclareMathOperator{\${1}}{\${2}}
  14. #DOCUMENT
  15. # \\begin{}...\\end{}
  16. snippet begin
  17. \\begin{\${1:env}}
  18. \${2}
  19. \\end{$1}
  20. # Tabular
  21. snippet tab
  22. \\begin{\${1:tabular}}{\${2:c}}
  23. \${3}
  24. \\end{$1}
  25. snippet thm
  26. \\begin[\${1:author}]{\${2:thm}}
  27. \${3}
  28. \\end{$1}
  29. snippet center
  30. \\begin{center}
  31. \${1}
  32. \\end{center}
  33. # Align(ed)
  34. snippet ali
  35. \\begin{align\${1:ed}}
  36. \${2}
  37. \\end{align$1}
  38. # Gather(ed)
  39. snippet gat
  40. \\begin{gather\${1:ed}}
  41. \${2}
  42. \\end{gather$1}
  43. # Equation
  44. snippet eq
  45. \\begin{equation}
  46. \${1}
  47. \\end{equation}
  48. # Equation
  49. snippet eq*
  50. \\begin{equation*}
  51. \${1}
  52. \\end{equation*}
  53. # Unnumbered Equation
  54. snippet \\
  55. \\[
  56. \${1}
  57. \\]
  58. # Enumerate
  59. snippet enum
  60. \\begin{enumerate}
  61. \\item \${1}
  62. \\end{enumerate}
  63. # Itemize
  64. snippet itemize
  65. \\begin{itemize}
  66. \\item \${1}
  67. \\end{itemize}
  68. # Description
  69. snippet desc
  70. \\begin{description}
  71. \\item[\${1}] \${2}
  72. \\end{description}
  73. # Matrix
  74. snippet mat
  75. \\begin{\${1:p/b/v/V/B/small}matrix}
  76. \${2}
  77. \\end{$1matrix}
  78. # Cases
  79. snippet cas
  80. \\begin{cases}
  81. \${1:equation}, &\\text{ if }\${2:case}\\\\
  82. \${3}
  83. \\end{cases}
  84. # Split
  85. snippet spl
  86. \\begin{split}
  87. \${1}
  88. \\end{split}
  89. # Part
  90. snippet part
  91. \\part{\${1:part name}} % (fold)
  92. \\label{prt:\${2:$1}}
  93. \${3}
  94. % part $2 (end)
  95. # Chapter
  96. snippet cha
  97. \\chapter{\${1:chapter name}}
  98. \\label{cha:\${2:$1}}
  99. \${3}
  100. # Section
  101. snippet sec
  102. \\section{\${1:section name}}
  103. \\label{sec:\${2:$1}}
  104. \${3}
  105. # Sub Section
  106. snippet sub
  107. \\subsection{\${1:subsection name}}
  108. \\label{sub:\${2:$1}}
  109. \${3}
  110. # Sub Sub Section
  111. snippet subs
  112. \\subsubsection{\${1:subsubsection name}}
  113. \\label{ssub:\${2:$1}}
  114. \${3}
  115. # Paragraph
  116. snippet par
  117. \\paragraph{\${1:paragraph name}}
  118. \\label{par:\${2:$1}}
  119. \${3}
  120. # Sub Paragraph
  121. snippet subp
  122. \\subparagraph{\${1:subparagraph name}}
  123. \\label{subp:\${2:$1}}
  124. \${3}
  125. #References
  126. snippet itd
  127. \\item[\${1:description}] \${2:item}
  128. snippet figure
  129. \${1:Figure}~\\ref{\${2:fig:}}\${3}
  130. snippet table
  131. \${1:Table}~\\ref{\${2:tab:}}\${3}
  132. snippet listing
  133. \${1:Listing}~\\ref{\${2:list}}\${3}
  134. snippet section
  135. \${1:Section}~\\ref{\${2:sec:}}\${3}
  136. snippet page
  137. \${1:page}~\\pageref{\${2}}\${3}
  138. snippet index
  139. \\index{\${1:index}}\${2}
  140. #Citations
  141. snippet cite
  142. \\cite[\${1}]{\${2}}\${3}
  143. snippet fcite
  144. \\footcite[\${1}]{\${2}}\${3}
  145. #Formating text: italic, bold, underline, small capital, emphase ..
  146. snippet it
  147. \\textit{\${1:text}}
  148. snippet bf
  149. \\textbf{\${1:text}}
  150. snippet under
  151. \\underline{\${1:text}}
  152. snippet emp
  153. \\emph{\${1:text}}
  154. snippet sc
  155. \\textsc{\${1:text}}
  156. #Choosing font
  157. snippet sf
  158. \\textsf{\${1:text}}
  159. snippet rm
  160. \\textrm{\${1:text}}
  161. snippet tt
  162. \\texttt{\${1:text}}
  163. #misc
  164. snippet ft
  165. \\footnote{\${1:text}}
  166. snippet fig
  167. \\begin{figure}
  168. \\begin{center}
  169. \\includegraphics[scale=\${1}]{Figures/\${2}}
  170. \\end{center}
  171. \\caption{\${3}}
  172. \\label{fig:\${4}}
  173. \\end{figure}
  174. snippet tikz
  175. \\begin{figure}
  176. \\begin{center}
  177. \\begin{tikzpicture}[scale=\${1:1}]
  178. \${2}
  179. \\end{tikzpicture}
  180. \\end{center}
  181. \\caption{\${3}}
  182. \\label{fig:\${4}}
  183. \\end{figure}
  184. #math
  185. snippet stackrel
  186. \\stackrel{\${1:above}}{\${2:below}} \${3}
  187. snippet frac
  188. \\frac{\${1:num}}{\${2:denom}}
  189. snippet sum
  190. \\sum^{\${1:n}}_{\${2:i=1}}{\${3}}`}),ace.define("ace/snippets/tex",["require","exports","module","ace/snippets/tex.snippets"],function(t,n,e){n.snippetText=t("./tex.snippets"),n.scope="tex"}),function(){ace.require(["ace/snippets/tex"],function(t){i&&(i.exports=t)})}()})(a);var r=a.exports;const o=$(r),b=c({__proto__:null,default:o},[r]);export{b as t};