4,765 reputation
820
bio website
location
age
visits member for 2 years, 7 months
seen 3 hours ago

15h
comment Matplotlib's PGF vs Matplotlib2Tikz
@SAAD Saving directly to PDF with the PGF backend will give you plots that are completely created with LaTeX. The default save to PDF uses matplotlib's mathtext, which is faster than LaTeX but less flexible and powerful. It's possible to use the usetex option to get actual LaTeX text when saving to PDF, but that seems to be using LaTeX only for the text part of the PDF, not the whole thing. The PGF backend does everything in LaTeX.
1d
answered pythontex on Ubuntu 14.04
Aug
16
answered Matplotlib's PGF vs Matplotlib2Tikz
Aug
12
comment pythontex on Ubuntu 14.04
What version of Pygments do you have? You can probably get this by running pygmentize -V at the command prompt.
Aug
8
comment get spyder-like color highlighting in pythontex
Pygments has lots of styles you can try here; if one of those isn't close enough to what you want, then you would have to create a custom style.
Aug
7
answered Printing stdout with pythontex and line referencing
Aug
6
comment Beamer and Pause with PythonTex
@guillaume What part is too long and complicated? The example seems to do what you want--the only real limitation is that you have to reveal a single line at a time, instead of a whole chunk of output in cases with multiline output. If there are other issues, it may be possible to fix them.
Aug
6
revised Beamer and Pause with PythonTex
improved clarity
Aug
6
answered Beamer and Pause with PythonTex
Jul
30
comment Cyrillic in minted label
This may be due to terminal encoding and/or a Pygments bug under Python 2. See this for some possible solutions/workarounds.
Jul
6
awarded  Good Answer
Jul
2
awarded  Self-Learner
Jul
1
reviewed Approve suggested edit on Using GNUPlot inside Latex (TexStudio) for IEEE Tran
Jul
1
reviewed Approve suggested edit on Thick ticks are cut off
Jul
1
reviewed Approve suggested edit on Circle with a fill in CircuiTikz
Jul
1
reviewed Approve suggested edit on How to vertically center a minipage within a tabular environment
Jul
1
comment Is it possible to make Beamer pause-handout mode compatible with SageTeX?
For long calculations, you might perform the calculation once and save it in a variable using a sagesilent environment, and then access the value of that variable in the actual slide using \sage.
Jul
1
comment Possible bug in minted package
If you really want good, configurable background colors (and perhaps want code that will break across pages when there is a background color), you should use a proper framing package like tcolorbox or mdframed instead. The current background color in minted could probably be improved, but given its limitations (only a few lines of code), framing packages are a better solution in many cases.
Jun
6
reviewed Approve suggested edit on How can I join two letters with an arrow?
Jun
2
reviewed Approve suggested edit on How to insert a page break between a figure and its caption?