Tag Info

New answers tagged

2

You're correct that neither license requires you to make attribution within your document. Attribution for the Apache 2.0 license is only required if you redistribute the modified code. In the colophon I wrote for Getting Started with Ubuntu 13.04, I cited the applications, typefaces, and source of various design elements. I listed the designers of the ...


3

Here's an attempt; lowercase and uppercase Greek letters are upright, as uppercase Latin letters in math. Everywhere the Libertine font is used, which might give poor results in some cases, as its sidebearings are not really good for math. \documentclass{article} \usepackage[libertine]{newtxmath} \usepackage{libertine} ...


2

\documentclass[a4paper]{scrartcl} \usepackage{blindtext} \usepackage{unicode-math} \usepackage{libertine} \setmathfont[range={\mathrm,\mathit,\mathup}]{Linux Libertine O} \setmathfont[range=\mathsf]{Linux Biolinum O} \begin{document} \blindtext \begin{equation} a^2 + b^2 = c^2 \qquad 1234567890 \end{equation} \end{document}


0

You can use fontspec with the [no-math] option. In this case XeLaTeX and LuaLaTeX will fall back on using legacy math fonts, so you can load newtxmath with the [libertine] option \documentclass[a4paper]{scrartcl} \usepackage{blindtext} \usepackage[no-math]{fontspec} \setmainfont[ Ligatures=Historic, % ligatures for st, ct ...


4

I'd mention the projects, giving authors will be longer than your report ;-). What to mention is another question... I'm using TeXlive, with memoir and a long list of packages. Most of the figures are written in asymptote (also part of TeXlive here, but really a separate program). The editing is in Xemacs with AUCTeX. Etc. It's a hard call, mention "only the ...


1

I recommend reinstalling TeX Live. This is how I got TeX to run (in Sabayon linux--- based on Gentoo linux), and stop it saying it couldn't find tex.fnt. Installing Texlive anew worth is a try, since it worked for me.


3

with XeLaTeX use: \documentclass[article,a4paper,oneside]{memoir} \usepackage{fontspec} \usepackage[T1]{fontenc} \usepackage{kpfonts} \begin{document} \section{section} \section{other section} \subsection{my subsection} bla bla bla. \textbf{bold} $v_t : \mathbb{R}^3 \rightarrow \mathbb{R}^3 $ \fontspec{Garamond Premier Pro} foo bar öäöä ...


10

Unfortunately you are doing many things wrong all at the same time. First of all, with XeTeX should should never load the inputenc package; XeTeX deals with UTF-8 encoded files automatically. See Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX Furthermore, if the reason for switching to XeTeX is properties of your .bib file, then you ...


4

As @egreg said, it is quite easy to turn a Type 1 font into a TrueType or OpenType font with Fontforge. Depending on your operating system, Fontforge will be more or less integrated, but I have successfully used it on OS X and Linux Mint or Ubuntu (on Windows, I believe you will need to install Cygwin first). Once you have Fontforge, you can use its export ...


4

try [...] \usepackage{polyglossia} % support for languages \makeatletter \def\bbl@main@language{russian} \makeatother [...}


0

In Linux based texmaker user-> user commands -> edit user commands if you want to add XeLaTeX: menu item. XeLaTeX Command. xelatex --interaction=nonstopmode % if you want to add LuaLaTex: menu item. LuaLaTex Command. lualatex --interaction=nonstopmode %


6

It is basically a bug. When querying math dimensions, we check if the current font is an OpenType math font or not and either use OpenType math dimensions from the current font or traditional math dimentions from \fam1, \fam2 or \fam3. At the time the first fraction is typeset the current font is \nullfont and since that is not an OpenType math font we end ...


5

From the following discussion I would say that this is an more or less undocumented feature of XeTeX. There seems to be two \fontdimen systems: The legacy \fontdimen according to Appendix G of "The TeXbook". The \fontdimen of the math table of the OpenType fonts. The \fontdimens are listed in Appendices B and C of the documentation for package ...


4

whether you're drawing a tikzpicture or not, you should load fontspec and a font that supports Cyrillic: \documentclass[landscape]{article} \usepackage{tikz} \usepackage{fontspec} %\setmainfont{Minion Pro} %\setmainfont{Times New Roman} %\setmainfont{CMU Serif} \setmainfont{Old Standard} \usetikzlibrary{backgrounds, shapes, arrows} \begin{document} Андре́й ...


3

There is nothing wrong with the font, you can find this out by writing the same thing into another program. It is a issue with ICU engine with XeTeX. One way to fix it is to issue a zero kern after the apostrophe: l'\kern0pt inno Another option would be to use \XeTeXinterchartoks to insert that kern automatically. See this answer on how to do it. ...


3

You can define a new math alphabet that uses the math-style=french option for the Greek lowercase letters: \documentclass{article} \usepackage{fontspec} % enagles loading of OpenType fonts \usepackage{polyglossia} % support for languages % fonts: \defaultfontfeatures{Scale=MatchLowercase,Ligatures=TeX} % without this XeLaTeX won't turn "--" into dashes ...


1

Tufte uses fancyhdr for headings, and your work-around is clobbering it. If you want to redefine the header manually, use the fancyhdr way of doing it (using \fancyhead). But there is a better way anyway. The root cause of your difficulty is that when loaded with XeLaTeX, the tufte class does not know how to construct its \smallcaps and \allcaps macros, ...


6

I had to experiment for a while before I found a solution that worked for me. Here it is: Log in to your restricted user account. In the Start Menu, go to MiKTeX 2.9 --> Maintenance (Admin) Right-click on Settings (Admin) and choose Run as... Open the program as an Administrator (the Admin will have to type in his Admin password) Click Refresh FNDB and ...


8

[the following applies to both XeLaTeX and LuaLaTeX] In addition to what Urike said -- another, maybe more practical way of finding a specific glyph is using a tool like Windows's Character Map (or whatever the equivalent is in your operation system). If I wanted Minion's bold crescent moon, I'd look for it in the ›private use area‹ first, for that's quite ...


1

\documentclass{article} \usepackage{fontspec} \setmainfont{Minion Pro} \begin{document} \Huge\char"E0BB\char"E0BC\char"E0BD\char"E0BE\char"E0BF \end{document}


1

I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps. \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \usepackage{fancyvrb} \usepackage{fontspec} \usepackage{unicode-math} ...


5

Palatino, Bera, and AMS Euler I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by ...


1

I have incorporated the patch suggested by Joseph Wright into the ucs package. The updated package should soon appear on CTAN under version number 2.2.


1

If I didn't misunderstand it, what you need is the “Conjoining Jamo Behavior” described in the Unicode document, or especially the “Hangul Syllable Composition”. One possible way to do this, is to create a TECkit map file and use it. You may need to write a script program to produce a .map like this (tex-text.map): ; TECkit mapping for TeX input ...


0

The following should do the job, however gives an error about an extra } I can't get rid of. If anyone could fix it I'd be happy to adjust the example. \documentclass{beamer} \usepackage{ifthen} \newboolean{tomatoes} \setboolean{tomatoes}{true} \begin{document} \begin{frame}[fragile]{A Slide about Apples} Bla bla \end{frame} ...


