Update for itextomml 1.4.7

This commit is contained in:
Jacques Distler 2011-09-07 15:39:41 -05:00
parent 7bf832e8c7
commit ee05118e8f
4 changed files with 29 additions and 2 deletions

View file

@ -1065,6 +1065,7 @@ class WikiControllerTest < ActionController::TestCase
\usepackage{color}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{xparse}
\usepackage{hyperref}
%----Macros----------
@ -1199,6 +1200,15 @@ class WikiControllerTest < ActionController::TestCase
{\ooalign{\box\tw@ \cr \box\z@}}}
\makeatother
% \mathraisebox{voffset}[height][depth]{something}
\makeatletter
\NewDocumentCommand\mathraisebox{moom}{%
\IfNoValueTF{#2}{\def\@temp##1##2{\raisebox{#1}{$\m@th##1##2$}}}{%
\IfNoValueTF{#3}{\def\@temp##1##2{\raisebox{#1}[#2]{$\m@th##1##2$}}%
}{\def\@temp##1##2{\raisebox{#1}[#2][#3]{$\m@th##1##2$}}}}%
\mathpalette\@temp{#4}}
\makeatletter
% udots (taken from yhmath)
\makeatletter
\def\udots{\mathinner{\mkern2mu\raise\p@\hbox{.}