Tag Info

New answers tagged

0

The Xepersian documents must be processed by xelatex. In TeXstudio choose Tools/Commands/XeLaTeX and then press F7 for viewing the output. It is supposed that the XB Roya font which is mentioned in your example is installed in your system. X Series 2 fonts can be downloaded from here.


3

An alternative would be using package scrlfile to prevent a package from loading. \RequirePackage{scrlfile} \PreventPackageFromLoading{flafter} \documentclass{<yourCustomStyle>} More on package scrlfile can be found in: http://tex.stackexchange.com/a/165470/37907


1

For having the newest available libraries and packages on Debian, install the original TeX Live from: http://tug.org/texlive/ Debian repository versions are usually a bit behind, naturally. Note, that software may depend on Debian versions though. For example, if you would install a TeX editor from Debian repositories, it may depend on Debian TeX packages ...


3

Here's a minimal example: \documentclass{article} \usepackage{parnotes} \begin{document} \begin{autopn} Text\parnote{parnote} Text \end{autopn} \end{document} which outputs With your proposed change it would become that's definitely bad, because the exponent is too high (besides being too small, but this is a question of taste). The “easy” way, ...


3

Package tocbasic is another package that defines some useful commands not only for package author. The most useful feature for the everyday user might be DeclareNewTOC[<options>]{<file etension>}. \DeclareNewTOC[% type=remarkbox,% types=remarkboxes,% float,% define a floating environment floattype=4,% name=Remark,% ...


1

I agree with @hraish-kumar's suggestion to embed comments in the code. But if you want to compare branches or commits in a git repository, you might want to check this answer to how to use latexdiff with git.


4

.ins and .dtx are source files, they are usually sorted into the source subtree of a TDS tree (texmf/source/latex/babel/babel.ins). The files in a TDS tree are organized in such a way, that source, documentation files are not searched, when TeX looks for its input/package/class files. This reduces the search space and makes file look-up faster. But on the ...


0

I strongly suggest that the comments be embedded in the code, not in a separate document. Inevitably, when it comes time to revise the code, you, or the person who inherits the code, will not be able to find whatever external document you use for your comments. Also, if they refer to things like module names and line numbers, those may all change, in time. ...


0

from dcmst's answer -- user@host:~$ tlmgr install collection-fontsrecomended


4

Your .log file shows, that package filecontents is not loaded at all. LaTeX's version is more defensive, from your .log file: LaTeX Warning: File `filecontents_test.bib' already exists on the system. Not generating it from this source. If package filecontents is loaded before, then you would have seen: Loading of the package, console: ...


9

Welcome to TeX SE! The key issue is that ebgaramond-maths issues the following \DeclareSymbolFont{letters} {OML} {EBGaramond-Maths} {m} {it} This overwrites the existing letters font. This enables all of the characters which the font does provide and which are used in the OML encoding. However, it does this by telling LaTeX that whenever a maths ...


1

One solution is to use XeTeX (or similar), which allows direct use of unicode and system fonts. The example below uses Times New Roman for the main font, and specifies two others for the Chinese and Hebrew (WenQuanYi Micro Hei and Cardo, respectively). You can change the fonts to the appropriate type faces on your system. Unfortunately, I have stopped using ...


0

I had the same exact problem except I was using WinEdt rather than TexMaker. Here is what I did. I simply close WinEdt. Then right click on WinEdt icon and then select "Run as administrator". Then compile your file as usual. It should go through the instalation without any error.


0

In cmd type mpm --verify=mathtools that will tell if mathtools is installed, not installed or unknown. If mathtools is not installed: in cmd type mpm --install=mathtools to install mathtools. If mathtools is unknown: in cmd type mpm --find-updates or mpm --update-db and then install. Alternative: in cmd type mpm to start MiKTeX Package Manager then ...


0

I am using a quick fix to this issue since I work mainly on a USB stick and don't want to touch to the tex folders the computers I am using. Indeed, you can specify backward directories to \usepackage, then you don't have to know the exact full path but only the relative path from your .tex to your .sty file. An example: given a portable hard disk D, I ...



Top 50 recent answers are included