0

Seeing how there are many questions here regarding using XeTeX-engine and non-Unicode, non-OpenType -fonts, let me make this perfectly clear: The number one reason to use XeTeX, is its ability to use OpenType fonts (which you can also do with LuaTeX) So with that out of the way, chances are that the symbol you would've needed from the package is ...


4

Your example does not produce the error that you state. It produces: ! Undefined control sequence. <inserted text> \repeatcell \repeatcell isn't defined by tabu and the text/col1=Teste, syntax looks more tikz/pgf than than tabu. adding \usepackage{makecell,interfaces-makecell} fixes things.


4

The problem is the way ucs emulates LaTeX kernel features. If you read the code, you'll find: \ifx\@ifnextchar\undefined \def\@ifnextchar#1#2#3{% \let\reserved@d=#1% \def\reserved@a{#2}% \def\reserved@b{#3}% \futurelet\@let@token\@ifnch}\fi which looks safe enough, but fails in the case where the immediately preceding use of \@let@token ...


6

@John: Visually, there may not be anything other than TNR. Meferdati's problem seems to be other fonts being embedded in the pdf. Now the reason they are embedded becomes clear when you minimze your minimal example further: \documentclass{scrartcl} \usepackage{tikz} \usepackage{pgfplots} \usepackage{verbatim} \usepackage{mathspec} ...


0

When I compile this with XeLaTeX I get... ...which already doesn't contain anything other than Times, as far as I can see.


0

I believe that you need only the @{} separator and p{} columns with \dotfill or \hfill in the cells. On the other hand, I lost the € symbol with your MWE because the lack of the fontspec package. For comparison, I included also the eurosym package for more official symbol (showed in the third column). %!TEX TS-program = xelatex %!TEX encoding = UTF-8 ...


2

