# Tag Info

17

How does LaTeX implement UTF-8? The Unicode character é is encoded as two byte in UTF-8, precisely <C3><A9> (I'll use throughout this to denote bytes, also when they are character tokens for TeX). When \usepackage[utf8]{inputenc} is loaded, the byte <C3> is made active and defined to look for the following byte, because <C3> in UTF-8 ...

9

It is easy to get a large accent, eg {\Huge\'{}} positioning it over a normal size letter usually means a bit of trial and error to get something that looks right but perhaps: \documentclass{article} \newcommand\biga[1]{\leavevmode\vbox{\offinterlineskip \halign{##\cr\hss\makebox(0,0){\Huge\'{}}\hss\cr\noalign{\vskip-3pt}#1\cr}}} \begin{document} ...

9

You can use biber to do this. On a command line type biber --tool --output_encoding=UTF-8 myfile.bib For myfile.bib containing: @Article{Schroeder:Na, author = {Schr{\"o}der, M.}, title = {Na{\"i}ve construction of hyper{K\"ahler} metrics}, journal = {{\'E}c. Norm. Sup.}, year = 2000 } you will get an output file myfile_bibertool.bib ...

8

With \usepackage[utf8]{inputenc} characters with the high bit set are made active and verbatim environments don't change this. You can do it yourself: I called this file hernan.tex, so the output file will be hernan.out: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{fancyvrb} ...

7

To use Thai fonts, we do not need to load CJK package, but babel package. To use the fonts in C90 encoding, we can use thaicjk option of babel package. \documentclass{article} \usepackage[utf8x]{inputenc} % English is the main language \usepackage[thaicjk,english]{babel} \addto\extrasthaicjk{\fontencoding{C90}\selectfont} % Hack into CJKutf8 package for ...

6

rather than worry about utf-8 it's probably best to let inputenc worry about that and expand all characters to LICR (latex internal form) then you would also be able to support [latin1] or anything else. I also changed \if it \ifx as \if looked wrong (although I don't really know what the code is doing:-) \documentclass{article} ...

5

Control sequences and packages about font (plain) TeX level control sequences about font There are several control sequences (or say command) about font in the original TeX (TeX primitive and/or plain TeX level command). \/, can be used to regulate the space after italic characters (see the difference between {\itshape italic} normal and {\itshape ...

5

In chapter one, you have inserted some strange characters. Don't know, where you got them from. They look like an other font in my TeXnicCenter. Just delete it (like the ù in più in my MWE) and type it again. Maybe some copy/paste issue. %!TEX encoding = UTF-8 Unicode % [12pt] è la dimensione del testo \documentclass{report} \usepackage[T1]{fontenc} ...

5

There is no Unicode “LATIN SMALL LETTER X WITH TILDE” so you get “x̃” by typing x followed by U+0303 “COMBINING TILDE”. This can't work in math mode, which strictly works from left to right and a following character doesn't influence what's before it. You can make existent Unicode points such as “LATIN SMALL LETTER O WITH TILDE” to behave like \tilde{o} in ...

5


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