| bio | website | sampablokuper.com |
|---|---|---|
| location | Cambridge, United Kingdom | |
| age | 93 | |
| visits | member for | 11 months |
| seen | 16 hours ago | |
| stats | profile views | 31 |
Interested in web standards, semantics, communication, history of science, and the - uh - universe...
|
Jul 2 |
revised |
Is it possible to use the `verbatim` environment in a dot2tex node? Excised extraneous remark |
|
Jul 2 |
revised |
Is it possible to use the `verbatim` environment in a dot2tex node? Expanded; provided MWE |
|
Jul 2 |
comment |
Is it possible to use the verbatim environment in an XY-pic node? @mhp, since when was that a criterion for Stack Exchange sites? |
|
Jul 2 |
comment |
Edit TikZ Chains to add labels and maintain the option to add individual styles I've added a feature request to TikZ for this. Feel free to improve it with comments! |
|
Jun 30 |
awarded | Commentator |
|
Jun 30 |
comment |
Is it possible to use the verbatim environment in an XY-pic node? @UlrikeFischer, surely the whole point of asking a question like this is to find out how (best) to do something. I.e. I want a good solution, but not necessarily a solution based on a failed (and perhaps quite misguided) attempt of my own. So for this sort of question, I'd rather not risk distracting people by providing such. |
|
Jun 30 |
comment |
Is it possible to use the verbatim environment in an XY-pic node? @egreg, "What kind of verbatim?" The \begin{verbatim}...\end{verbatim} kind. This must have been obvious enough, as David Carlisle below was apparently able to infer it without difficulty. "Where?" In an XY-pic node, as clearly stated in the question. I don't see how the size of the XY-pic package, nor the fact that it provides other features besides nodes, makes this part of my question unclear. |
|
Jun 30 |
comment |
Is it possible to use the verbatim environment in an XY-pic node? Thanks for your answer. I tried to turn your snippet into a MWE, but without success. Would you mind expanding it into one? If so, I'll gladly mark this answer as accepted! |
|
Jun 29 |
comment |
Is it possible to use the verbatim environment in an XY-pic node? If the question is clear, concise and answerable, why bloat it with a non-working example? |
|
Jun 29 |
comment |
Is it possible to use the `verbatim` environment in a dot2tex node? I should add that I'm particularly interested in being able to put multi-line code blocks or ASCII art into dot2tex nodes, preferably within a single \begin{verbatim} ... \end{verbatim} pair (or equivalent), instead of having to use \verb|foo|\\\verb|bar|, because the more lines the block contains, the more cumbersome the latter becomes. |
|
Jun 29 |
revised |
Is it possible to use the verbatim environment in an XY-pic node? formatting |
|
Jun 29 |
comment |
Is it possible to use the `verbatim` environment in a dot2tex node? Your example works, but both this: echo 'digraph G {a_0 [texlbl="\begin{verbatim}XY\end{verbatim}"] a_1 [texlbl="$x$"] a_0 -> a_1}' > tmp.dot ; dot2tex tmp.dot > tmp.tex; pdflatex tmp and also this: echo 'digraph G {d2tdocpreamble = "\usepackage{verbatim}"; a_0 [texlbl="\begin{verbatim}XY\end{verbatim}"] a_1 [texlbl="$x$"] a_0 -> a_1}' > tmp.dot ; dot2tex tmp.dot > tmp.tex; pdflatex tmp fail with the message ! LaTeX Error: Something's wrong--perhaps a missing \item. So I'd be grateful for a fuller answer :) |
|
Jun 29 |
asked | Is it possible to use the verbatim environment in an XY-pic node? |
|
Jun 29 |
awarded | Student |
|
Jun 28 |
comment |
Is it possible to use the `verbatim` environment in a dot2tex node? Interesting. I can't find the example you gave in the dot2tex documentation, nor in the repo. man dot2tex doesn't work for me - although I used easy_install, so wasn't expecting it to work - but I can't see any documentation in the latest ZIP file either (dot2tex-2.8.7.zip) that includes your example. Please could you tell me more about where you found that explanation? Thanks. |
|
Jun 28 |
asked | Is it possible to use the `verbatim` environment in a dot2tex node? |
|
Jun 27 |
comment |
Automatically avoid more than one node when drawing a path I'd thought the link to the answer to your previous question would have been enough, but I've now expanded the answer along the lines you suggested. No harm in extra clarity :) |
|
Jun 27 |
revised |
Automatically avoid more than one node when drawing a path Revised in light of comments |
|
Jun 26 |
awarded | Necromancer |
|
Jun 26 |
revised |
Automatically avoid more than one node when drawing a path Clarified |