1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
|
.\" Automatically generated by Pandoc 2.10.1
.\"
.TH "JGMENUUNICODE" "7" "7 October, 2020" "" ""
.hy
.SH NAME
.PP
jgmenuunicode - An overview of jgmenu unicode usage
.SH INTRODUCTION
.PP
Unicode characters can be displayed by jgmenu.
They can be used in:
.IP \[bu] 2
CSV data
.PD 0
.P
.PD
.IP \[bu] 2
Widgets
.PD 0
.P
.PD
.IP \[bu] 2
Config file
.PP
Throughout this document, unicode code points will be referred to by
writing \f[C]u+\f[R] followed by their hexadecimal number.
In examples, u+1234 will be used.
.SH UNICODE CHARACTERS IN TERMINAL
.PP
Terminals handle unicode differently.
For full support, avoid xterm and urxvt, and opt for something libvte
based such as sakura or gnome-terminal.
In a terminal, you can produce a unicode character by issuing
.IP
.nf
\f[C]
printf \[aq]%b\[aq] \[aq]\[rs]\[rs]u1234\[aq]
\f[R]
.fi
.PP
In libvte terminals, you can press ctrl+shift+u and then enter the hex
sequence.
.SH UNICODE CHARACTERS IN VIM
.PP
Whilst in insert mode, press ctrl+V and then type u1234.
.PP
Use the command \f[C]ga\f[R] to show the hex value of the character
under the cursor.
.SH VARIATION SELECTORS
.PP
Some unicode characters can be rendered as either emoji or text.
Special invisible unicode characters called variation selectors can be
used to force either presentation.
Append with the text presentation selector (u+fe0e) or emoji
presentation selector (u+fe0f), to force text or emoji respectively.
For example:
.PP
u+1f50d u+fe0f \[u1F50D]
.PD 0
.P
.PD
u+1f50d u+fe0e \[u1F50D]\[uFE0E]
.SH USEFUL CHARACTERS FOR BUILDING MENUS
.SS SEARCH
.PP
u+2315 \[u2315]
.PD 0
.P
.PD
u+26b2 \[u26B2]
.PD 0
.P
.PD
u+1c04 \[u1C04]
.SS ARROWS
.PP
u+2192 \[->]
.PD 0
.P
.PD
u+203a \[fc]
.PD 0
.P
.PD
u+25b6 \[u25B6]
.PD 0
.P
.PD
u+2794 \[u2794]
.PD 0
.P
.PD
u+2799 \[u2799]
.PD 0
.P
.PD
u+279b \[u279B]
.PD 0
.P
.PD
u+279c \[u279C]
.PD 0
.P
.PD
u+279d \[u279D]
.PD 0
.P
.PD
u+279e \[u279E]
.PD 0
.P
.PD
u+279f \[u279F]
.PD 0
.P
.PD
u+27a0 \[u27A0]
.PD 0
.P
.PD
u+27a1 \[u27A1]
.PD 0
.P
.PD
u+27a2 \[u27A2]
.PD 0
.P
.PD
u+27a3 \[u27A3]
.PD 0
.P
.PD
u+27a4 \[u27A4]
.PD 0
.P
.PD
u+27a5 \[u27A5]
.PD 0
.P
.PD
u+27a6 \[u27A6]
.PD 0
.P
.PD
u+21a6 \[u21A6]
.PD 0
.P
.PD
u+21d2 \[rA]
.PD 0
.P
.PD
u+21dd \[u21DD]
.PD 0
.P
.PD
u+21e2 \[u21E2]
.PD 0
.P
.PD
u+21e5 \[u21E5]
.PD 0
.P
.PD
u+21e8 \[u21E8]
.PD 0
.P
.PD
u+21fe \[u21FE]
.PD 0
.P
.PD
u+27ad \[u27AD]
.PD 0
.P
.PD
u+27ae \[u27AE]
.PD 0
.P
.PD
u+27af \[u27AF]
.PD 0
.P
.PD
u+27b1 \[u27B1]
.PD 0
.P
.PD
u+27b2 \[u27B2]
.PD 0
.P
.PD
u+27ba \[u27BA]
.PD 0
.P
.PD
u+27bc \[u27BC]
.PD 0
.P
.PD
u+27bd \[u27BD]
.PD 0
.P
.PD
u+27be \[u27BE]
.SH AUTHORS
Johan Malm.
|