I have to change the orientation from portrait to landscape in the middle of a document. Only for 1 until 3 pages after that it have to portrait again.
I use this code in texmaker and running well
restoregeometry to get portrait again
But when I try to insert the code in LyX, I don't get an error message but the result is still in portrait. could anyone tell me why? And how to produce landscape pages in the middle a document in LyX?