“…In this work, we will construct the root diagram, and consequently an algorithm for computing a Gröbner basis, for codes arising from certain curves over F q with automorphisms whose order divides q − 1, thus we get results more general than those achieved previously. As examples, we have codes over the curves y q + y = x q r +1 and y q + y = x m , and codes over Kummer extensions, which have been applied in coding theory, see [9] and [12], and [2], respectively. This paper is organized as follows.…”