2,503 reputation
416
bio website
location
age
visits member for 2 years, 3 months
seen 15 hours ago

Jun
19
comment How to add vertical lines (rules) to the left of first column and right of last column using multicol package
fyi, I just found the above code causes clash with multicol package in 2014. Error is Undefined control sequence. \page@sofar ...tw@ \dp \z@ \maybe@reverse@columns \moveright \multicol@leftm... l.12860 \end{multicols} ? I was using the above in 2013 texlive with no problem. Something changed in texlive 2014 multicol and now there is clash. Just in case someone tries it in 2014.
Jun
18
comment How can I add some annotations to a screenshot so that the font can fit the (La)TeX document?
if you are using pdflatex, you do not need eps. Can just use png. As others said, any software that generate screen shot will do. If you want eps, you can convert png to eps like this: convert file.png file.eps
Jun
18
accepted How to vertically center an image in table, using p{} and without using m for tex4ht?
Jun
17
comment error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013
@michal.h21 thanks for the link. This fixed the problem. updated the question. Can this patch be put in texlive 2014 if it is a good fix?
Jun
17
revised error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013
added update
Jun
17
revised error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013
added file downloaded
Jun
17
revised error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013
add versions
Jun
17
asked error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013
Jun
16
comment tex4ht: reuse png images instead of creating new ones
But png files do not have bounding box? the width will be ignored when run by tex4ht, and original .png size will be used. I tried it on texlive 2013. Only pdflatex will scale the .png file, but not tex4ht
Jun
15
comment Plotting y=exp^(-x^2)
I'd use Mathematica and export to eps, so much easier :) Plot[Exp[-x^2], {x, -10, 10}, PlotRange -> All, Frame -> True] !Mathematica graphics
Jun
15
comment How to vertically center an image in table, using p{} and without using m for tex4ht?
No, it still does not center it in tex4ht !Mathematica graphics You can try that yourself, tex4ht is part of standard latex distribution, so you should have it along with pdflatex in your distribution?
Jun
15
comment Strange interaction between hyperref, listings and animate
just a side note, I've read that \usepackage{hyperref} should be put at the end, after all other packages are loaded.
Jun
15
answered How to vertically center an image in table, using p{} and without using m for tex4ht?
Jun
15
comment How to vertically center an image in table, using p{} and without using m for tex4ht?
Thanks. But this did not work with tex4ht which is what I wanted. This is what I get from htlatex foo.tex "htm,p-width" !Mathematica graphics
Jun
14
comment How to vertically center an image in table, using p{} and without using m for tex4ht?
@Bernard yes. The first image above is the PDF output as you can see. It is only horizontally centered. I used \makecell[cc]{image} but the doc is bit confusing, may be it needs something more.... \makecell{\includegraphics{…}} also only center it horizontally. Not vertically. Vertically centered is more important for me actually.
Jun
14
revised How to vertically center an image in table, using p{} and without using m for tex4ht?
added makecell
Jun
14
comment How to vertically center an image in table, using p{} and without using m for tex4ht?
@Bernard thanks for the sugestion. Never used this. But tried it. and I can only get it to center align horizontally, but not vertically. I'll add what I tried above, may be I am not doing something right.
Jun
14
asked How to vertically center an image in table, using p{} and without using m for tex4ht?
Jun
14
accepted How to correctly use geometry package with wrapfig package to avoid wrong layout
Jun
13
comment How to correctly use geometry package with wrapfig package to avoid wrong layout
That seems to have been the trick! putting a line and little more, above the wrapfig when starting new section. If the wrapfig was above the text, the problem shows up as in the MWE. So the solution seems to be, is to avoid wrapfig as first thing in a section! Ok, that is a rule I can remember. Will add it to my latex cheat sheet which is growing larger and larger each day. Thank you.