Reputation
927
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 16
Impact
~16k people reached

  • 0 posts edited
  • 0 helpful flags
  • 39 votes cast
Apr
29
comment Fonts used in scrrprt TOC
Ah, ok I expected it to use a komafont there instead of \normalfont directly, thanks! (the problem with KOMAscript is that it's not only massive and full of indirections, the internal parts are still documented mostly in german, but I'm not sure if that necessarily makes it harder to understand at that point)
Apr
29
comment Fonts used in scrrprt TOC
Yes that's what I ended up with, but I'd still like to know what KOMAscript does to the non-chapter page numbers
Mar
30
comment Automatic box packing
I would use your answer for i.e. images, but my boxes contain text/tikz graphics, and that would look weird resized. I'll try michal.h21's code, but I'm not sure if I like that algorithm's output…
Mar
30
comment Automatic box packing
Oh yes tex.stackexchange.com/a/65601/2356 seems like exactly what I'm looking for -- weird the search didn't show any related results for 'packing'
Mar
18
comment show content of token register as a string in the document
by "plain tex" I just meant "not using Lua" here, so that works for me. I was confused by the apparent use of character strings for the register, but "token registers accept and return Lua strings. Lua strings are converted to and from token lists" (so I guess the original catcode will be part of the token which is invisible in the string)
Mar
16
comment Updating glue after changing width of a box
cool I didn't know about \unhbox. But is there a way to do this with a box object in Lua?
Oct
28
comment ConTeXt: Using system-installed TrueType/OpenType fonts
OK, I think I got it. After running OSFONTDIR=~/.fonts/fonts/microsoft/ mtxrun --script fonts --reload I can just run context without setting OSFONTDIR and simplefonts even finds the italics. Just running mtxrun --script fonts --reload again deletes the cache and only finds fonts in /usr/local/texlive/2013/. I expected that script to use my system's fontconfig paths, as lualatex appears to do.
Oct
28
comment ConTeXt: Using system-installed TrueType/OpenType fonts
running with OSFONTDIR=~/.fonts doesn't change anything, but giving the exact subfolder which contains cambria.ttc etc as OSFONTDIR=~/.fonts/fonts/microsoft/ it works fully for typescript, italics missing for simplefonts.
Oct
28
comment ConTeXt: Using system-installed TrueType/OpenType fonts
The typescript example produces empty output, not even using the LM fallback, and I get font with asked name 'cambria' is not found using lookup 'name' and font with asked name 'calibri' is not found using lookup 'file'
Oct
28
comment ConTeXt: Using system-installed TrueType/OpenType fonts
Simplefonts looks great, however using your example, everything is set in LMMonoPropLt10-Regular for me and the log complains simplefonts > font ''cambria'' not found and simplefonts > font ''calibri'' not found
Jul
8
comment cleveref, autonum and labeling only referenced equations
The current version, v0.3.5(2013/06/15) doesn't support names with special characters again, I guess the version where it was supported just did so unintentionally, not as a feature
Jul
7
comment unicode-math and tex4ht with utf-8 input
Hm, I was hoping there was a stable solution, seems like I won't be able to avoid editing my document extensively for the tex4ht-edition
Jul
5
comment unicode-math and tex4ht with utf-8 input
In this thread they use \DeclareUnicodeCharacter or a script to replace each non-ascii character with a raw HTML entity, but I don't think this will work with unicode-math because it interprets i.e. as x^2 which generates an <msup> etc. Also I thought XeTeX supported unicode directly?!
May
26
comment Backreferences for equations
Ah yes, turns out getting the backreferences isn't the main problem but putting them next to the equation. Didn't expect that when writing the question, I'll edit it
May
24
comment Cool Text Highlighting in LaTeX
Has there been a solution found for the faded text issue? I've found nothing newer than this answer…
Apr
30
comment Easiest way to plot matrix image
While set pm3d interpolate currently doesn't seem to work with tables, interpolating using set dgrid3d 64,64 exp works.
Apr
29
comment Easiest way to plot matrix image
thanks for the different solutions; I tried the raw gnuplot one but in 4.6 with set pm3d map interpolate 0,0; splot 'data' matrix[which implicitly adds with pm3d] I get an error “Tabular output of this 3D plot style not implemented”. Using with points does output a list of col:row:value, but doesn't interpolate. The message I'm seeing seems to have been introduced in 2012/06/08, no mention of pm3d in this file, maybe a regression or something else wrong on my end?
Apr
27
comment Easiest way to plot matrix image
This is the same problem why I avoid drawing the colorbar gradients with gnuplot: approximating a surface with small rectangles often produces rendering artefacts, i.e. lines of white or lighter pixels in a surface that should appear closed, because the rectangles are rendered on top of each other anti-aliased, and when half-covered pixels don't add up to the intended color exactly it shows a gap. This is not an issue with raster images...
Apr
27
comment Easiest way to plot matrix image
Here is a 131x131 data set I'd like to plot. The (error)values are slightly higher every 32rows/columns, to make that point I'll need to plot at least 100 each. Using a log scale on the values, and drawing the color ticks accordingly would be nice too.
Apr
13
comment Force re-reading a data file
Ok, I thought the point of the table keys was exactly this kind of filtering (like gnuplot's every <skip>:<start>:…), so it's just a side-effect?