Sha256: 2ccb6c00f546bc7fdbb4aeebbe54a87fe3d179fa7f7ef95187b1bcbb5eb091d5

Contents?: true

Size: 626 Bytes

Versions: 10

Compression:

Stored size: 626 Bytes

Contents

\documentclass{article}
\usepackage[mathbf]{euler}
\usepackage{longtable}

\begin{document}
\begin{longtable}[c]{r|r}
\hline\hline
\multicolumn{1}{c|}{\mathversion{bold}$x$}&
\multicolumn{1}{c}{\mathversion{bold}\rule{0pt}{12pt}$\sqrt{x}$}\\
\hline\hline
\endhead
\hline\hline
\endfoot

%% Here is the loop for the body of the table, which starts with
%% x one step beyond 0 and pre-computes some of the functions
{:0.upto(100).each do |x| :}
  {:= "\\mathversion{bold}$%0.4f$" % x :}&
  {:= "$%0.8f$" % Math.sqrt(x) :}\\
{:end:}
%% End the table and document---this version comes to 315 pages!
\end{longtable}
\end{document}

Version data entries

10 entries across 6 versions & 1 rubygems

Version Path
erbtex-0.4.4 examples/roots.tex
erbtex-0.4.4 spec/example_files/roots.tex.erb
erbtex-0.4.4 spec/example_files/roots.tex
erbtex-0.4.3 spec/example_files/roots.tex
erbtex-0.4.3 examples/roots.tex
erbtex-0.4.3 spec/example_files/roots.tex.erb
erbtex-0.4.2 examples/roots.tex
erbtex-0.4.1 examples/roots.tex
erbtex-0.3.0 examples/roots.tex.erb
erbtex-0.2.0 examples/roots.tex