This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 28th, 2011  |  syntax: Latex  |  size: 2.82 KB  |  views: 202  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. \ProvidesPackage{autohyph}
  2.  
  3. \ProvidesFile{autohyph}
  4. [2011/5/28 v1.0 Package `autohyph.sty']
  5. \message{Package `autohyph' version 1.0 by pmav99}
  6.  
  7. \XeTeXinterchartokenstate=1
  8.  
  9. \newXeTeXintercharclass \greekLetter
  10.  
  11. \XeTeXcharclass `\α \greekLetter
  12. \XeTeXcharclass `\β \greekLetter
  13. \XeTeXcharclass `\γ \greekLetter
  14. \XeTeXcharclass `\δ \greekLetter
  15. \XeTeXcharclass `\ε \greekLetter
  16. \XeTeXcharclass `\ζ \greekLetter
  17. \XeTeXcharclass `\η \greekLetter
  18. \XeTeXcharclass `\θ \greekLetter
  19. \XeTeXcharclass `\ι \greekLetter
  20. \XeTeXcharclass `\κ \greekLetter
  21. \XeTeXcharclass `\λ \greekLetter
  22. \XeTeXcharclass `\μ \greekLetter
  23. \XeTeXcharclass `\ν \greekLetter
  24. \XeTeXcharclass `\ξ \greekLetter
  25. \XeTeXcharclass `\ο \greekLetter
  26. \XeTeXcharclass `\π \greekLetter
  27. \XeTeXcharclass `\ρ \greekLetter
  28. \XeTeXcharclass `\σ \greekLetter
  29. \XeTeXcharclass `\τ \greekLetter
  30. \XeTeXcharclass `\υ \greekLetter
  31. \XeTeXcharclass `\φ \greekLetter
  32. \XeTeXcharclass `\χ \greekLetter
  33. \XeTeXcharclass `\ψ \greekLetter
  34. \XeTeXcharclass `\ω \greekLetter
  35. \XeTeXcharclass `\ά \greekLetter
  36. \XeTeXcharclass `\έ \greekLetter
  37. \XeTeXcharclass `\ί \greekLetter
  38. \XeTeXcharclass `\ή \greekLetter
  39. \XeTeXcharclass `\ό \greekLetter
  40. \XeTeXcharclass `\ύ \greekLetter
  41. \XeTeXcharclass `\ώ \greekLetter
  42. \XeTeXcharclass `\ϊ \greekLetter
  43. \XeTeXcharclass `\ΐ \greekLetter
  44. \XeTeXcharclass `\ϋ \greekLetter
  45. \XeTeXcharclass `\ΰ \greekLetter
  46. \XeTeXcharclass `\ς \greekLetter
  47.  
  48. \XeTeXcharclass `\Α \greekLetter
  49. \XeTeXcharclass `\Β \greekLetter
  50. \XeTeXcharclass `\Γ \greekLetter
  51. \XeTeXcharclass `\Δ \greekLetter
  52. \XeTeXcharclass `\Ε \greekLetter
  53. \XeTeXcharclass `\Ζ \greekLetter
  54. \XeTeXcharclass `\Η \greekLetter
  55. \XeTeXcharclass `\Θ \greekLetter
  56. \XeTeXcharclass `\Ι \greekLetter
  57. \XeTeXcharclass `\Κ \greekLetter
  58. \XeTeXcharclass `\Λ \greekLetter
  59. \XeTeXcharclass `\Μ \greekLetter
  60. \XeTeXcharclass `\Ν \greekLetter
  61. \XeTeXcharclass `\Ξ \greekLetter
  62. \XeTeXcharclass `\Ο \greekLetter
  63. \XeTeXcharclass `\Π \greekLetter
  64. \XeTeXcharclass `\Ρ \greekLetter
  65. \XeTeXcharclass `\Σ \greekLetter
  66. \XeTeXcharclass `\Τ \greekLetter
  67. \XeTeXcharclass `\Υ \greekLetter
  68. \XeTeXcharclass `\Φ \greekLetter
  69. \XeTeXcharclass `\Χ \greekLetter
  70. \XeTeXcharclass `\Ψ \greekLetter
  71. \XeTeXcharclass `\Ω \greekLetter
  72. \XeTeXcharclass `\Ά \greekLetter
  73. \XeTeXcharclass `\Έ \greekLetter
  74. \XeTeXcharclass `\Ί \greekLetter
  75. \XeTeXcharclass `\Ή \greekLetter
  76. \XeTeXcharclass `\Ό \greekLetter
  77. \XeTeXcharclass `\Ύ \greekLetter
  78. \XeTeXcharclass `\Ώ \greekLetter
  79. \XeTeXcharclass `\Ϊ \greekLetter
  80. \XeTeXcharclass `\Ϋ \greekLetter
  81.  
  82. \XeTeXinterchartoks 0 \greekLetter = {\setlanguage{greek}}
  83. \XeTeXinterchartoks \greekLetter 0 = {\setlanguage{english}}
  84. \XeTeXinterchartoks 255 \greekLetter = {\setlanguage{greek}}
  85. \XeTeXinterchartoks \greekLetter 255 = {\setlanguage{english}}
clone this paste RAW Paste Data