The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
1answer
1k views

Font substitution with XeLaTeX

I have an automatically generated document (using Doxygen) that has many different Unicode characters for many languages: Hebrew, Japanese, Greek, Arabic and more. Some parts of text displayed using ...
14
votes
2answers
412 views

Is there any reason not to use \let to redefine a deprecated control sequence to the currently recommended one?

I understand that \bf and \it are both deprecated in the current version of LaTeX. To the best of my knowledge, the correct control sequences replacing them are \bfseries and \itshape. Is there any ...
13
votes
1answer
5k views

Replacing a substring

I've got a string like this: aXYbXYc, and need to replace the XY substring with a right arrow: a $\to$ b $\to$ c. Is there any function (also provided by external packages) to help me do that?
9
votes
1answer
190 views

What packages provide text/command substitution for LaTeX, XeTeX and LuaLaTeX?

I am aware of the following: xesearch - Allows both text and command substitution. Only for XeLaTeX Simple example: \usepackage{xesearch} \SearchList{list1}{Hello}}{hlw} Any time "hlw" is ...
7
votes
2answers
1k views

Glyph substitution: alternate capital Q in URW-Garamond? (LaTeX, Mac OS X)

I am using URW Garamond in LaTeX running on Mac OS X. The capital Q has a very long swash (extending beyond the next two glyphs!), which makes it unusable for me (I have too many capital Q's in my ...
19
votes
4answers
2k views

Is there a way to eliminate the “\” in frequently used LaTeX commands?

The "\" in all of the commands requires frequent finger gymnastics of the pinky of the right hand in LaTeX, at least for the touch typist. It occurred to me that although it makes things more ...
7
votes
4answers
937 views

Search and replace in a verbatim token list

I maintain a package for the R programming language that contains a vignette which gets processed using the Sweave literate programming system. Now, one of the irks about Sweave is that it always ...
7
votes
1answer
2k views

Recommendations for substitution of non-free fonts with LaTeX typefaces?

I'm trying to create a LaTeX template for reports we use in our organization. The original template is in .doc format, and uses a few non-free fonts, specifically Gill Sans. I'm looking for a LaTeX ...
3
votes
2answers
73 views

How to implement a verbatim or null environment using a boolean within \newcommand

I am trying to use a boolean environment within a \newcommand statement to selectively implement a verbatim environment. When I set the boolean to true it should put the "Answer" within the verbatim ...
3
votes
0answers
103 views

changing font of one (or a small number of) text character only [duplicate]

Possible Duplicate: Font substitution with XeLaTeX I am using a text font that unfortunately does not have accents for the letter e, which I need. But I have found a very similar font, and ...
6
votes
3answers
902 views

Substitute font's glyphs with glyphs from the same font

Is it possible to substitute certain font's glyphs with other glyphs from the same font? I am using Xelatex and Fontspec. More specifically, I am using small caps with Linux Libertine O C and the ...
1
vote
1answer
85 views

Substituting with \StrSubstitute does not work

I am having a problem substituting string using \StrSubstitute. The way I understand the function, as according to the documentation (page 7/8), it should work with three arguments. It should search ...