@1010011010 Yes. I'm not David but I've played with this stuff more recently ;). Also, you can construct glyphs in virtual fonts. For example, you need an ff ligature for small caps? Create one by putting a small cap F then the kerning between small cap F and itself then another small cap F and then set the kerning for the ligature equal on both sides to the kerning for the small cap F. Etc. Also, there are cases in which it's convenient to create other fake ligatures although I forget my reasons.
@1010011010 Take a look at the .mtx files under tex/fontinst/. I know you are not using this but take a look anyway. Electrum uses an .mtx file to build a tt.sc glyph. This is because the non-sc has a special tt glyph and I'm mirroring that for consistency. You can see the effects if you convert the relevant .vf files back to .vpl. Or compile the source which is more compiling but will create a more readable result. (Comments get stripped when you convert .vpl to .vf.
@baxx There are several things you can do. TikZ allows you to use relative coordinates, so you can say \draw (10,10) rectangle +(1,1);. With that syntax you only have to change one coordinate.
Further, if you have several paths starting/depending on the same coordinate, you can say \coordinate (a) at (10,10);, and then use \draw (a) rectangle +(1,1);. Another way, if you have multiple paths that should all be moved by the same amount, you can add a scope environment with a shift parameter around them, i.e. \begin{scope}[shift={(-9cm,-9cm)}]\draw ...; \draw ...'; \end{scope}.
@cfr Thanks for the suggestion. My issue is the exact opposite: I have wayyyyyyyyy too many ligatures. Even redundant ones like "a_t" and "u_m" and "p_o"
@egreg You can't add \Ucharcat to luatex.fmt for the same reason you can't add \pdfstrcmp or another other emulated primitive: number of expansion steps. The best that can be done is what @heiko does in pdftexcmds: wrapping up the primitive if available so a defined interface always requires two expansion steps.
Only a question in the sense of feedback requested. Move if necessary...
For some time, I have been working on a better alternative to packages such as pdfx and xmpincl. I think I've got it! Results have been checked against professional software, and it seems to work just fine. No known bugs (h...
@egreg In this case I don't really have an operator font. Since I only need () I just took them from the non-italic font ;-) And I realised I had to use \mathpunct for . and ,, learn something new everyday.
@egreg I thought about that but as I say the issue is such an 'emulation' is not right. We'd need Hans to add a \defprimitive or similar primitive for these cases.
@egreg I think suggesting that is my next mail to the luatex list, it could easily have a command that allowed you to define a new primitive in lua rather than having to \def a macro that takes one step to expand to a call to \directlua.
@JosephWright although I suspect they won't be keen, the extra expansion step mainly affects cross-engine compatibility and I suspect that is not an issue in context/luatex core development.
@JosephWright I don’t think that’s fair. Hans definitely understands that people need cross-engine compatibility, he just doesn’t do it himself. And he’s maintained ConTeXt for both pdfTeX and luaTeX for years, so he knows what it’s about (although he didn’t aim at compatibility between Mark II and Mark IV).
@JosephWright @DavidCarlisle Besides, he’s not developing LuaTeX himself; Luigi is, so he’s the one you need to convince.
@moose that's definitely a different (more or less unrelated) question as standard tex fonts don't have the reversed questionmark so it is just a "how do i typeset ... random weird character.." question it's not related to the inverted questionmark other than some visual similarity.
@JosephWright Re ConTeXt and LuaTeX, I think there are misunderstandings about how things actually work, but it’s probably better to discuss it face-to-face.
@JosephWright do we know if people actually use the DVDs? Every year I get two; one from tug and one from uktug but it's years since I've taken one out of its sleeve.
@JosephWright Oh sure, I didn’t say that we should do that by ourselves (although Jérémy was considering it back then). But I can see things evolving in that direction.
@JosephWright yes but unless you are paying by the second, you can start a download and it'll be there in the morning.. I think I installed tl2015 from home where the connection is less than 2Mbps and it didn't take that long.
@moose probably also the answer is too vague, some fonts will have it (any unicode font for example) or for the rest you can use \reflectbox? unless you want cut and paste from the pdf to show a reversed questionmark in which case you need a font.
@moose I agree with @DavidCarlisle: unless you give more context about your environment and your requirements, the most comprehensive answer one can give is the one he just made.
how do i find out what the font code is for something like tug.dk/FontCatalogue/berasans to use in a {\fontfamily{tgchorus}\selectfont section? So I can set the font just for that paragraph or whatnot
which means that without using a package you can use \fontencoding{OT1}\fontfamily{cmr}\fontseries{m}\fontshape{n}\fontsize{10.95}{13}\selectfont to get that font setup
@baxx yes where did you expect \tgchorus to be defined?
@baxx sorry I can not guess what you mean. what I meant was that if you have loaded a font package then at a point where it is using some font you can put \showthe\font and tex will show you the font being used at that point.
@DavidCarlisle no worries. I was just trying to use a different font, so the font being used probably isn't whats needed. I was trying to use {\fontfamily{tgchorus}\selectfont <stuff> } but I don't know what the font code thing is for tgchorus font family
computer moderns looking pretty nice at the moment
@baxx Karl Berry used to maintain a list of all the compressed names like cmr for computer modern and ptm for times (it was his scheme originally) but I think there are just too many fonts these days to maintain a central list, and the original reason for the compressed names no longer exists (8 letter filenames for msdos and similar OS)
@baxx well some packages documentation will spell it out, or you could do the above, or you could look in the log file for the name of the .fd file that is loaded or you could read the source of the package or ....
@baxx yes that's why when you use \usepackage{times} a one line package changes the text and headings from cm to times without having to explicitly redefine everything. Of course a class could define headings to use a specific fixed font, but most don't.
Hi there. Might I ask someone how you could force a specific width (i.e. not unlimited, which is how my .tex file is currently being rendered) for a \newtcbox{...} please?
I am using .. [2] / [2]_ style footnotes in restructuredText. I would like them to be displayed on the end of the page where they occur rather than at the end of the document. How can I go about this? I need a solution that works with rst2latex.
@ChristianFeuersänger Hey I saw you have answered this question. But this is still happening although not always. Sometimes it goes away. Any idea on what I can do? I need Xelatex and I need the shading for a certain document. I have asked a question here about the same problem.
Besides updmap and texhash, what other options do I have to fix an issue with otftotfm? I've already completely reinstalled TeX Live 2014 and I've cleared the registry
Hello to everybody. Just a word to @egreg, regarding your answer to tex.stackexchange.com/questions/249633/… : after all, I thought that direct manipulation of \@listctr is not inferior to copying values between counters back and forth.
@Johannes_B I don't understand the question in the sense what he really wants to there but I realized, that he might use my cntperchap package to know the number of chapters in advance (well, after the first run)
Only two days left until TeXLive 2015 ... I am so excited ;-)
@GustavoMezzetti -- i was thinking of something even sneakier, no enum packages, but cloning some of the basic latex.ltxcode. but i'll forgo that, since i haven't got time today to work it out. but i'm intrigued by this one, since i've never seen it asked before.
@egreg -- and all your versions look plausible. but, i think you might admit, that having everything within a chapter sequentially numbered has a certain logic to it.
@GustavoMezzetti -- admittedly, i don't know you, but you can generally assume that the chatterboxes here will always assume the worst.
@egreg I think this was clear from the general tone of our conversation.
… as @barbarabeeton has just remarked.
OK, ladies and gentlemen, it’s beginning to be a bit late for me, so good night to everybody (or goodnight, which is exactly the same, as it is in Italian ;-), and thanks again for the enjoyable time.
@barbarabeeton I saw that LinkedIn discussion in my inbox just now and arrived at the comments section only to find that you'd beaten me to the punch line. :-)
@egreg Good. It's actually really trivial. What's your opinion on the spacing between letters in math? I'm fine tuning everything and I don't really know where to start :-) I'm not very savvy when it comes to "profesionally typeset math", but I can imagine that you are
@1010011010 Italic letters should have wider sidebearings than normal italics. In Computer Modern Math Italic they are also slightly different (wider, generally) from text italic. How wider? Well, that depends on several factors.
@1010011010 The hook of the a shouldn't be taken into much consideration for the side bearing: you can see that the esponent is too far. Conversely, the k has too small sidebearings. Also uppercase is too tight.
@1010011010 Too wide is for some letters, actually: the “c”, for instance. I find the spacing inconsistent.
@1010011010 Prepare the same with Computer Modern and compare. However, I'd never use such a font for math. The “E” is “funny” (to use understatement).
@egreg I understand where you're coming from, though that E will never be used in the final product. It's actually made for a book in physics. Mathematics is generally typeset prettier (in my opinion), that's why I was looking for people like you.