# Tag Info

6

Something like this? The style is 'very' special, in my point of view! \documentclass[oneside]{report} \usepackage{fontspec} \setmonofont{Bitstream Vera Sans Mono}[Scale=MatchLowercase] \usepackage[margin=2.5cm]{geometry} \usepackage{listings} \usepackage{tcolorbox} \tcbuselibrary{breakable} \tcbuselibrary{skins} \tcbuselibrary{listings} ...

4

The “contextual” feature must be explicitly turned on (if I remember correctly, it wasn't some time ago). What you get are warnings that the feature is not available for the upright fonts, but one can enable it just for the italic ones. \documentclass[10pt]{article} \usepackage{fontspec} \setmainfont[ Ligatures={Common, Rare}, Alternate=1, ...

3

amstex makes @ active for usage in the commutative diagram macros and other utilities. You can disable this behavior when loading opmac and restore it later. \input amstex % save the category code of @ \chardef\savedatcatcode=\catcode@ % restore the standard code \catcode@=12 \input opmac % restore amstex category code of @ \catcode@=\savedatcatcode ...

3

The amsmath package is not loaded by default, but it's not the problem. You can just load fontspec with the no-math option: \documentclass{article} %\usepackage{amsmath} % optional \usepackage[no-math]{fontspec} \usepackage{musixtex} \begin{document} No error about \breve is raised with or without amsmath and the definition of \breve in the document is ...

2

theindex is basically an environment that may be a list, but also may not. The .ist declares how the preamble looks like and how a \item is interpreted. E.g., as LaTeX default, \item is \n\item, as defined by item_0. You can change the foraging (at least) at two locations: You write your own .ist file. For a documentation, see e.g., makeindex' manpage. ...

2

Your code has two else-if statements, but there are no if statements. The first eIF should be If. And I think the second one also should be If. Also pay attention to the lowercase f in both \If and \eIf. By the way, there is no need in using flushright or flushleft and XePersian fix all this automatically. \documentclass{article} ...

2

The usage of OPmac with amstex.tex may bring problems. For example, you discovered that amstex.tex sets the @ as active. So, users must write: \input amstex \catcode\@=12 \input opmac You cannot restore \catcode`\@=\active at beginning of your document when you plan to use the @ feature in the argument of \ii macro (insertion to index) and to sort the ...

2

Here is a suggestion using package scrlayer-scrpage to define a new page style: \documentclass[ %oneside ]{scrbook} \usepackage[top=30mm,bottom=30mm,inner=25mm,outer=35mm]{geometry} \usepackage{blindtext} \usepackage{rotating} \usepackage{scrlayer-scrpage} \automark[chapter]{chapter} % new font element for the text in outermargin ...

2

In the end I went with \parshape instead of \shapepar, which didn't work in TikZ. So I used the background package for background image and picture enviroment for absolute positioning. \documentclass{article} \usepackage[a6paper]{geometry} \usepackage{graphicx} \usepackage{fontspec} \usepackage{background} \usepackage{pst-barcode} ...

2

Pandoc uses a template which, when used with XeTeX calls mathspec.sty; mathspec.sty calls fontspec.sty with some options. If something else calls fontspec.sty then there will be a clash, and tufte-handout.cls does so. One solution would be to edit the template Pandoc uses. Taking out mathspec.sty would do the trick.

1

This example uses packages ocgx2 (because of XeLaTeX), tikz and atbegshi in order to place non-printable watermarks into the background: \documentclass[twoside,twocolumn]{article} \usepackage{lipsum} \usepackage{tikz} \usepackage{atbegshi} \usepackage{mwe} \AtBeginShipout{% \AtBeginShipoutAddToBox{% ...

1

As seen in the comments above (particular Ulrike Fischer's), TikZ is compatible with pdflscape. It is just that the order in which the packages are loaded is important, because tikz applies a patch to everyshi (and also atbegshi because it is an extension of everyshi). pdflscape loads atbegshi, therefore it is important to load it after tikz to ensure that ...

1

There are two problems: \Box is not defined in basic latex. You have to load latexsym for that (compatible with unicode-math, it seems). The other problem is the last version of the hobby library package. You can either not load it, or use a fix that you can download from github. For the last solution, described as ‘quite possibly not a good fix’, you ...

1

You need to: - Compile with pdflatex or xelatex - Run bibtex or biber - Recompile with pdflatex or xelatex. Your code works fine for me when these instructions are followed.

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