LaTeXML

 view release on metacpan or  search on metacpan

t/graphics/picture.tex  view on Meta::CPAN


\put(50,57){\makebox(0,0){$y$}}
\put(40,47){\makebox(0,0){\footnotesize $0$}}
\put(60,47){\makebox(0,0){\footnotesize $1$}}

\put(14,20){\makebox(0,0){$x$}}
\put(22,30){\makebox(0,0){\footnotesize $0$}}
\put(22,10){\makebox(0,0){\footnotesize $1$}}

\put(40,30){\makebox(0,0){$m_0$}}
\put(60,30){\makebox(0,0){$m_1$}}
\put(40,10){\makebox(0,0){$m_2$}}
\put(60,10){\makebox(0,0){$m_3$}}
\end{picture}
\caption{Mapping of two-variable minterms on a Karnaugh map.}
\label{fg:kmap2}
\end{figure}

\section{DLMF Examples}
\begin{figure}[h]
  \setlength{\unitlength}{0.035in}
  \centering
  \begin{picture}(152,38)(-1,-1)
    \put(0,31){\makebox(2,6){\small 1}}
    \put(0,26){\framebox(2,6){$s$}}
    \put(3,31){\makebox(8,6){\small 8}}
    \put(3,26){\framebox(8,6){$E$}}
    \put(12,31){\makebox(23,6){\small 23 bits}}
    \put(12,26){\framebox(23,6){$f$}}
    \put(133,31){$N=32$,}
    \put(135,27){$p=24$}
%
    \put(0,18){\makebox(2,6){\small 1}}
    \put(0,13){\framebox(2,6){$s$}}
    \put(3,18){\makebox(11,6){\small 11}}
    \put(3,13){\framebox(11,6){$E$}}
    \put(15,18){\makebox(52,6){\small 52 bits}}
    \put(15,13){\framebox(52,6){$f$}}
    \put(133,17){$N=64$,}
    \put(135,13){$p=53$}
%
    \put(0,5){\makebox(2,6){\small 1}}
    \put(0,0){\framebox(2,6){$s$}}
    \put(3,5){\makebox(15,6){\small 15}}
    \put(3,0){\framebox(15,6){$E$}}
    \put(19,5){\makebox(112,6){\small 112 bits}}
    \put(19,0){\framebox(112,6){$f$}}
    \put(133,4){$N=128$,}
    \put(135,0){$p=113$}
  \end{picture}
\caption[{Representation of data in the binary interchange formats 
  for binary32, binary64 and binary128.}]
  {Floating-point arithmetic. Representation of data in the binary 
  interchange formats for binary32, binary64 and binary128
  (previously single, double and quad precision).}
\end{figure}



\begin{table}[h]
    \caption{Cubature formulas for disk and
square.}
\setlength{\unitlength}{0.35in}%
\divide\tabcolsep2\relax
%\renewcommand{\arraystretch}{2}%
\renewcommand{\arraystretch}{1.2}%
\makeatletter
\def\dodots{\@ifnextchar({\dodot}{}}%)
\def\dodot(#1,#2){\put(#1,#2){\circle*{0.15}}\dodots}
\def\doaxes{%
   \multiput(0,0)(0.1,0){10}{\line(1,0){0.05}}
   \multiput(0,0)(0,0.1){10}{\line(0,1){0.05}}
   \multiput(0,0)(-0.1,0){10}{\line(-1,0){0.05}}
   \multiput(0,0)(0,-0.1){10}{\line(0,-1){0.05}}
}
\makeatother
\newcommand{\circleframe}[1]{
%\raisebox{-0.6in}{
%\vrule height 1em depth 1in width 0pt\relax
\begin{picture}(2.4,3.0)(-1.2,-1.55)%
   \doaxes
   \put(0,0){\circle{2}}
   \dodots#1
\end{picture}}%}
\newcommand{\squareframe}[1]{
%\raisebox{-0.6in}{
%\vbox to 1in {
%\vrule height 1em depth 1in width 0pt\relax
\begin{picture}(2.4,3.0)(-1.2,-1.55)%
   \doaxes
   \put(-1,1){\line(1,0){2}}
   \put(-1,1){\line(0,-1){2}}
   \put(1,-1){\line(-1,0){2}}
   \put(1,-1){\line(0,1){2}}
   \dodots#1
\end{picture}}%}
\centering\begin{tabular}{@{}c@{}lcc}
\hline\hline
Diagram & $(x_j,y_j)$ & $w_j$ & $R$ \\\hline
%
\multirow{5}{*}{
\circleframe{%
(0,0)%
(1,0)(0,1)%
(-1,0)(0,-1)}
}
&&&\\
& $(0,0)$     & $\tfrac{1}{2}$ & $O(h^4)$ \\
& $(\pm h,0)$ & $\tfrac{1}{8}$ & \\
& $(0,\pm h)$ & $\tfrac{1}{8}$ & \\
&&&\\ \hline%
%
\multirow{5}{*}{
\circleframe{%
(0.5,0.5)(-0.5,0.5)(0.5,-0.5)(-0.5,-0.5)}
}
&&&\\
&&&\\
& $(\pm \tfrac{1}{2}h,\pm \tfrac{1}{2} h)$  & $\tfrac{1}{4}$ & $O(h^4)$ \\
&&&\\
&&&\\\hline%



( run in 0.542 second using v1.01-cache-2.11-cpan-f56aa216473 )