As already pointed out in the comments, these are ligatures which LaTeX uses by default, but Word doesn't - so this is actually the intended behavior as designed by the creators of the font! If you want to disable them, you can do so by using the fontspec option Ligatures=NoCommon: \documentclass{beamer} \usetheme{Warsaw} \usepackage{fontspec} ...


0

this works for me: \documentclass{article} \usepackage[garamond]{mathdesign} \usepackage[no-math]{fontspec} \setmainfont[Ligatures=TeX]{Adobe Garamond Pro} \usepackage{polyglossia} \setmainlanguage{english} \usepackage{lipsum} \begin{document} \lipsum[1] \[f(x)=\int g(x)\,dx\] \end{document} Fonts listed in this example: voss@shania:~> pdffonts ...


2

You can solve the issue by saying \usepackage{indentfirst} Full example, with corrections for the package loading: \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper} \usepackage{graphicx} \usepackage{amssymb} \usepackage[50, sharp]{easylist} \usepackage{titlesec} \usepackage{fontspec} \usepackage{multicol} \usepackage{eurosym} ...


2

If you look at the .glo package, it's written out in different ways when the "other languages" are loaded. Without the "other languages" \\glsnamefont{na\\\"{\\i }ve} With the "other languages" \\glsnamefont{na\\"{\\i }ve} So the " is not escaped in the first case, because some of the loaded languages use shorthands in Babel style. Thus glossaries ...


0

It appears then after leaving this question open for ages, that NO there is no general command to view a list/log of overlaps and locations. Something like this would definitely be helpful. Similar to the PreFlight check feature in many publishing programs before exporting PDF's.


2

Just add an empty group between the two hyphens: \begin{center} \begin{tabular}[]{llcl} \hline \rowcolor[gray]{.9}\textbf{Parameter} & \textbf{Description} \\\hline -c, -{}-create & Do something\\\hline \end{tabular} \end{center} Thank you lockstep for you answer!


11

Here is a non-fancytooltips solution that supports any driver, including xelatex, allowing you to use OpenType and TrueType fonts. It makes use of the macro \tooltip[<link text colour>]{<link text>}[<tip box colour>]{<tip text>} for generating draggable boxes in the PDF display of AdobeReader, implemented in ...


8

While I’m no expert in either XeLaTeX or LuaLaTeX, I’ve used both a bit, so I’ll try to write up some things that I’ve noticed in the “front-end” superficial user level. fontspec ... is the standard way of using fonts with both engines. I haven’t noticed remarkable differences in the outcome or font selection, but according to the comments to this ...


4

It may be the case that the version of the Fontin font family you downloaded from http://www.exljbris.com/fontin.html isn't fully compatible with XeLaTeX's (and LuaLaTeX's) font loading mechanisms. On that website, there's an option to download an OpenType version of these fonts. By the way, the header for the Opentype option says that it's for PCs; you can ...


1

In my windows7-64 + Python3 + French + 2013-04-30th, this worked for me : python part : install python 3.3 (32bit), and the following sub-projects : . easy_install, (necessary to install pygmentize after) . pygmentize, to have pygmentize in my path, i had to copy pygmentize.exe and pygmentize-script.py : . from C:\Python33\Scripts . to C:\Python33 tex ...


8

The Web page you refer (Testing the installation) is indeed not very informative about LuaTeX. It's not really possible to test fonts with opentype-info.tex by two reasons: the file doesn't enable the font loading mechanism for LuaTeX; it has specific XeTeX commands that LuaTeX can't understand. A small test file might be \def\myfontname{Latin Modern ...


3

This problem arises in connection with the shorthands in Babel style that were introduced in Polyglossia after mathspec was released. Basically the shorthand active character " gets a definition that overrides the one given by mathspec and infinite loops are behind the corner. \documentclass[11pt,oneside]{article} \usepackage[a4paper]{geometry} ...


4

In addition to what ChirsS said relative to \fontspec, this has always been the behavior of (La)TeX for as long as I know, i.e. also before XeLaTeX and fontspec. You can easily check it yourself. If you compile the following MWE: \documentclass[12pt]{article} \begin{document} \noindent% {\small small}\\ {\normalsize normal}\\ {\Large Large}\\ ...


6

Yes. As per the manual for the fontspec package (section 8.6, 'Optical font sizes'), OpenType fonts with optical scaling will exist in several discrete sizes, and these will be selected by XeTeX and LuaTeX automatically determined by the current font size...


2

I've found pplatex quite useful. It runs whichever latex-like program you want (xelatex is one possibility) and summarizes the warnings and errors (and can be used from latexmk). It can also be used as an intelligent log reader, mentioned in a comment to another answer.



Top 50 recent answers are included