Tag Info

Hot answers tagged

11

For luatex you can load the fonts in base mode \ifx\XeTeXversion\undefined \input luaotfload.sty \def\otf#1{file:#1.otf:mode=base} \else \def\otf#1{[#1.otf]} \fi For xetex, I pinged Arthur in chat.... luaotfload documentation explains the need for this: base mode works by mapping OpenType features to traditional TeX ligature and kerning ...


6

Just use amsmath as package as one possibility or \binom{n}{k} as the quick alternative (requires amsmath or mathtools however too) matrix is defined by amsmath, so this environment needs the amsmath package. \documentclass{article} \usepackage{amsmath} \begin{document} \texttt{Bad example -- do not use this} \begin{equation} \left( \begin{matrix} n \\ ...


6

In the early days of LaTeX, a syntax like {\rm foo} was used in math mode, where nowadays \mathrm{foo} is the correct syntax. With the release of LaTeX2e in 1994, such commands were disabled by default. They continue to work with the standard classes for compatibility reasons, but they shouldn't be used in newer documents. There are several reasons for ...


6

The report class uses chapter.equation numbering, enclosed by parentheses. If the equation number should be used alone without referring to the chapter number, then \counterwithout{equation}{chapter} can be used. It requires chngcntr package, however. \documentclass{report} \usepackage{amsmath} \usepackage{chngcntr} \begin{document} \chapter{First} ...


5

There is code in the Comprehensive List of Symbols, but it's wrong: what's suggested is \newcommand{\dbar}{{\mathchar'26\mkern-12mu d}} but one needs to compensate the amount of backup, which is larger than the width of the bar by 3mu: \documentclass{article} \newcommand{\dbar}{{\mkern3mu\mathchar'26\mkern-12mu d}} \begin{document} $32\lambda^2 ...


4

Something like this? This takes a maths alphabet. You can avoid this if necessary but if you want several symbols from the font, it is more straightforward this way. \documentclass{article} \DeclareSymbolFont{extraitalic} {U}{zavm}{m}{it} \DeclareMathSymbol{\Qoppa}{\mathord}{extraitalic}{161} \DeclareMathSymbol{\qoppa}{\mathord}{extraitalic}{162} ...


3

Something like this, although it is still a little wide for the page Note that you had one "hidden" error in addition to the general syntax errors, each of your \sum_ is the unicode sequence U+005c REVERSE SOLIDUS U+0073 LATIN SMALL LETTER S U+0075 LATIN SMALL LETTER U U+006d LATIN SMALL LETTER M U+200e LEFT-TO-RIGHT MARK U+200e LEFT-TO-RIGHT ...


3

You could use multlined: \documentclass[12pt, letterpaper]{article} \usepackage{amsmath, amssymb, mathtools} \begin{document} \begin{align*} &\begin{multlined}[.9\displaywidth] \forall a, b, c \in \mathbb{X} \ldotp (a \leq b \land b \leq a \Rightarrow a = b) \\ \land (a \leq b \land b \leq c \Rightarrow a \leq c) \land (a \leq b \lor b \leq a) ...


2

Remove mathabx to restore the default \emptyset.


2

From a Physicist's view I suggest both the usage of esvect (font) package and \dot instead of primes, since the relevant equation contains a time derivative. The esvect provides distinctive vector arrows, the relevant command is \vv instead of \vec, however. \documentclass{article} \usepackage{amsmath} \usepackage{esvect} ...


2

Please do not use $$\dots $$ but \[\dots \] unless you are using plain TeX. For your question. Just use \dfrac{}{} (display style fraction) from amsmath. % arara: pdflatex \documentclass{article} \usepackage{mathtools} % loads amsmath \begin{document} \begin{enumerate} \setcounter{enumi}{10} \item \begin{enumerate} \item $8!$ ...


1

I am writing this answer based on another answer on this site and upon Christian Hupfer's answer here. There are many other useful points on that question too. %pdfLaTeX \documentclass{book} \usepackage{amsmath} \renewcommand\theequation{\arabic{equation}} \begin{document} \chapter{First} \section{First section} \subsection{First subsection} ...


1

That the math font for \mathcal changes, when package txgreeks is loaded, is not an incompatibility, but intended behavior, the abstract of package txgreeks: The TX Fonts 1 of Young Ryu provide a very complete replacement for the default math fonts of TeX and LaTeX, containing all CM symbols and even all symbols from the AMS fonts, and more. In ...


1

Short answer: the argument must be -1. (But one should take my answer with a grain of salt, since “user’s” docs are completely missing, the “developer’s” docs do not match the code, and the code is incomprehensible.) Long answer: First, there is a variant of align with a micro-fool-proofing: the environment xalignat takes a required argument; when it is ...



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