Linked Questions

7
votes
2answers
9k 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
539 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
84 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?
0
votes
0answers
83 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, ...
454
votes
4answers
257k 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 ...
167
votes
3answers
46k 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 ...
31
votes
3answers
31k 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 ...
29
votes
5answers
50k 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 ...
49
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 ...
6
votes
1answer
5k 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
473 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 ...
2
votes
1answer
177 views

Libertine fancy fractions not working with LuaTeX

Here is my code. \documentclass{article} \usepackage{fontspec} \setmainfont[Fractions=On]{Linux Libertine O} \begin{document} % \addfontfeatures{RawFeature=+frac} 1/2 3/4 5/6 7/8 9/10 11/12 31415/...
0
votes
1answer
211 views

Notation of Ring Factor

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