Advertisement
Guest User

Untitled

a guest
May 4th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.19 KB | None | 0 0
  1. # Original Author : David L. Johnson <dlj0@lehigh.edu>
  2. # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
  3. # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
  4. # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
  5. # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
  6. # Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
  7.  
  8. # The environments defined are :
  9. # - Theorem
  10. # - Corollary
  11. # - Lemma
  12. # - Proposition
  13. # - Conjecture
  14. # - Fact
  15. # - Definition
  16. # - Example
  17. # - Problem
  18. # - Exercise
  19. # - Solution
  20. # - Remark
  21. # - Claim
  22. # - Case (by inclusion)
  23.  
  24. # We need separate counters for each theorem-like style.
  25. Format 60
  26. Counter theorem
  27. End
  28. Counter corollary
  29. End
  30. Counter lemma
  31. End
  32. Counter proposition
  33. End
  34. Counter conjecture
  35. End
  36. Counter fact
  37. End
  38. Counter definition
  39. End
  40. Counter example
  41. End
  42. Counter problem
  43. End
  44. Counter exercise
  45. End
  46. Counter solution
  47. End
  48. Counter remark
  49. End
  50. Counter claim
  51. End
  52. Counter requirement
  53. End
  54.  
  55. OutlinerName thm "Definitions & Theorems"
  56.  
  57. Style Theorem
  58. Category Reasoning
  59. Margin First_Dynamic
  60. LatexType Environment
  61. LatexName thm
  62. NextNoIndent 1
  63. ResetArgs 1
  64. AddToToc thm
  65. IsTocCaption 1
  66. Argument 1
  67. LabelString "Additional Theorem Text"
  68. Tooltip "Additional text appended to the theorem header"
  69. IsTocCaption 1
  70. EndArgument
  71. LabelSep xx
  72. ParIndent MMM
  73. ParSkip 0.4
  74. ItemSep 0.2
  75. TopSep 0.7
  76. BottomSep 0.7
  77. ParSep 0.3
  78. Align Block
  79. AlignPossible Left
  80. LabelType Static
  81. LabelCounter theorem
  82. LabelString "Theorem \thetheorem."
  83. Font
  84. Shape Italic
  85. Size Normal
  86. EndFont
  87. LabelFont
  88. Shape Up
  89. Series Bold
  90. EndFont
  91. Preamble
  92. \theoremstyle{plain}
  93. \newtheorem{thm}{\protect\theoremname}
  94. EndPreamble
  95. LangPreamble
  96. \providecommand{\theoremname}{_(Theorem)}
  97. EndLangPreamble
  98. BabelPreamble
  99. \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
  100. EndBabelPreamble
  101. Requires amsthm
  102. End
  103.  
  104.  
  105. Style Corollary
  106. CopyStyle Theorem
  107. LatexName cor
  108. LabelString "Corollary \thecorollary."
  109. Preamble
  110. \theoremstyle{plain}
  111. \newtheorem{cor}{\protect\corollaryname}
  112. EndPreamble
  113. LabelCounter corollary
  114. LangPreamble
  115. \providecommand{\corollaryname}{_(Corollary)}
  116. EndLangPreamble
  117. BabelPreamble
  118. \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
  119. EndBabelPreamble
  120. End
  121.  
  122.  
  123. Style Lemma
  124. CopyStyle Theorem
  125. LatexName lem
  126. LabelString "Lemma \thelemma."
  127. Preamble
  128. \theoremstyle{plain}
  129. \newtheorem{lem}{\protect\lemmaname}
  130. EndPreamble
  131. LangPreamble
  132. \providecommand{\lemmaname}{_(Lemma)}
  133. EndLangPreamble
  134. BabelPreamble
  135. \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
  136. EndBabelPreamble
  137. LabelCounter lemma
  138. End
  139.  
  140.  
  141. Style Proposition
  142. CopyStyle Theorem
  143. LatexName prop
  144. LabelString "Proposition \theproposition."
  145. Preamble
  146. \theoremstyle{plain}
  147. \newtheorem{prop}{\protect\propositionname}
  148. EndPreamble
  149. LangPreamble
  150. \providecommand{\propositionname}{_(Proposition)}
  151. EndLangPreamble
  152. BabelPreamble
  153. \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
  154. EndBabelPreamble
  155. LabelCounter proposition
  156. End
  157.  
  158.  
  159. Style Conjecture
  160. CopyStyle Theorem
  161. LatexName conjecture
  162. LabelString "Conjecture \theconjecture."
  163. Preamble
  164. \theoremstyle{plain}
  165. \newtheorem{conjecture}{\protect\conjecturename}
  166. EndPreamble
  167. LangPreamble
  168. \providecommand{\conjecturename}{_(Conjecture)}
  169. EndLangPreamble
  170. BabelPreamble
  171. \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
  172. EndBabelPreamble
  173. LabelCounter conjecture
  174. End
  175.  
  176.  
  177. Style Fact
  178. CopyStyle Theorem
  179. LatexName fact
  180. LabelString "Fact \thefact."
  181. Preamble
  182. \theoremstyle{plain}
  183. \newtheorem{fact}{\protect\factname}
  184. EndPreamble
  185. LangPreamble
  186. \providecommand{\factname}{_(Fact)}
  187. EndLangPreamble
  188. BabelPreamble
  189. \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
  190. EndBabelPreamble
  191. LabelCounter fact
  192. End
  193.  
  194.  
  195. Style Definition
  196. CopyStyle Theorem
  197. LatexName defn
  198. LabelString "Definition \thedefinition."
  199. Font
  200. Shape Up
  201. EndFont
  202. LabelFont
  203. Shape Up
  204. Series Bold
  205. EndFont
  206. Preamble
  207. \theoremstyle{definition}
  208. \newtheorem{defn}{\protect\definitionname}
  209. EndPreamble
  210. LangPreamble
  211. \providecommand{\definitionname}{_(Definition)}
  212. EndLangPreamble
  213. BabelPreamble
  214. \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
  215. EndBabelPreamble
  216. LabelCounter definition
  217. End
  218.  
  219.  
  220. Style Example
  221. CopyStyle Definition
  222. LatexName example
  223. LabelString "Example \theexample."
  224. Preamble
  225. \theoremstyle{definition}
  226. \newtheorem{example}{\protect\examplename}
  227. EndPreamble
  228. Requires amsthm
  229. LangPreamble
  230. \providecommand{\examplename}{_(Example)}
  231. EndLangPreamble
  232. BabelPreamble
  233. \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
  234. EndBabelPreamble
  235. LabelCounter example
  236. End
  237.  
  238.  
  239. Style Problem
  240. CopyStyle Definition
  241. LatexName problem
  242. LabelString "Problem \theproblem."
  243. Preamble
  244. \theoremstyle{definition}
  245. \newtheorem{problem}{\protect\problemname}
  246. EndPreamble
  247. Requires amsthm
  248. LangPreamble
  249. \providecommand{\problemname}{_(Problem)}
  250. EndLangPreamble
  251. BabelPreamble
  252. \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
  253. EndBabelPreamble
  254. LabelCounter problem
  255. End
  256.  
  257.  
  258. Style Exercise
  259. CopyStyle Definition
  260. LatexName xca
  261. LabelString "Exercise \theexercise."
  262. Preamble
  263. \theoremstyle{definition}
  264. \newtheorem{xca}{\protect\exercisename}
  265. EndPreamble
  266. Requires amsthm
  267. LangPreamble
  268. \providecommand{\exercisename}{_(Exercise)}
  269. EndLangPreamble
  270. BabelPreamble
  271. \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
  272. EndBabelPreamble
  273. LabelCounter exercise
  274. End
  275.  
  276.  
  277. Style Solution
  278. CopyStyle Definition
  279. LatexName sol
  280. LabelString "Solution \thesolution."
  281. Preamble
  282. \theoremstyle{definition}
  283. \newtheorem{sol}{\protect\solutionname}
  284. EndPreamble
  285. Requires amsthm
  286. LangPreamble
  287. \providecommand{\solutionname}{_(Solution)}
  288. EndLangPreamble
  289. BabelPreamble
  290. \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
  291. EndBabelPreamble
  292. LabelCounter solution
  293. End
  294.  
  295.  
  296. Style Remark
  297. CopyStyle Theorem
  298. LatexName rem
  299. LabelString "Remark \theremark."
  300. Font
  301. Shape Up
  302. Size Normal
  303. EndFont
  304. LabelFont
  305. Series Medium
  306. Shape Italic
  307. EndFont
  308. Preamble
  309. \theoremstyle{remark}
  310. \newtheorem{rem}{\protect\remarkname}
  311. EndPreamble
  312. LangPreamble
  313. \providecommand{\remarkname}{_(Remark)}
  314. EndLangPreamble
  315. BabelPreamble
  316. \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
  317. EndBabelPreamble
  318. LabelCounter remark
  319. End
  320.  
  321.  
  322. Style Claim
  323. CopyStyle Remark
  324. LatexName claim
  325. LabelString "Claim \theclaim."
  326. Preamble
  327. \theoremstyle{remark}
  328. \newtheorem{claim}{\protect\claimname}
  329. EndPreamble
  330. Requires amsthm
  331. LangPreamble
  332. \providecommand{\claimname}{_(Claim)}
  333. EndLangPreamble
  334. BabelPreamble
  335. \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
  336. EndBabelPreamble
  337. LabelCounter claim
  338. End
  339.  
  340. Style Requirement
  341. CopyStyle Remark
  342. LatexName requirement
  343. LabelString "Requirement \therequirement."
  344. Preamble
  345. \theoremstyle{definition}
  346. \newtheorem{requirement}{\protect\requirementname}
  347. EndPreamble
  348. Requires amsthm
  349. LangPreamble
  350. \providecommand{\requirementname}{_(Requirement)}
  351. EndLangPreamble
  352. BabelPreamble
  353. \addto\captions$$lang{\renewcommand{\requirementname}{_(Requirement)}}
  354. EndBabelPreamble
  355. LabelCounter requirement
  356. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement