1: \begin{abstract}
2: We present a simple method, combining the density-matrix
3: renormalization-group (DMRG) algorithm with finite-size scaling,
4: which permits
5: the study of critical behavior in quantum spin chains. Spin moments and
6: dimerization are induced by boundary conditions at the chain ends and these
7: exhibit power-law decay at critical points. Results are presented for the
8: spin-$1/2$ Heisenberg antiferromagnet; an analytic calculation shows that
9: logarithmic corrections to scaling can sometimes
10: be avoided. We also examine the
11: spin-$1$ chain at the critical point separating the Haldane gap and
12: dimerized phases. Exponents for the dimer-dimer and the spin-spin
13: correlation functions are consistent with results obtained from bosonization.
14: \end{abstract}
15: