  We study effects of finite height and surrounding material on photonic
crystal slabs of one- and two-dimensional photonic crystals with a
pseudo-spectral method and finite difference time domain simulation methods.
The band gap is shown to be strongly modified by the boundary material. As an
application we suggest reflection and guiding of light by patterning the
material on top/below the slab.
