  We study the effect of a sharply localized magnetic field on the electron
transport in a strip (ribbon) of graphene sheet, which allows to give results
for the transmission and reflection probability through magnetic barriers. The
magnetic field is taken as a single and double delta type localized functions,
which are treated later as the zero width limit of gaussian fields. For both
field configurations, we evaluate analytically and numerically their
transmission and reflection coefficients. The possibility of spacial
confinement due to the inhomogeneous field configuration is also investigated.
