Engineering artificial graphene in a two-dimensional electron gas