Hot answers tagged

8

Free Serif has your desired glyph. \documentclass{article} \usepackage{fontspec} \newfontface\DejaVuSans{DejaVu Sans} \newfontface\FreeSerif{Free Serif} \def\Fhook{\mbox{\DejaVuSans\char"0191}} \def\digamma{\mbox{\DejaVuSans\char"03DD}} \def\mbfdigamma{\mbox{\FreeSerif\char"1D7CB}} \begin{document} \Fhook \digamma \mbfdigamma $\Fhook \digamma \mbfdigamma$ \...


7

You could do this from the menus with LyX. Use: Insert > Special Characters > Symbols,... And get this pop-up window: And input your symbol that way (like Word's ALT-I, if memory serves). You then can copy/paste if you want to keep using that symbol. You can also use the "Evil Red Text" technique as noted by @AFeldman. If you use that approach, ...


7

\documentclass[a4paper]{scrbook} \usepackage{fancyvrb} \usepackage[utf8]{inputenc} \usepackage{pmboxdraw} \pmboxdrawsetup{ Block/box={\texttt{0}}, } \begin{document} \begin{verbatim} NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 32G 0 disk ├─sda1 8:1 0 99M 0 part /boot └─sda2 8:2 0 31,9G 0 part / sr0 11:0 1 55,5M 0 ...


4

The character U+0111 is not a math symbol. There is no symbol for the inexact differential in Unicode, as far as I know. I suggest defining a macro for it: \documentclass{article} \newcommand{\diff}{\mathop{}\!d} % http://tex.stackexchange.com/a/253108/4427 \newcommand{\dbar}{{\mkern3mu\mathchar'26\mkern-12mu d}} % \newcommand{\idiff}{\mathop{}\!\dbar} \...


3

Go to View > Toolbars > Command Buffer or do Alt + x (may depend on your OS, this works on Ubuntu). Go down to the bottom where a text box appeared and enter unicode-insert 0111 and then press return. LyX will take care of the rest. If you do this in plain text, LyX inserts \dj{} for you. If you do this in math, LyX inserts $\mkern3mu\mathchar'26\mkern-12mu ...


3

A bit of technique first. LyX is based on Qt, and Qt delegates the input of Unicode character to input to a component called the Input Method. This includes typing the code point directly, as stated here: https://bugreports.qt.io/browse/QTBUG-8. Thus LyX receives the Unicode character directly in interpreted form from the Input Method. In particular what ...


3

Ideally the default values of Unicode characters math classification woudl be specified by Unicode, just as the default classification as letter or non-letter and case changing properties are specified. Unicode has a technical report http://www.unicode.org/Public/math/revision-14/MathClassEx-14.html Which lists these it is not currently formally part of ...


3

It should work using \r or just using m̊ \documentclass{article} \usepackage{fontspec} \setmainfont{Charis SIL} \begin{document} \r{m}abcdefgh m̊abcdefgh \end{document} (Using luatex from texlive 2016)


2

I don't have the images to test so I made a 1F466.png and 1F4661F3FF.png (your character was U+1F3FF, handling U+1F3FE would be similar) here I define the macro attached to the base character to look ahead, if it sees the first byte of a 4 byte UTF8 sequence for the range of these modifiers (which is F0) then it grabs all four bytes and then either uses ...


2

For the record: in Linux, with Lyx (or without Lyx): Alt Gr + D = ð Alt Gr + F = đ To use the unicode character in math mode you can use \text{đ} or \text{\textit{đ}} of amsmath package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \[f(x) \mathop{\!}dx+g(y)\mathop{}\text{\textit{đ}} ...


2

If you had the current version of latex (or the one before) then it would work by default, but for older releases you can just define the needed character \DeclareUnicodeCharacter{2010}{-}


1

The problem is similar to the one in Is it possible to get the package listofsymbols to recognize the \cdots command?. The figcaps package uses \immediate\write and multibyte UTF-8 characters don't survive it. Also the solution is similar \documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...



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