Linked Questions

8
votes
2answers
11k views

angled fraction like superscript [duplicate]

I would like to draw a fraction like symbol that looks similar to \frac{a}{b} BUT is angled so that the a is higher than the b and the slash is angled. Sort of like a % sign but not as drastic. Not ...
0
votes
1answer
647 views

How to type the '3/2' in Latex with different height as shown in the picture? [duplicate]

how to type the fraction 3/2 with different height in Latex as show in the picute
0
votes
0answers
138 views

How produce case-fraction? [duplicate]

In LaTeX, how does one produce common case-fractions, that is, fractions typeset as a single glyph? For example, rather than (images from: https://en.wiktionary.org/wiki/case_fraction) I need, ...
0
votes
0answers
95 views

writing simple fractions (1/2, 1/4) in social science text [duplicate]

As part of a social science text, in one place I need to write fractions like 1/2, 1/4, 1/3. How can I write these fractions in an elegant way without using mathematical packages?
488
votes
4answers
285k views

How do I use a particular font for a small section of text in my document?

The standard font packages make global changes to the fonts in my document. What if I want to use a particular font for just a portion of my text? How do I find the right name of the font? How do I ...
169
votes
3answers
49k views

Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX

Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (inputenc, fontenc, babel) and a bunch of other ...
32
votes
3answers
39k views

How to make fractions in powers look good

Quick question. When I type $e^{\frac{1}{2x}}$ it makes the fraction very small and hard to read. However when I type $e^{\displaystyle\frac{1}{2x}}$ it makes the fraction way to big. I guess in ...
32
votes
5answers
59k views

How to print \frac{1}{2} by a single Unicode character?

I am looking for a command which would print simple fractions like 1/2, 1/3 etc using glyphs available in modern TTF/OTF fonts. Ideally, I want this command to output ordinary \frac{1}{2}, \frac{1}{3} ...
27
votes
4answers
3k views

How do I get a list of all font features supported by current font

With LuaTeX, how do I get a list of OTF features supported by the current font in use printed? For example, with otfinfo, I can get a list of OTF features by otfinfo -f font_file_name. Can I do ...
51
votes
2answers
3k views

Improved kerning in fractions?

Question How can I apply selective kerning within the numerator and denominator of an inline fraction? Specifically, I'd like to: Tighten kerning after the numerator if it ends in 7 Loosen kerning ...
7
votes
1answer
6k views

Fraction whose items are words

I have troubles writing a fraction whose items are words not numbers. In a nutshell I should write: minaccia/vulnerabilità --> this is the numerator ---------------------- contromisure ...
7
votes
2answers
587 views

Modifying fraction macro for in-line text and exponents

There's an amazing fraction macro here* for FontSpec with LuaLaTeX (*: that would be the second macro in that answer, called \unifrac, which I like better than the first "macro"/ using the frac ...
15
votes
1answer
1k views

How to find out which glyphs are different in an OpenType style set?

With fontspec, and XeTeX or LuaTeX it's possible to access a font's OpenType features, including the Style Sets, e.g. like this: \addfontfeatures{RawFeature=+ss01;+ss18} TeX.sx has already taught me ...
5
votes
1answer
153 views

IBM Plex text fractions with ConTeXt

I want to typeset text fractions with potentially arbitrary text instead of just numbers. A solution was presented here and this is my ConTeXt implementation: \usetypescriptfile[ibmplex] \...
0
votes
1answer
440 views

Notation of Ring Factor

I can't make this expression Anyone can help me to make this expression?

15 30 50 per page