Reputation
16,211
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
15 108 226
Newest
 Nice Answer
Impact
~2.2m people reached

Dec
12
comment Is it possible to separate the input and output of LTXexample such that I can put each in a table cell?
how can we make two rows or more?
Dec
12
comment Is it possible to separate the input and output of LTXexample such that I can put each in a table cell?
Thank for commenting. Actually I just need an immediate output handle for each LTXexample call such that I make 3-column rows in a longtable. Each row is composed of LTXexample in the middle column and its corresponding output handle on the most right column. The most left column displays labels of increasing number. It is more than enough.
Dec
11
awarded  Tumbleweed
Dec
11
awarded  Quorum
Dec
9
accepted Is it bug or feature? I cannot use makeidx in beamer.
Dec
9
revised How display LaTeX code in LaTeX document?
added 3129 characters in body
Dec
9
comment Is it bug or feature? I cannot use makeidx in beamer.
@Ulrike, thank you for the solution. It works. :-)
Dec
9
comment Without using minipage, can we resize both input and output boxes of LTXexample?
@lockstep, I did an experiment. Here the result: explpreset={<key-val options>} can contain options from listings and/or showexpl. It is worth using explpreset whenever we use both lstlisting and LTXexample in the document. By setting some options in explpreset, these settings will be applied to LTXexample only (without affecting lstlising). Options declared in lstset will be applied to both LTXexample and lstlisting, unless they are overriden using their optional arguments. Thank you.
Dec
9
comment Is it bug or feature? I cannot use makeidx in beamer.
@Thorsten, thank you for answering. I am writing a math book that will be shipped with a pdf presentation. Indexing is needed because the presentation may contain more than 500 frames. :-)
Dec
9
asked Is it bug or feature? I cannot use makeidx in beamer.
Dec
9
comment When writing a user defined package, how can I decide whether the \documentclass using it is book or article?
where can I get the information on (La)TeX conditional, branching, looping commands or keywords? I want to learn them, sometimes I need make a loop inside a table to do something. :-)
Dec
9
comment LaTeX conditional expression
your answer is very useful for me.
Dec
9
comment When writing a user defined package, how can I decide whether the \documentclass using it is book or article?
@Ulrich, temporarily I just work with article and book. Since I am also interested in PSTricks manual layout written using koma-script, I will consider using scrbook later. Anyway, thank for your comment.
Dec
9
comment When writing a user defined package, how can I decide whether the \documentclass using it is book or article?
thank you for the quick response. I will try now.
Dec
9
asked When writing a user defined package, how can I decide whether the \documentclass using it is book or article?
Dec
8
comment How to switch between two different marginparwidth size?
I must use latex -> dvips - ps2pdf because of PSTricks.
Dec
8
comment Without using minipage, can we resize both input and output boxes of LTXexample?
So using explpreset is not a necessity, because I have tried without using it & still works. Thank you.
Dec
8
comment How to switch between two different marginparwidth size?
latex ->dvips -> ps2pdf cannot be used to compile the document above.
Dec
8
comment Without using minipage, can we resize both input and output boxes of LTXexample?
why do you enclose linewidth=0.5\linewidth by explpreset? without doing that, it still works. I don't know the purpose.
Dec
8
comment Without using minipage, can we resize both input and output boxes of LTXexample?
@lockstep, thank you very much. It works. Excellent! :)