Emergence of a twisted flux tube V: 2-dimensional case (Magara 2001)