Tag Info

Hot answers tagged

7

I'm not sure people reading your document will understand the symbol or know how to pronounce it. However, here's a way without loading the whole CJKutf8 \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{newunicodechar} \newunicodechar{ろ}{\text{\usefont{U}{min}{m}{n}\symbol{'215}}} \DeclareFontFamily{U}{min}{} ...


5

This example works with lua-, xe-, pdf- and with plain latex (followed by dvips and ps2pdf conversion). % run: *latex mal-japanese.tex % or % latex mal-japanese.tex % dvips mal-japanese.dvi % ps2pdf mal-japanese.ps \documentclass{article} \pagestyle{empty} \begin{document} % pdftex testfont % --> dmjhira % --> \table\bye \font\maljapanese=dmjhira at ...


4

I installed the whole font family in my system folder and then modified your example into % !TeX program = xelatex % !TeX encoding = utf8 \documentclass[a4paper]{letter} \usepackage{fontspec} \setmainfont{Roboto} \begin{document} \begin{letter}{Letter} \address{Address} \opening{Dear Mr} Some text here also \textbf{boldface} \closing{\mbox{}} ...


3

% arara: lualatex \documentclass{article} \usepackage{luatexja-fontspec} \setmainjfont{MS Mincho} \newcommand{\HiraganaRo}{ろ} \begin{document} \[\HiraganaRo = 42\] In the formula I use the symbol \HiraganaRo{} which is taken from the japanese Hiragana alphabet. \end{document}


3

This is more a case of food for thought, rather than a definitive resolution to your problem. As cfr points out, a case of font scaling may be the lesser of evils in comparison to using a combination of two distinct font families. The point I wanted to raise, if you do opt for font scaling, is that I have found unequal scaling (different horizontal vs. ...


2

I had the same error in Ubuntu. A previously working document with greek letters gave the two errors below: ! Package fontenc Error: Encoding file `lgrenc.def' not found (fontenc) You might have misspelt the name of the encoding. l.99 \ProcessOptions* Necessary code for this encoding was not loaded. Thus calling the encoding later on will ...


2

If you have the ttf (TrueType) Cambria font, you can use XeLaTeX: \documentclass{beamer} \usepackage{fontspec} \usepackage{lipsum} \setmainfont[Ligatures=TeX]{Cambria} \usefonttheme{serif} \usefonttheme{professionalfonts} \begin{document} \begin{frame} \lipsum[4] \end{frame} \end{document} Notice that since the default font theme in beamer switches ...


1

Longer post This task was a big issue for me many years ago when I was typesetting and generating preview books of fonts where I needed to know all kind information about the glyphs before actual typesetting. I divided the answer into three small parts each with compilable TeX file. Part 1: xelatex and its tool There is a way in xelatex, it is ...


1

Of course, but as karlkoeller said, it depend of the font. See The LaTeX Font Catalogue. \documentclass{memoir} \usepackage{times} % change by times,bookman,palatino, etc. \renewcommand*\familydefault{\sfdefault} % if the base font is sans serif \usepackage{blindtext} % for dummy text \begin{document} \blinddocument \end{document}


1

I found this solution to be very easy: http://nerdytales.blogspot.com/2009/01/embedding-fonts-in-pdf-using.html The issue perhaps is the pdf figures which included fonts that are not embedded. You may reprint your pdf file using "Adobe PDF" while setting the "Properties"-> "Default Settings" to PDF/A-1 (mine had two, I chose PDF/A-1B:2005(RGB)). Then the ...



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