Tag Info

New answers tagged

3

There are two orders of problems: the distance from the arrow to the symbol is too big; in subscripts or superscripts, the arrow is too wide. Here's a solution for both. \documentclass[titlepage]{article} \usepackage{amsmath,graphicx} \newcommand{\harp}[1]{\mathpalette\harpoonvec{#1}} \newcommand{\harpvecsign}{\scriptscriptstyle\rightharpoonup} ...


0

Macros from the stackengine package allow one to set the vertical stacking gap. Compare items 1 vs. 2 and/or items 3 vs. 4, and/or 5 vs. 6 for a demonstration of changing the stacking gap. In addition, the appearance will also be affected by what is considered the baseline of the subscipt. In 1, 2, the baseline is between the "r" and the harpoon; in 3, 4, ...


1

A solution using the accents package. The difference of vertical spacing with respect to the O.P. method with \overset is null in scriptscriptstyle, slight in \scriptstyle and more important in \textstyle. Otherwise the placement is different : \documentclass[titlepage]{article} \usepackage{amsmath,amssymb} \usepackage{accents} ...


4

Here's a quick-and-not-too-dirty offering: a macro called \harp. It assumes it'll be used in subscript and superscript positions only. For now, it only works with letters that do not have an ascender part. I.e., don't use if with letters such as b, d, f, h, etc. (If you do need to use the macro with such letters, you'll need to tweak the argument of the ...


4

I just found out why this happened. In the TeXworks editor I use, the original setup is: "Format"--> "Smart Quotes"-->"Tex ligatures", after I changed the setup to: "Format"--> "Smart Quotes"-->"None", then it works as expected !!!!


8

Maybe that's very naive, but why not simply input direcly ö in the editor? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} Toksöz \textsc{Toksöz} TOKSÖZ \end{document}


15

It is difficult to see in some editors, but in the first case you have \" acting on o, in the second: \' acting on ', hence the strange result. \documentclass{article} \begin{document} Toks\"{o}z Toks\''{o}z \end{document} BTW: your question gives an interesting example, why " and '' should never be mixed. Improper usage of " as a quote does not ...


1

I've had a similar problem, but I've "solved" it. Online some people seemed to suggest this is to do with hyperref, but, I'm not convinced. Loading hyperref last had no effect whatsoever. In the .tex file I had: \begin{proposition}\label{prop:amG delta in amG delta K} \begin{enumerate} \item This formats so that the 1. of the \item is right next to the ...


3

I’m not sure that I understand your question; is it the exact form of the vowel mark in the name of God that concerns you? If so, see pp. 21 and 27 of arabdoc.pdf for getting the “dagger alif” in arabtex. I don’t know whether you can get it in arabtex without using the ASCII input notation. In arabxetex, you can get it, at least in some readily available ...



Top 50 recent answers are included