I prepared a program written in GAP's envirounment. I'd like to put them all in one of my beamer pages exactly as follows:
gap> z:=CyclicGroup(IsPermGroup,10);; n:=CyclicGroup(IsPermGroup,15);;
s:=DirectProduct( z, n );;
e:=Elements(s);;
r:=Filtered(e,t->Order(t)=10);;
Size(r);;
What can I do? I used \text{} to get the result as it is shown above but it's useless. Thanks for any help.

listingsormintedpackages. – greyshade Aug 30 '14 at 17:39[fragile]option for the frame containing the verbatim text. – Nicola Talbot Aug 30 '14 at 17:58