| bio | website | None |
|---|---|---|
| location | Paris, France | |
| age | 34 | |
| visits | member for | 1 year, 7 months |
| seen | 3 hours ago | |
| stats | profile views | 148 |
I'm a physics and chemistry teacher. I used to develop some physics related pstricks package (pst-math, pst-circ, pst-osci). I am now an "entry-level-low-skilled" developer for pgf/tikz taking care of simple bug fixes or feature requests (une petite main in french). Still learning!
|
23h |
comment |
Get the head, the tail, and the last element of a comma-separated list Instead of a ., I'd rather delimit the argument with some undefined control sequence. It works as a good detector if something wrong happens with the arguments: \def\headOfListAux#1,#2\MyUndefined{#1}\def\headOfList#1{\expandafter\headOfListAux#1\MyUndefined} |
|
May 16 |
awarded | Nice Question |
|
May 16 |
accepted | How can I detect if an environment is right after a sectioning command? |
|
May 16 |
asked | How can I detect if an environment is right after a sectioning command? |
|
May 15 |
comment |
mdframed being cut across pages Can you keep up posted in case you find a convenient solution? Thanks. |
|
May 13 |
accepted | Changing the default file path for \addplot table {myfile} |
|
May 13 |
comment |
Changing the default file path for \addplot table {myfile} Maybe a bit more robust (in case code change): \let\pgfplotstableread@openfile@i\pgfplotstableread@openfile
\def\pgfplotstableread@openfile{\edef\pgfplotstableread@filename{\pgfkeysvalueof{/pgfplots/table file path}\pgfplotstableread@filename}\pgfplotstableread@openfile@i}. Thanks again for digging the code to the right place. |
|
May 13 |
comment |
Changing the default file path for \addplot table {myfile} Thanks: that a really good start (of course +1). Maybe a more robust solution would be to hack pgfplotstableshared.code.tex where \pgfplotstableread@filename is defined. I'll try later today. |
|
May 13 |
asked | Changing the default file path for \addplot table {myfile} |
|
May 12 |
revised |
Undefined control sequence Format code |
|
May 4 |
comment |
How do I get the width of \hfill? Isn't it available at programming level with luatex? |
|
May 4 |
comment |
How can I improve those voltage annotations Sorry. My previous comment was total nonsense. Of course, as in my last example, I can use voltage info instead of voltage info sloped. This seems to mimmic to build-in info/info sloped behaviour which looks good for me. \documentclass[tikz]{standalone}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\draw (2,2) to[resistor = {info sloped = $R$}] (0,0);
\end{tikzpicture}
\end{document} |
|
May 4 |
comment |
How can I improve those voltage annotations Very good starting point. Thanks. But sometimes I do want labels to be sloped and not upside down. |
|
May 3 |
answered | Asymptote: convert triple to array |
|
May 2 |
comment |
Asymptote: convert triple to array Try this. real[][] q = new real[3][10];
triple v=(1,2,3);
void toarray(triple t, real[][] a, int i){
a[0][i] = t.x;
a[1][i] = t.y;
a[2][i] = t.z;
}
toarray(v,q,0);
real[][] q2 = new real[3][];
void pushtoarray(triple t, real[][] a){
a[0].push(t.x);
a[1].push(t.y);
a[2].push(t.z);
}
pushtoarray(v,q2);
pushtoarray(v + (2,4,6),q2);
write(q2); |
|
May 2 |
comment |
LaTeX 'Missing $' Cannot find the reason With this \documentclass{article}
\usepackage{amsmath,amsfonts}
\let\vect\vec
\let\bi\emph as a preamble, I have no problem. So there must be something else hidden in your preamble. |
|
May 2 |
comment |
enumitem conflict with french babel I have no problem here ( TeXLive2012 fully updated). Do you have an up to date version of both packages babel and enumitem? |
|
May 2 |
asked | How can I improve those voltage annotations |
|
May 1 |
accepted | Options passed to a path inside insert path style |
|
May 1 |
answered | How to have 2 lines in a block? |