525 reputation
312
bio website lenik.99jsj.com
location China
age 32
visits member for 4 years, 1 month
seen yesterday
+--[ RSA 1024]----+
|                 |
|                 |
|          . . o  |
|       . o o o o |
|        S . o + .|
|       . . + + o |
|  . . . . . o +  |
|   = o .     o . |
|    =..       ooE|
+-----------------+
1024 aa:0c:4f:fb:15:5c:7e:4c:e7:f1:ca:61:8a:fd:0f:fe X.J. Lenik (RSA)

Feb
1
comment LaTeX conditional expression
How to test if \MYFLAG is undefined?
Oct
10
comment How to get the section title by section number?
Great! I've just reformatted the MWE source, so I edited yours to make "diff" output clean. And I made a small change on the \section to get a short title name.
Oct
10
comment How to get the section title by section number?
@Werner: Now we have 2 MWEs.
Oct
10
comment How to get the section title by section number?
@Werner: I can't use \label, the section number is auto calculated, (e.g., in a \for loop) It's just like to implement a simple table of contents, or navigator bar myself. But \nameref could work if sections and chapters are automatically labelled. (what's the auto ref name? Maybe sec:1 or chap:2? can I \for\chapindex... \nameref{chap:\chapindex}?)
Oct
10
comment How to get the section title by section number?
@henrique: I'm using the background package. Please see the example in my previous question tex.stackexchange.com/questions/75637/….
Oct
10
comment How to print section titles like tab-list?
See this: tex.stackexchange.com/questions/76078/…
Oct
10
comment How to print section titles like tab-list?
How to show the actual section title instead of section number in the tab button?
Oct
7
comment How to print section titles like tab-list?
To highlight the current section, I added a selectedtab style, and coded: \node[\ifnum\thesection<\valsection tab\else \ifnum\thesection>\valsection tab\else selectedtab\fi\fi .... though it works, could it be shorter? I'm new to LaTeX programming.
Oct
7
comment How to print section titles like tab-list?
It's my mistake: I was run with TeXLive 2010, I have just reinstalled TeXLive 2012, and both versions are okay now. Cheers!
Oct
7
comment How to print section titles like tab-list?
I can't compile with latex (or xelatex): ... ABD: EveryShipout initializing macros ! Undefined control sequence. \@begindocumenthook ...}\relax } \backgroundsetup { scale=1, color=black, an... l.47 \begin{document} ? I'm using TexLive 2012.
Sep
28
comment \eqref making mistakes
#define is evil...
Sep
19
comment Long table and pgfplotstable with multiple data files
It seems output empty row isn't defined in 1.6.1. (Instead of empty header, I tried to just use every head row/.style={output empty row} only)
Sep
15
comment Can I use | as column separator in pgfplotstable?
+1 for the magical code. It's just not compiled: \long\def\pgfplotstableread@impl@DO@##: ! Parameters must be numbered consecutively.. I've made the feature request: goo.gl/B8hl0
Nov
26
comment Is there any cryptographic-related graphics drawing package?
The TikZ package is awesome.