Tag Info

New answers tagged

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 ...


4

Option allcolors was added to hyperref in version 2011-02-05 v6.82a. Therefore you need to update hyperref. TeX distributions from Linux distributions are often very old and programs like tlmgr are disabled to avoid interference with the Linux packaging system. But a recent TeXLive can be installed in parallel, e.g. see How to install “vanilla” TeXLive on ...


1

I have a directory, ~/TeX, where I put any personal style files that I use in many places. This directory is in its' own git repository and I have the environment variable TEXINPUTS set to .:~/TeX//: so that it is automatically searched by latex and friends. As the OP says in the comments, there is an issue in that repositories for the tex files and for the ...


3

You need to create the directory TEXMFHOME. That is, in your case, you need to create ~/Library/texmf and any subdirectories which you need below it. For example, if you wanted to install greatpackage.sty, you would create a directory ~/Library/texmf/tex/latex/greatpackage to contain it. ~/Library/texlive/2014/texmf-var is for auto-generated files. You can ...


5

You can't have lstlisting in the argument to another command, in this case \UnaryInfC. The usual trick is to prepare the listing in a box and use the box in the argument: \documentclass[12pt, twoside]{scrreprt} \usepackage{listings} \usepackage{bussproofs} \newsavebox{\lstA} \newsavebox{\lstB} \begin{document} \begin{prooftree} \AxiomC{test} ...


3

I'm not following you into avoiding page breaks, but I'll just show how to do what you seem to want. \documentclass{book} \makeatletter \renewcommand{\p@chapter}{\thepart.} \makeatother \begin{document} \mainmatter \part{Some part title} \chapter{The chapter title}\label{A} \section{A section title}\label{B} ``\ref{A}'' is a reference to a chapter, ...


3

I'm not sure whether this answers your question - use XeLaTeX to compile using the fontawesome package: \documentclass[margin,line]{res} \usepackage{fontawesome} \usepackage{hyperref} \topmargin=-0.2in \oddsidemargin=-.2in \evensidemargin=-.5in \textwidth=5.8in \textheight=9.0in \itemsep=0in \parsep=0in \usepackage{fancyhdr} \pagestyle{fancy} ...


1

You can save brain_damage.sty and place it where (La)TeX can find it and then include \usepackage{brain_damage} in your Document > Settings... > LaTeX Preamble. Alternatively, copy-and-paste everything between \ProvidesPackage{brain_damage} ... \endinput (that is, the ... above) and place it directly in the Document > Settings... > LaTeX Preamble.


7

They mean something like \documentclass[graybox,envcountchap,sectrefs]{svmono} but with smallextended in the options between [] and perhaps a different class than svmono depending on your requirements. Springer have extensive documentation and examples in a zip file you can download from ...


6

add \expandafter\def\csname ver@flafter.sty\endcsname{} before the package is loaded (this works for any package) Alternatively just make an empty file flafter.sty and put it in the same directory/folder as your document, LaTeX will input that instead of the standard one.


6

\RequirePackage{../library/library1} should be \RequirePackage{library1} presumably it makes a warning in the log each time? (unless library 1 has \ProvidesPackage{../library/library1} The Provides Package mechanism is specifically there to enforce that \usepackage and \RequirePackage and \documentclass take names not file paths, to increase ...


3

True, the style file defines \htextthree ... \htextseven, but no \htexttwo. Using the definitions they provide in paperandpencil.sty for the above choices, the following matches for \htexttwo: \newcommand{\htexttwo}[2]{\vspace{0.5cm} \begin{center}\begin{tabular}{p{3cm}p{3cm}p{0.001cm}} \centering #1&\centering ...


0

I Just found the answer in this other pdf http://www.math.uni-leipzig.de/~hellmund/LaTeX/bibtex2.pdf Just redefine the commands for left and right closures: \renewcommand\citeleft{(} \renewcommand\citeright{)}


4

Yes: Provide the instructions \renewcommand\citeleft{(} \renewcommand\citeright{)} after loading the cite citation management package. For more information, see page 4 of the package's user guide. I can't help but observe that there seems to be something odd about your example. The cite package is geared to numeric-style rather than authoryear-style ...


1

You should install it manually. You can find mathtools.sty here: mathtools.tds.zip unpack the whole content directly into MikTeX 2.9 folder run Maintenance (Admin)\Settings (Admin) execute Refresh FNDB and Update Formats and you're ready to use it!


0

You cannot do this with the Quick Start Wizard. It's really only intended to create a basic document. Given that user requirements can be quite different, trying to add additional stuff would be quite a lot of work and make the dialog really complex. If you need more freedom, you should use a template instead.


1

Someone has told me this happens because the bagpipe package hasn't been properly categorized as a Music Application and is mistakenly considered essential. Not exactly a bug, I guess, but not a good thing.


1

I recently encountered a very similar error message in Windows 7 MiKTeX 2.9. The solution was to simply run udpmap.exe as administrator. The program is located in: C:\Program Files\MiKTeX 2.9\miktex\bin\x64\


1

This error occurs somethimes, if the used encoding of the editor and the used encoding in the LaTeX file are not the same. With the following MWE \documentclass[11pt,english,german]{article} % ngerman \usepackage[utf8]{inputenc} % latin9 utf8 \usepackage[german]{babel} % german, ngerman, english \usepackage{blindtext} ...


1

What do you mean with "I deleted the package"? Did you remove the \usepackage{babel} line, or did you remove the package files from your hard disk? By the way, in order to get an umlaut without loading a package you can use e.g. \"u and \"a for ü and ä, respectively. Maybe you have a left-over .aux file. If so, try to remove it and rerun LaTeX again.


2

A partial answer, just to show how you can increment a counter (to be fair, this trick was found somewhere here, on TeX.sxe, but I can't find where anymore…). \documentclass{article} \newcounter{NumberOfRuns} \makeatletter \AtEndDocument{% \immediate\write\@auxout{% \string\setcounter{NumberOfRuns}{\number\value{NumberOfRuns}}} }% \AtBeginDocument{% ...


1

I would guess that this is due to your Windows/cygwin setup: perhaps the search paths are set up incorrectly or the latex installation gets confused. In fact, missing .sty files should be entirely unrelated to external. The fact that you still see such messages indicate a severe project setup problem. I would bet that the file does not compile even if you ...


4

Edit: I've put this code on github - latexmark, and extended little bit. New package options are provided: extensions: select lunamark extensions document: process whole everything between \begin{document} ... \end{document} template: select Cosmo template which will be used for printing converted text new command was added: \markdownfile{filename} ...


5

There are only a few kinda-traffic-signs in the unicode which look like this: % arara: lualatex \documentclass{article} \usepackage{fontspec} \setmainfont{symbola.ttf} \usepackage{booktabs} \begin{document} \begin{tabular}{lc} \toprule Sign & Example\\ \midrule Crossing Lanes & \symbol{"26CC} \\ Disabled ...



Top 50 recent answers are included