13,258 reputation
881186
bio website nobelprize.org
location here
age 24
visits member for 4 years
seen Mar 6 '12 at 10:03

My last "answer" is here, but it was unfairly converted to a comment :-D.

I have problem to be neither asked nor answered.

enter image description here

enter image description here

\def\xport{%
    \rm X%
    \kern-.17em\lower.7ex\hbox{P}%
    \kern-.20em\lower.2ex\hbox{O}%
    \kern-.50em\lower-1.0ex\hbox{R}%
    \kern-.07em\lower-.09ex\hbox{T}%
}
\xport

Notes

  1. preview package
    • ignores \pagecolor{} and paper size.
    • needs -D10000 option to get a tight output.
    • cannot work with animate package.
  2. standalone class uses preview package internally so it does the same behaviour.

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! :)
Dec
8
accepted Without using minipage, can we resize both input and output boxes of LTXexample?
Dec
8
comment How to switch between two different marginparwidth size?
it cannot be compiled.
Dec
8
asked Without using minipage, can we resize both input and output boxes of LTXexample?
Dec
7
revised Escaping square braces
deleted 5 characters in body
Dec
7
comment Escaping square braces
itemize will cause the bullet cross beyond the left margin. See my answer (not really answer actually, just a comparison) :-)
Dec
7
answered Escaping square braces
Dec
7
comment Does TikZ use the same internal mechanism as PSTricks to produce vector based pdf outputs?
OK @Stefan, I will follow your suggestion for the next one.