# User:Lone Skeptic/Sandbox

This sandbox is an opportunity to play around with some basic style things.

## Pages you want to look at

Done 04:01, 10 August 2008 (UTC)
• SKU, merger proposed but no discussion
Done (commented at Talk: Stock-keeping unit#Merger proposal) 18:02, 10 August 2008 (UTC)

## Styles

Now let's try with some subsections.

Hello, world

Hello, world

Hello, world

Hello, world

Hello, world

## Source

```function bval = blend(varargin)

% Approximates the value of a discretely defined function between points.
%
% Syntax is approx_value = blend(xvector,yvector,x[,supresswarning])
%
% A nonzero fourth argument will supress warning messages.  This is useful
% if iterative extrapolation is desired.

% Check input arguments
if length(varargin) < 3
error('Too few input arguments; syntax is approx_value = blend(xvector,yvector,x[,supresswarning])');
elseif length(varargin) > 4
error('Too many input arguments; syntax is approx_value = blend(xvector,yvector,x[,supresswarning])');
end

% Give inputs working names, sort x vectors, match y values
[x,sortvec] = sort(varargin{1});
y = varargin{2}(sortvec);
xreq = varargin{3};

% Call bracket to find closest two points
[lo,hi] = bracket(x,xreq);

% Check domain and possibly give warning
if (xreq < x(lo) || xreq > x(hi)) && length(varargin) ~= 4
warning('Requested value is outside the domain of given vector; extrapolating (x = %d)',xreq);
end

% Use straight line approximation to find value
slope = (y(hi)-y(lo))/(x(hi)-x(lo));
bval = y(lo)+slope*(xreq-x(lo));

return
```

## A table

A test table
This is the second column This is the third column
This is the first row Cell 1 Cell 2
This is the second row Cell 3 Cell 4
This is the third row
 Used as a picture caption

Why not just put all of the text "after" the floating table. This way it is incorporated seamlessly into the section. This text is all after the table, but it should be inserted to the left and fit to the table. Of course there is a lot of table, so how about bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.

I figured out that I need to use this: "{{-}}", to prevent the next section from wrapping around the table as well. I couldn't find an explanation.

## A formula

The formula for aspect ratio is:

${\displaystyle AR={\dfrac {height}{width}}}$

## A test

Can you use a citation tag outside a <ref> tag? Let's see...

US 5501893, Laermer, Franz & Andrea Schilp, "Method of Anisotropically Etching Silicon", issued 1996

Apparently yes. Another test:

The best I could get w/ {{Citation}} template:

Planque, Stephanie; et al. (2007), "Characterization of gp120 Hydrolysis by IgA Antibodies from Humans without HIV Infection", AIDS Research and Human Retroviruses, 23 (12), pp. 1541–1554

My preference:

Planque, Stephanie et al., "Characterization of gp120 Hydrolysis by IgA Antibodies from Humans without HIV Infection," AIDS Research and Human Retroviruses, 23(12): 1541-1554, December 2007.

## References

1. ^ G, M. Not a Real Book.