Tag Info

New answers tagged

1

This is a situation where probably using LaTeX directly is more adequate. Lyx is a convenient interface to LaTeX for people who don't want to be concerned with the "programming" their document, and it is very easy to use as long as it runs "out of the box". Here, a lot of effort would need to go into making Lyx understand rsc template. It appears that using ...


2

It seems that you have downloaded the most recent version of tikz-cd and stored it in your personal tree, under ~/texmf. However, this version of tikz-cd requires a more recent version of tikz than you have on your system and it fails because it needs files that are absent from that tikz distribution. You could download also TikZ version 3.0.0; however this ...


0

enter code here All the xlop.sty and xlop.tex files are kept under this directory /usr/local/texlive/2013basic/texmf-dist/tex/latex/base Do a $sudo cp your .sty and .tex files into the above directory Do a $ sudo texhash at the above directory.. It should give a message " Updating /usr/local/texlive/2013basic/texmf-config.ls-R... and later Done


1

It seems like a bug in Texlive 2015 on windows for number of the active console code page cp720. You can change this code with command prompt by inserting chcp nnn, where nnn specifies the code page ( example : chcp 850), you can find a list of cp here. but you must repeat the same steps each time you want to open tlmgr. You can automate the previous ...


0

TeXstudio tries, to determine the valid commands in a document. For details see FAQ: How does TeXstudio know about valid commands? However, this detection is not perfect. It may be inaccurate depending on the content of your style file. Note, also that local style files are currently not interperted by TXS (i.e. putting the sty file next to the tex ...


0

You should simply use \usepackage[french]{babel} and \usepackage[utf8]{inputenc} in your preamble. For example, with this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \title{Title} \author{Mario Bross} \begin{document} \maketitle \begin{abstract} This is just a test. \end{abstract} \end{document} I got this:


3

Apart from the slip in the documentation (discussed later), here is how width works. Giving width=<dimen> to an abc environment results in width=<dimen> being passed to the final \includegraphics command. This only scales up or down the included PDF file and has no influence whatsoever on how abcm2ps processes its input when producing the score. ...


3

The idea here is to create a command, \myterm, which creates other commands based on its first argument; these created commands can then be used in the document, and will expand to either one string or another based on your settings. \documentclass{article} \usepackage{filecontents} % The terminology.sty file % ----------------------------------------- ...


3

The purpose of the TeX Directory Structure (TDS) (aka texmf tree) is, that the programs do not have to search the full three. If a font is searched, it is searched below TDS:fonts//, TeX files go below TDS:tex//. (TDS: means the start of the texmf tree, e.g. ~/texmf/.) In your case the problem is fixed, if you move proftex below tex/latex: ...


0

As mentioned by @cfr in a comment the packages are bundled by the distributer rather than the TeX Live base. In this case I needed to be looking for MacPorts specific bundles: https://trac.macports.org/wiki/TeXLivePackages


1

@Shamim Hafiz might be right, because what solve my problem was to install the MiKTeX 2.9 in the compatibility mode pointing out that MiKTeX used to work well in Win7. I completed the installation and then, I also executed the Texwork editor (the default editor installed with MiKTeX) in the compatibility mode. After checking that my file was compiling ok ...


1

It was updated (or created) on June 10. It is in the miktex-vc120 package. Perhaps you should synchronise repositort, via the Package manager, then install it:


1

According to another site, the missing dll is part of the MS Visual C++ 2013 redistributable. Free from Microsoft: http://www.microsoft.com/en-us/download/details.aspx?id=40784 Try it and let us know.


4

As Manuel indicates, my scalerel package can be used. However, I don't necessarily recommend this approach except in unusual circumstances. \documentclass{article} \usepackage{scalerel} \usepackage{mathtools} \begin{document} \def\x{\begin{bmatrix*}1&1\\1&1\end{bmatrix*}} \[{\scalerel*[2.2ex]{\int}{\x}}_{\!\!\!x=0}^{\infty}\x\,dx\] ...


4

I think using glossaries is overkill here. It's a heavy-weight package because it's designed for such a wide-range of purposes (regular terms, abbreviations, symbols, plurals, user-defined additional information, etc). The datatool package is also heavy-weight, and again I think using that would be excessive for your requirements. If you're only interested ...


3

Increasing the height of the title box, \titlebox, works for me. I had to comment out tia as I don't have it but, otherwise, it works fine. I tried with pdfLaTeX and XeLaTeX, with and without xltxtra. All fine. \documentclass[11pt,xetex]{article} \usepackage{xltxtra} % \usepackage{tia}% not part of TeX Live? \usepackage{url} \usepackage{lipsum} ...


1

With datetime, a new date format was defined using \newdateformat{〈name〉}{〈format〉} Within 〈format〉you could use \THEDAY, \THEMONTH and \THEYEAR to reference the day, month and year number. You could also use \twodigit to convert a number to two digits. For example: \newdateformat{dashdate}{% \twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR} With the ...


1

The manual (in section 6.1) states: Don’t use any of the \gls-like or \glstext-like commands in the ⟨insert⟩ argument. (where ⟨insert⟩ refers to the final optional argument) so it's not intended to be used in the form \gls{sym:v}[_{\gls{sub:k}}]. The main reason for this is because it causes nested links (if hyperref is used). The problem of nested ...


2

As per the FAQ, the currently installed version (as of this writing) is TeX Live 2014, which does not include the up to date version of minted. The FAQ also says to contact the Overleaf team with specific package requirements. However, an easier option is to just add the minted.sty file version 2.0 to your Overleaf project. Then this file will be used ...


1

The devanagari package defines a helper macro \NormalFont, that it calls at suitable places. Such a command presets the font family to cmr (and the font encoding to OT1). \def\DevnagVersion{2.15} \documentclass[12pt]{report} \usepackage{tgtermes} % or other font package \usepackage{devanagari} % change the defaults of devanagari.sty ...


1

This is not a very elegant solution, but it is a workaround. I used palatino instead of Minion Pro which is not installed of my computer. The idea is to redefine the fonts, by hand - that's why I call it inelegant. %\def\DevnagVersion{2.15} \documentclass[12pt]{report} % \usepackage{palatino} \usepackage{devanagari} \usepackage{tocloft} ...


0

You have to compile the .ins in your favorite LaTeX editor


3

The package does not seem to be on CTAN, thus I found this wick.sty. A protected macro instead of \mathbf and additional braces for starting or ending points helped in the example from wick.sty: \documentclass{article} \usepackage{wick} \newcommand{\wickbold}{}% Check that \wickbold is undefined \protected\def\wickbold#1{\mathbf{#1}} \begin{document} \[ ...


4

The most commonly known command to use extra functionality is called \usepackage{<name>}, which if we say out loud reveals what it does: It uses a package called <name>. it is important to know that \usepackage can only be used in the document preamble, that is the part between \documentclass and the beginning of typesetting at \begin{document}. ...


1

Option pagecolor The latter part Option `pagecolor' is not available anymore is a warning from package hyperref about an unused option. The warning can be removed by removing the option setting pagecolor. Missing supp-mis.tex The file supp-mis.tex was renamed to supp-mis.mkii. TeX Live contains the file supp-mis.tex with the following contents: % This ...


3

Building on @Metafox's command, you can use \startTEXpage ... \stopTEXpage to create a page with only tikz pictures. For example, \usemodule[tikz] \starttext % 1st picture \startTEXpage[offset=3mm] \starttikzpicture .... \stoptikzpicture \stopTEXpage % 2nd picture \startTEXpage[offset=3mm] \starttikzpicture .... \stoptikzpicture \stopTEXpage \stoptext ...


0

An alternative, still using the cmcyr fonts, and assuming you have a cp1251 encoded text file, would be to make a myplain.ini file with only the following commands: \input myplain \def\set #1 #2 { \lccode`#1=`#2 \lccode`#2=`#2 \uccode`#1=`#1 \uccode`#2=`#1 \catcode`#1=11 \catcode`#2=11 \sfcode`#1=999 \sfcode`#2=1000 } \set А а \set Б б ...


0

Regarding the theoretical question: in miktex it can be done with the package manager (either the user or the admin version depending on how you did install the package), in a current texlive with tlmgr. But normally it should not be necessary so you should really check what's going on. –


3

Forget about cyrplain, use great encTeX package by Petr Olšák and cmcyr fonts. As an example, this is my format for plain.tex (UTF-8 assumed): \input myplain \mubytein=1 \mubyteout=2 \specialout=2 \mubytelog=1 \def\set #1 #2 { \lccode`#1=`#2 \lccode`#2=`#2 \uccode`#1=`#1 \uccode`#2=`#1 \catcode`#1=11 \catcode`#2=11 \sfcode`#1=999 ...


3

The code in the question has some problems: \ifstrequal is not defined, as shown by the error message. It is defined by package etoolbox. Environment switch makes a group, all local settings are lost after the end of the environment. There are lots of ways to implement "switches", this is not covered by package kvoptions, which tries to be simple and ...


4

You could use l3keys2e. File myunicodefonts.sty \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{myunicodefonts}[2015/06/21 Load fonts] \RequirePackage{fontspec} \RequirePackage{l3keys2e} \ExplSyntaxOn \bool_new:N \g_myunicodefonts_mathfont_bool \tl_new:N \g_myunicodefonts_textfont_tl \tl_new:N \g_myunicodefonts_mathfont_tl \keys_define:nn { myunicodefonts } ...


3

If you set TEXINPUTS=/your/local/directory: Then Tex will look there first and then (because of the trailing : ) look in all the standard places. You can set TEXINPUTS as an environment variable or as a value in a texmf.cnf file.



Top 50 recent answers are included