Questions tagged [accents]

{accents} is about diacritics, i.e., ancillary glyphs added to a letter, or basic glyph. Some diacritical marks, such as the acute ( ´ ) and grave ( ` ), are often called accents. Diacritical marks may appear above, below, or within a letter, or between two letters.

0
votes
1answer
45 views

Accents misaligned with unicode-math and STIX2

While using STIX2 with LuaLaTeX and unicode-math, I found out that accents such as \hat or \bar aren't aligned properly with the letters: I haven't noticed any similar problems with XITS with the ...
0
votes
0answers
29 views

Accent marks in LyX

I recently started using LyX since it's faster than plain latex but I'm having trouble adding accent marks (´ and ~) to my words (I speak spanish). I'm used to using \' and \~ like in plain latex but ...
2
votes
2answers
51 views

bm package with accent and subscript

I am trying to add bold subscript and superscript to a bold accented character. But the subscript comes out with a different spacing or depth from the version without the accent. I would like to just ...
0
votes
0answers
19 views

Accents problems when using lstdefinestyle

i'm a new user of Latex, and I've got an issue, here is the style I'm using : but when i use some accents like "é" or "à", I've got that error : ! Package inputenc Error: Invalid UTF-8 byte sequence....
5
votes
3answers
175 views

How do I unravel apparent recursion in an edef statement?

The text book that I'm writing requires the ability to dynamically build an alphabetically sorted list. As to not invoke the overhead of high powered, general purpose packages, I have opted instead to ...
2
votes
1answer
43 views

Bar over letter but NOT math mode [duplicate]

Every search I have done for this, the answer involves \bar or \overline but those are math mode and thus result in the math font being used, which often differs from the main text font. Ēostre - ...
0
votes
2answers
52 views

Align hat on top of bar

How do I align the hat on top of a bar for the letter d? I've tried with other bars like \widebar but it doesn't work. $\hat{\bm{\bar{d}}}$
1
vote
0answers
31 views

How can I put a stress accent (a right-slanted accent) on an arbitrary character? [duplicate]

Is there a command for adding a stress symbol above any arbitrary vowel? I do not see how this can be the duplicate of the question re how to typeset accented characters, as this one is regarding ...
3
votes
1answer
66 views

Decrease spacing between double bars [duplicate]

I'd like double bars over my X, that I can get using these overline symbols \[\overline{\overline{X}}\] I also tried the bar symbols, but they're misaligned over the X. \[\bar{\bar{X}}\] What I ...
4
votes
1answer
210 views

How can I print the prosodic symbols in LaTeX?

The package "metre" or "metrix" is very good to print the prosodic accent for LaTeX. But, I counldn't print several signs. Does anyone know how to print this one ?
0
votes
1answer
132 views

Problem with É; À; È with charter font

I'm using charter as my font for my thesis. I just found out that the É, À and È have problem with their accents. The accents are too low and superpose the letter itself. I think it is due to the ...
11
votes
2answers
236 views

Engine problem? Creating dynamic diacritics using the Brill typeface

I’m trying to recreate the following image from John Hudson’s (principal designer of the Brill typeface) presentation slides: Source: The Brill Types, p. 22. The typeface is free for non-...
5
votes
1answer
50 views

Contour tone diacritics with tipa?

LaTeX allows for three level tones and two contours to be notated using the above-vowel diacritics: \'{} for the H tone (á), \`{} for L (à), \={} for M (ā), \v{} for LH (ǎ), and \^{} for HL (â). The ...
0
votes
1answer
47 views

Accents in math mode in latex [duplicate]

I am getting an error when I type: $\~{c}_{it+1}} = c_{it+1}$ The error says: You can't use `\spacefactor' in math mode. ... composite future consumption good $\~{c} How I can modify the code ...
4
votes
2answers
162 views

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

I'm trying to write an expression in which an accented expression enclosed by parentheses has an accent over the parentheses. For example, \vec{(\dot{x})} This typesets fine when amsmath is not ...
2
votes
1answer
68 views

tex4ebook (or htlatex) doesn't treat (mathematical) accents properly?

I tried some codes like \documentclass{amsart} \begin{document} Let's see $\widehat{\mathcal F}=\hat F=\bar F=\tilde F=\overline F$. \end{document} with default compilation. Only \overline is ...
1
vote
1answer
40 views

Unusual Accented Letter: umlaut + accent [duplicate]

This is the letter I'm trying to reproduce: ǘ There's an umlaut and, on top, an acute accent. I can do one or the other but not both. Any suggestion?
1
vote
1answer
60 views

Math operator names in sans serif with accents using eulerpx

This is a follow-up of a previous question I asked before. I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented ...
1
vote
2answers
22 views

Problem redefining hat accent in eulerpx

I want to use eulerpx with the alternative hat accent provided by eulervm (via the euler-hat-accent option). To this end, I copied the relevant commands from eulervm.sty (see also this answer). The ...
3
votes
1answer
50 views

Problem with accents in math mode using eulerpx package

The following code \documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{newpxtext,eulerpx} \begin{document} $\textsf{á\ â\ ã\ ä}\qquad\mathsf{\acute{a}\ \hat{a}\ \...
3
votes
2answers
153 views

Caron Accent \v{a} doesn't render without \usepackage{xeCJK}

I am encountering an odd problem. I want to create composite characters such as ǎ using the newunicodechar package. However, it only yields a result in combination with the xeCJK package. This code ...
2
votes
2answers
61 views

overline command in math mode with verbatim

Does anyone know how to get something like \overline{\verb!signal!} to work? I cannot seem to figure out how to get \overline to understand a verbatim command.
0
votes
0answers
51 views

Coelacanth Hungarian accents

I would like to use coelacanth font type. However, the long Hungarian umlaut is wrong. The two top of the two accents should be at the same level, and for the bottom the same is true. Is it possible ...
1
vote
0answers
66 views

periodic digits and numprint

I want to use numprint to add separators every three digits of a decimal representation of a rational BUT with an overline over the repeating digits. For example, for the unitary fraction 1/42, I get:...
2
votes
1answer
292 views

How do I italicize a crossed H?

"Crossed h" (ħ) is a letter used in phonetics, as well as in the Maltese language, and some Semitic transcriptions. I would like to be able to display it, both upright and in italics. tipa provides ...
0
votes
0answers
34 views

Extraneous parenthesis with extensible accents and yhmath

I have found that using the yhmath package results in an extraneous parenthesis trailing an object with an extensible accent. What is required to remove this parenthesis? The following code without ...
3
votes
0answers
52 views

Large tilde over math symbol with automatic horizontal positioning

I find that $\tilde{x} produces a tilde that is much too small for legibility at the screen resolution I normally use for reading. On my screen it looks like a tiny bar above the symbol. This question ...
1
vote
0answers
61 views

Double subscript [duplicate]

I have some macros whose expansion generates something like: \documentclass{amsart} \begin{document} \({T_2}_k\) \end{document} This compiles fine; technically there's a double subscript, but the ...
0
votes
1answer
108 views

l3keys2e's option with accent: \UseTextAccent… \@curr@enc error

The following expl3 class, that provides an option (mykeyword) thanks to l3keys2e, works like a charm: \begin{filecontents*}{myclass.cls} \RequirePackage{l3keys2e} \RequirePackage{expl3} \...
4
votes
1answer
60 views

What is the intended use of the tie-after character (⁀ ) in TeX

In Computer Modern, the tie-after character (⁀ ) is defined in the cmmi* faces (math italic). The kernings inside the cmmi* are used math accent positioning but the text use is not clear to me. What ...
3
votes
1answer
88 views

How to design math accent positions correctly?

I am designing a math font with the usual math encodings (ot1, oms, oml, omx, msam, msbm) and am trying to get the math accents correctly. I already found out that the correct accent position is done ...
6
votes
2answers
254 views

Command for vector dot with some power

So what I am trying to type is the square of the derivative of vector x. I tried \dot{vec{x}}^{\,2} as well as \dot{\vec{x}^2}, but the outputs came out to be very offset. Is there a correct way to do ...
1
vote
0answers
90 views

Macron accent not working [closed]

I have the following .tex file: \documentclass[11pt, a4paper]{letter} ` \usepackage[utf8]{inputenc} \usepackage{ipa} \usepackage{tipa} \usepackage[T1]{fontenc} % Required for accented characters \...
2
votes
0answers
84 views

Combining multiple diacritics in Linux Libertine [closed]

In several Native American languages, nasal vowels are marked with an ogonek and can take an acute accent. I'm using XeLaTeX to put together a proceedings volume, and for some reason, I cannot get a ...
4
votes
2answers
84 views

How can I put a ring accent below (or inside) a letter in math mode?

I need to put a circle (ring, zero etc.) below or inside a \Lambda letter. I need to do so both in math mode of LaTeX document and in mathtext mode of matplotlib - so my choice of commands is limited....
4
votes
1answer
309 views

Undefined control sequence \accentset when using todonotes package

I'm trying to use todonotes together with the accent package, but the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{accents} \usepackage{todonotes} \begin{document} ...
1
vote
1answer
74 views

Missing letters in calligra font

I'd like to use calligra font for a cite, but two letters are missing from the package: ő and ű. The code: \documentclass[xetex]{beamer} \usepackage{calligra} \usepackage[magyar]{babel} \usetheme{...
4
votes
2answers
69 views

Multiple math accents in exponents

How can I prevent an offset in stacked accents (hat is not in the middle of the tilde) and how can I typeset the exponent 'a' in the example below not to be so high and near the tilde? For your ...
1
vote
1answer
122 views

Can't typeset cedilla

I'm trying to typeset a lower-case letter "a" with a cedilla: \c{a} but this just produces an italic lower-case "c" immediately followed by a regular lower-case "a". Other accent escape codes work ...
0
votes
0answers
74 views

{\O}ksendal in bibtex -> \mathcal allowed only in math mode. Bernt {\O

I have a large and messy document that throws together more large and messy documents and packages and I suddenly get the error ! LaTeX Error: \mathcal allowed only in math mode. See the LaTeX ...
1
vote
1answer
47 views

accents not working in subsubsection header [closed]

I have to reference some products of Cadence Design Systems. I run into a problem when I try to write 'Cadence' with a macron above 'a'. \documentclass[12pt, a4paper]{report} \usepackage{cochineal} ...
2
votes
0answers
42 views

Conflict with package newpxmath and \accentedoperators [duplicate]

Whenever I use the \accentedoperators command from spanish, babel, alongside the package newpxmath, the accents on math commands disappear. Not only that, dots on i's disappear as well. \...
1
vote
1answer
76 views

How to insert \ast above a character

I am relatively new to LaTeX. I use this code (which I found somewhere): \leavevmode \vbox{\offinterlineskip{\ialign{\hfil#\hfil\cr\hidewidth$\scriptstyle {*} $\hidewidth\cr\\$R$}}} to obtain an R ...
0
votes
1answer
32 views

How to make the defined `\oline` adjust with texts?

First a MWE is as follows: \documentclass{amsart} \usepackage{amsmath,amsfonts} \newcommand*\oline[1]{% \kern.2em%add the left space \vbox{% \hrule height 0.3pt% % Line above with certain width \...
1
vote
1answer
51 views

How do i get an i with circumflex and point in text mode?

I am using bold upright tensor indices, which I include in a math environment via \textbf{}. I now want a little hat on these indices, which include the letter i. However, when I write \textbf{\^{i}} ...
4
votes
1answer
68 views

Using math accents/diacritics as standalone symbols

Suppose I have an operation on a set X which I want to denote with something like $X^\prime$, $X^\bullet$, or $X^\circ$, except with a different symbol. I found out that some of the diacritics ...
7
votes
2answers
377 views

Why is bibtex mangaling \v{S} into v?

I've got a citation where the authors name includes Š. LaTeX gives an "! Package inputenc Error: Invalid UTF-8 byte sequence." on this, fine, I'm used to that, so I replace it with \v{S}. That just ...
5
votes
1answer
86 views

(mód 1) is not copied correctly

Please consider the following MWE: \documentclass{article} \usepackage[spanish]{babel} \selectlanguage{spanish} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} Works: áéà Does ...
1
vote
1answer
578 views

Convert LaTex accented characters to UTF8 equivalent with Python

I think this should be something standard, but I'm having hard finding anything that works. Given a plain string containing LaTeX accented characters, does anyone know of a python library which can ...
1
vote
1answer
67 views

To improve \check symbol in math mode and unify it with \hat

For some reasons I need \check{symbol} as well as \hat{symbol} in the same expression for different symbols. But the accent in \check{symbol} looks not identically as in \hat (much worse!) and prints ...