Hot answers tagged

9

Yes. As per the manual for the fontspec package (section 8.6, 'Optical font sizes'), OpenType fonts with optical scaling will exist in several discrete sizes, and these will be selected by XeTeX and LuaTeX automatically determined by the current font size...


6

As outlined in “8.8 Protrusion” in Fonts out of ConTeXt you can easily construct your own protrusion vectors. Here I use the quality vector but change the protrusion settings for the hyphen (default of the punctuation vector which is used by the quality vector is { 0, 0.70 }) \startluacode fonts.protrusions.vectors.ebohoyod = table.merged( fonts....


5

In addition to what ChirsS said relative to \fontspec, this has always been the behavior of (La)TeX for as long as I know, i.e. also before XeLaTeX and fontspec. You can easily check it yourself. If you compile the following MWE: \documentclass[12pt]{article} \begin{document} \noindent% {\small small}\\ {\normalsize normal}\\ {\Large Large}\\ \...


3

Nevermind! With the help of @SapharKoshet ’s help and this answer I have managed to figure out what the problem was: LaTeX doesn’t like duplicate fonts, so it is preferred to define, let’s say, the default italic font first ItalicFont=*-Italic, then, in the SizeFeatures, leave the definition for the regular font blank, like so: ItalicFeatures={ ...


2

Yes, the OML fonts in newtxmath have optical sizes (5, 7 and 10). The digits are traditionally not taken from this font because the original OML encoding has the “lowercase digits” (old style) in the relevant positions. You can get optical sizes for the digits by using the commented declarations: \DeclareMathSymbol{0}{\mathalpha}{letters}{48} \...


2

Solution: Solved it by changing the source position which hits BS1 to DM1 instead of M1: \beamsplitter[bsstyle=plate, compname=BS1,label = 0.8 -90](DM1)(BS1)(BS2){BS1}


2

The easiest way to get a custom reflective component is using the \opttripole macro, where you can define whatever you want: \documentclass[margin=12pt]{standalone} \usepackage{pst-optexp} \begin{document} \begin{pspicture}(0, 0)(8, 2.5) \pnodes(0,1){A}(6,1){B}(6,2){C}(8,2){D} \lens[abspos=0.5](A)(B){L1} \pinhole(0,1)(3,1) \lens[abspos=2.5](A)(B){...


Only top voted, non community-wiki answers of a minimum length are eligible