typesetting for gpuarray