304 reputation
18
bio website
location
age 27
visits member for 2 years, 10 months
seen Mar 27 at 14:30

Nov
13
comment copy figures and “input”ed LaTeX source files from absulute directories to a local one
@cmhughes Thanks. But I had figures with the same name in different directories. And I named a directory like parameterNameAndValue.
Sep
3
comment Automatically set the figure width depending on whether the layout is one or two column
@karlkoeller, from \documentclass[twocolumn]{IEEEtran} to \documentclass[onecolumn]{IEEEtran}, the image width would be doubled if we use \includegraphics[width=\columnwidth]. Maybe \textwidth is a better choice, but when subfig package is also used, we have to add linebreak \\ when switching to twocolumn.
Sep
2
comment Automatically set the figure width depending on whether the layout is one or two column
@karlkoeller Oh, I've never used \columnwidth, +1. Thanks! (I am looking for suggestions, and would like to know how people usually do! :))
Jul
8
comment How to more easily generate a normalized eigenvalue spectrum?
Thank you! I added another list of colors. It seems ok for my application. Feel free to modify it if you'd like to. :)
Jul
4
comment How to more easily generate a normalized eigenvalue spectrum?
By the way, do you know how to make it shows up "0.90" rather than "0.9", when there is a "0" at the end?
Jun
28
comment How to more easily generate a normalized eigenvalue spectrum?
How about we give user the freedom to choose colours for the big eigenvalues, and make it pick random colours for small ones? (Or maybe we can provide two or three static lists of colours, and always use one of them for small eigenvalues ? I'll think about a list of colours! :) )
Jun
28
comment How to more easily generate a normalized eigenvalue spectrum?
Thank you! Then maybe we can make a \drawspectra{list-of-eig-values}{list-of-color-values}{colormap-name}. And we will just need to tune the list-of-color-values to make a proper spectrum!
Jun
21
comment error on generating pdf by Latex with CJK support
Alternatively, you may just add something like "\usepackage[slantfont,boldfont]{xeCJK} \usepackage{fontspec,xltxtra,xunicode} %\setCJKmainfont{Adobe Fangsong Std} ", and try to use xelatex to compile the tex file.
Jun
12
comment compile only a certain specified part of the whole document?
Thank you, a long detailed "comment" becomes an answer! :). By the way,what's the benefits (from your experience of using it)? I've noticed there are people use makefile for compiling latex file, but I've never tried that.
Jun
12
comment compile only a certain specified part of the whole document?
@giordano, Oh, I never know that under Emacs we can preview regions of the document. By the way, I use Latex-Box with vim, but maybe I should view Emacs+AUCTeX as a powerful latex editor rather a general text editor or an operating system (just joking. Thank you. :) ).
Jun
12
comment compile only a certain specified part of the whole document?
@giordano, Thank you. I do use ktikz. But when it's not about drawing or figures, is includeonly the only way to do this (as per @LuanResende 's comment)?
Jun
3
comment Are there any commands for extracting pictures (not only bitmap graphics but also line drawings) from a pdf file?
@Daniel, I just changed the title, and also some part in the body according one comments on this page (tex.stackexchange.com/questions/40658/…). But I'm not sure whether it's proper to use the term "bitmap graphics" and "line drawing" here. Any suggestions?
Jun
3
comment Extracting image from PDF to use in LaTeX document?
@MichaelPalmer, Is there any way to extract line drawings from a pdf file?
Jun
3
comment Are there any commands for extracting pictures (not only bitmap graphics but also line drawings) from a pdf file?
Thanks for your answer. But what if the figure is surrounded by some text and other figures? (there is some text and could be several figures on one single page of a paper.)
Jun
2
comment Are there any commands for extracting pictures (not only bitmap graphics but also line drawings) from a pdf file?
@AlanMunn,Thank you. Yes, it's single page (accually I print "current page" to another pdf file.). (I'm using Fedora 18. Maybe inkscape or xpdf will do this pdf-editing job?! I have not tried.)
Jun
2
comment Are there any commands for extracting pictures (not only bitmap graphics but also line drawings) from a pdf file?
@AlanMunn Actually I want to do the inverse.
Jun
2
comment Are there any commands for extracting pictures (not only bitmap graphics but also line drawings) from a pdf file?
I just need the high quality picture. Or should I just use trim option to include that pdf file?
Apr
20
comment Put text in any shapes with automatic line breaking in TiKz?
Thanks for your answer! What if we can to put some text in a closed curve that we draw rather than predefined shapes, Is it possible to define a "text region" by drawing a closed curve, and give it a name as myTextRegion? Finally we use it as \node[draw,myTextRegion, text width=2cm]{some text}; ? (or maybe without option text width, just let it fit myTextRegion automatically)