Tag Info

New answers tagged

5

First of all, you absolutely need to tell whoever is in charge of the project what you’re almost saying in the comments: what you’re asking to do here is the consequence of bad decisions that you shouldn’t have to deal with. All you’re doing here is working around these bad decisions because you can’t tackle the main issue. Now, as long as you’re aware of ...


0

The simplest solution is to use utf8 instead of utf8x; in the past there were reasons to prefer the latter (not when writing in French), but the issues (with Greek) have been solved. There's no point in using utf8x and ucs (that's implicitly loaded), because it's just more complicated than utf8 and gives essentially no advantage. ...


2

hyperref needs to be prepared for unicode characters such as the direct use of é etc. Typing é somewhere in the document will do so for all following occurences, but not for the previous on. Ideally, it should appear in the preamble, but this is impossible, since there mustn't be typesetting. The remedy is to 'fake' the output of é (and possible other ...


6

If you are saving the file in latin-1 then the following highly simplified definitions will let you input the latex accent file, which will work for those characters that are the same in latin1 and T1 (8t) encoding. An alternative would be to use the tcx encoding definition possibilities provided by the engine if you use the --enc command line option, but ...


0

You could add a suitable amount of math kerning -- 2.5mu seems about right -- in order to center the "accent" below the associated letter. \documentclass{article} \usepackage{mathtools,accents} \renewcommand{\vec}[1]{\mathbf{#1}} \newcommand{\undernum}[2]{% \underaccent{\mkern2.5mu\mathclap{#2}}{#1}} \newcommand{\mvec}[2][n]{\undernum{\vec{#2}}{#1}} ...


2

I tried some of these except the {mtpro2} since for submitting articles that might not be acceptable by publishers! As I was not satisfied by the previous methods mentioned above, I tried to tailor another method, you can apply the following code, play with the scale factors and positions and choose which one you prefer. The last two I recommend but I ...


3

The comments have already mentioned \overleftrightarrow. Here is an alternative that tries to make the segment use the same heads as \vec, also shown for comparison. Based on my answer at "Double headed" vector, except that I had to make it extensible to match segments of different sizes. On the left are two \vecs, two \dvecs and on the right ...



Top 50 recent answers are included