# NOT RUN {
mL <- mp(c("x + 1", "y - 1", "x y^2 z + x^2 z^2 + z^2 + x^3"))
mL
print(mL, order = "lex")
print(mL, order = "glex")
print(mL, order = "grlex")
print(mL, order = "glex", varorder = c("z","y","x"))
print(mL, order = "grlex", varorder = c("z","y","x"))
print(mL, varorder = c("z","y","x"))
(print(mL, varorder = c("z","y","x"), plus_pad = 1L, silent = TRUE))
(print(mL, silent = TRUE, stars = TRUE, plus_pad = 1L, times_pad = 0L))
# }
Run the code above in your browser using DataLab