# Tag Info

12

∞ is U+221E so you want, for (pdf)teX \DeclareUnicodeCharacter{221E}{\ensuremath{\infty}}

12

the issue is in the class file, which uses \uppercase for the case changing rather than \MakeUppercase. A fix: \makeatletter \def\@ucnt#1\thanks{\MakeUppercase{#1}\futurelet\@tempa\@ucnta} \makeatother The difference here is that \uppercase is a TeX primitive and can only case change 'native' input for the engine, whereas \MakeUppercase is set up to deal ...

12

You can load the wasysym package and use these commands. Note the \ being used to preserve the space after a macro. \documentclass{article} \usepackage{wasysym} \begin{document} Do you like \LaTeX? \Square\ Yes – \Square\ No You can answer using \CheckedBox\ or \XBox, but don't leave it empty! \end{document}

10

If you use a Unicode engine (xetex or luatex) it is just a matter of finding a font, which offers these symbols. I have expereinced the DejaVu Sans font to be pretty complete in that regard. You might not want to change the font of the whole document just for these symbols, so it becomes necessary to allocate a \newfontfamily which I named \boxedsymbols. ...

5

You can somewhat emulate Unicode also with Plain TeX; say you want to input ć and get \'c out of it. \catcode"C4=\active % 0xC4 is a two-byte prefix in UTF-8 \def^^c4#1{\csname\string^^c4#1\endcsname} \expandafter\def\csname\string^^c4^^87\endcsname{\'c} %%% add other UTF-8 characters having 0xC4 as prefix %%% Repeat for all other UTF-8 prefixes you need ...

5

I think that rather than look at unicode-math it's more natural to look at inputenc's utf8 support (if your main interest is textual accented characters rather than math symbols). That maps Unicode input to classic latex markup. The base latex distribution has a file utf8enc.dfu that contains the mapping as far as it is implemented. As memory constraints ...

4

You can use the cmtex10 font, that has several math symbols and is compatible with cmtt. The code below assumes you use the characters either in math mode or in Verbatim. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fancyvrb} \usepackage{newunicodechar} \DeclareFontFamily{U}{cmtex}{} \DeclareFontShape{U}{cmtex}{m}{n}{ <-> cmtex10 ...

3

This is not a complete answer to your question, but it’s too long for a comment. It’s my first attempt to address your questions (and probably my last for a while, until I get other work done…). There may be better solutions, and there may be mistakes in my attempt, because my experience with bidi is mostly for Arabic, and I know little about Hebrew and ...

3

afaik, Metafont is designed to work only with 8 bit fonts, so you are basically out of luck. However, you can trick dvi drivers of the postscript family to produce unicode aware ps/pdf with the aid of enc files. So generate your font within the 8 bit range and prepare an enc file to feed the driver in due course.

3

Assuming that you have unicode input correctly declared either via \usepackage[utf8]{inputenc} or using xelatex or lualatex then  will ligature to “ and produce identical output. So the pros and cons are all about the human interface to editing, not about latex. Most latex users use ascii input as they have been using it for a long time, but even ...

2

If you only need characters below \ua000 then you can presumably use \def\u#1#2#3#4{\uchar"#1#2#3#4 } If you need to use higher characters with a letter following \u then you could in addition make u a non-letter \catcode`\u=12 but best to do that in a local group or something will break. (This is just using luatex primitives so should work in ...

2

You need an unicode aware engine to do it; macro packages like Plain cannot do it by themselves. Examples of unicode aware engines are xetex and luatex, and perhaps etex and pdftex with the enctex extension.

2

For commercial fonts, many sites make you beg for information, even though one would expect salesmen to exhibit the opposite behavior. MyFonts supplies more information than most, allowing you to do an advanced search for fonts with Greek language support tagged “polytonic.” Both criteria are necessary, because searching for Greek in the “language support” ...

2

We need to use \pdfstringdef \documentclass{article} \usepackage{fontspec,hyperref} \usepackage{polyglossia} \setmainlanguage{french} \begin{document} \pdfstringdef\toto{tête} \hypertarget{\toto}{tête} \newpage \hyperlink{\toto}{tête} \end{document} Or better to patch some internal commands of hyperref: \documentclass{article} ...

2

This is the purpose of preview-latex. Here, with auctex 11.89, with the cursor on the math item, just type C-c C-p C-p and the editor displays the ζ .

2

Your example doesn't work even with pdflatex, so it isn't really surprise that it doesn't work with tex4ht as well. Easiest solution to get non-european scripts working with tex4ht is to use helpers4ht bundle, in particular emulation of fonstspec package. helpers4ht aren't on CTAN yet, you need to install it yourself. Now back to your example, it is little ...

2

Not elegant, but it works for me: I just use my dumb solution and define a function for each character I need. What I have so far is (defun LaTeX-math-alpha () "Insert α" (interactive) (insert "α" )) (defun LaTeX-math-approx () "Insert ≈" (interactive) (insert "≈" )) (defun LaTeX-math-beta () "Insert β" (interactive) (insert "β" )) (defun ...

1

Ok as nobody had written: this works \newcommand{\начать}[1]{\emph{#1}} \let\начать\begin \let\конец\end \newenvironment{стих}{\begin{verse}}{\end{verse}} Works out of the box, thanks to @David Carlisle for \let\xyz\begin tip

1

It is not sufficient to set the input encoding. For correct uppercasing you also have to set TeX's internal encoding (which is in classical TeX and LaTeX identical to the font encoding) by choosing \usepackage[T1]{fontenc}

Only top voted, non community-wiki answers of a minimum length are eligible