250 reputation
311
bio website schlamar.org
location
age
visits member for 1 year, 11 months
seen Mar 9 at 20:56

Jun
22
comment Prevent caption to appear on separate page
So? No further idea? :(
Jun
21
comment Prevent caption to appear on separate page
It should be a general solution, so the length of the source code is dynamic. I'm not sure how the rest of the points can apply in this case. I added an example, see the answer.
Jun
21
comment Prevent caption to appear on separate page
Added the example.
Jun
21
comment Prevent caption to appear on separate page
Just to make it clear (again): Pagebreaks should be allowed, but not between the end of the listing and the caption. I try to make an example.
May
25
comment In a multiple file LaTeX document, is there a way to tag each page with the file that generated it?
My LaTeX environment (Windows) is the Sublime Text 2 editor with the LaTeXTools package which allows a forward and inverse search with the SumatraPDF viewer.
May
24
comment Beamer: Changing the font size of the references using the shrink argument causes an error
What happens if you change directly the font size, for example with \tiny?
May
24
comment Beamer: Changing the font size of the references using the shrink argument causes an error
Test with \frame[shrink=50,fragile], this often helps if you are doing complex stuff on your frame ;-)
May
24
comment Centered title page in twoside report
The manual setting of the type area is not preferable in general as long as you don't have strict presets from your department. See the documentation of the Koma-Script package for a guideline about setting the type area.
May
16
comment Speeding up minted compilation
@Aditya You started the comparison ;-) IMO the new explanation was missing in your first comment.
May
15
comment Speeding up minted compilation
@Aditya, the t-filter has not only the overhead of the md5 check, but also the reading and writing to the external files, which should make this approach considerably faster than your solution.
May
10
comment How to install syntax highlight package minted on Windows 7?
If you install pygments with pip (see my answer below) everything works fine and there is no need for a workaround.
May
10
comment Speeding up LaTeX compilation
If you need only one latex run this approach will slow down the compilation!
May
7
comment Version Control with GIT for Tex / Latex Files in One repository or split to sep. repos
You can use git submodules for handling common files, so this disadvantage is IMO off the table. Or did you mean this by subprojects?
May
7
comment Prevent caption to appear on separate page
minted allows breaks. But \nopagebreak does not work. I want to allow page breaks within the code (so the minipage environment is no solution) but not at the end of the code before the caption.
May
4
comment Prevent caption to appear on separate page
About an example: After an additional paragraph the problem does not exist for now, but I didn't want to check every listing before I can release my writings.
May
4
comment Prevent caption to appear on separate page
The environment must not float. But if you are sure about placing the captions at the top, this would solve the problem. ;-)
Apr
27
comment Code spanning over two pages with minted, inside listing with caption
\captionof requires an environment so this does not work correctly, see my answer.
Apr
26
comment What is a good font for URLs to go with Palatino for the main text?
Using the scaled option without a factor looks even better. Optically, the scaling factor does not seem to differ, but the headings - espicially in TOC - fit nicer to the Palatino font.