Tag Info

New answers tagged

3

Don't load inputenc nor fontenc (this one might be needed in special occasions, though) when you compile with XeLaTeX or LuaLaTeX and use fontspec. \documentclass{article} \usepackage[spanish,american]{babel} \usepackage{fontspec} \setmainfont{erewhon} \begin{document} This is American English: Alcalá de Henares \selectlanguage{spanish} Esto es español: ...


1

After @UlrikeFischers comment. The solution for me was that I had to change the (default?) smart quote setting to `none' in both the preferences menu for Texworks in general and in the the format menu for existing documents.


3

Use \acute{} in mathmode: $\acute{\omega}$ Other accents in mathmode: \documentclass{article} \renewcommand{\arraystretch}{1.5} \begin{document} \section*{Accents in mathmode} $\begin{array}{llll} \underline{\omega} & \verb|\underline{\omega}| & \overline{\omega} & \verb|\overline{\omega}| \\ \hat{\omega} & ...


5

Zallman Caps is installed as part of TeX Live in the form of a type1 font. There is no .sty file but the support files for use with LaTeX are all there and the .sty is easy to write. Here's a version which I compiled with pdfLaTeX: \documentclass[11pt]{article} \begin{filecontents}{Zallman.sty} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{Zallman}[2007/11/24 ...


5

Here, I stack a box that contains a rendition of the accent. I introduce \accentletter[\accentbox]{letter} to accomplish the task, where the user creates various \accentboxes to meet his/her needs. I used \smash on my \accentbox definitions so as not to disturb line spacing, but that is a choice left up to the taste of the user. ...


10

If you are willing to buy a font, some sites let you search for the existence of a particular character (e.g., myfonts.com). But you won’t find many sets of ornamental initials that include Ś. If you have a font with the combining acute accent, all is well. Here’s an example with Eadui, a free font. \documentclass[12pt,a5paper]{book} ...


5

The Alegreya font seem not to have U+0302 COMBINING CIRCUMFLEX ACCENT, so only precomposed character with the circumflex over them are available. However, it has U+02C6 MODIFIER LETTER CIRCUMFLEX ACCENT that can be used as substitute. \documentclass{article} \usepackage{fontspec} \setmainfont{Alegreya} \newcommand{\fhat}[1]{\accent"02C6 #1} ...



Top 50 recent answers are included