Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.01 KB | None | 0 0
  1. % A package to provide the ellipsis, !.. and ?.. symbols that are Kosher
  2. % for use in Russian texts.
  3. %
  4. % Shitcoded by Goren
  5. %
  6. %% This program can be redistributed and/or modified under the terms
  7. %% of WTFPL. Please refer to http://www.wtfpl.net/ for terms and
  8. %% conditions.
  9. %
  10. \NeedsTeXFormat{LaTeX2e}[1994/06/01]
  11. \ProvidesPackage{rusellipsis}
  12.  [2016/12/07 v0.01 LaTeX package for ellipsis, !.. and ?.. symbols for Russian texts]
  13.  
  14. \RequirePackage{soulutf8}
  15. \RequirePackage{xspace}
  16. \RequirePackage{calc}
  17. \usepackage{soulutf8,xspace}
  18. \usepackage{calc}
  19. \rmfamily
  20. \newlength{\qw}
  21. \settowidth{\qw}{?}
  22.  
  23. \xspaceaddexceptions{ » >> '' ) ] }
  24. \sodef\so{}{.1em}{1em}{.3em plus.05em minus.05em}
  25. \newcommand{\dotst}{\so{...}\xspace}                                              % ...
  26. \newcommand{\dotsq}{\so{?\hbox{\hspace{-.9\qw}}\hbox{\hspace{.1em}}..}\xspace}    % ?..
  27. \newcommand{\dotse}{\so{!..}\xspace}                                              % !..
  28.  
  29.  
  30. \endinput
  31. %%
  32. %% End of file `rusellipsis.sty'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement