11,860 reputation
566164
bio website nobelprize.org
location here
age 24
visits member for 3 years, 4 months
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
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! :)
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) :-)