Tagged Questions

{packages} is about packages in general, e.g. about choosing, installing or using packages. For questions about writing packages, choose {package-writing} instead. If your question concerns a specific package, choose its name as tag. For {document-classes} or {templates} use the respective tag.

learn more… | top users | synonyms (2)

3
votes
1answer
42 views

How do I share a style file which is used by multiple git repositories?

I am working with multiple LaTeX projects at any given point in time, each of which is stored in a separate git repository. I have also accumulated a set of commands and environments which I am ...
0
votes
0answers
35 views

bidi package and TeX capacity

I am working with XeLaTeX and the bidi package, which I need to use to typeset some Urdu text. From what I gather from the bidi documentation, bidi needs to be loaded as the last package in the ...
3
votes
1answer
49 views

What is the default directory I should install LaTeX packages in?

So most people are claiming that the path to install new latex packages is ~/Library/texmf when I run the terminal command kpsewhich -var-value=TEXMFHOME I get ~/Library/texmf but this directory does ...
5
votes
1answer
48 views

How to display code formatted with lstlisting in a bussproofs proof tree?

I wish to include Java-code formatted with lstlisting as a conclusion in a bussproofs proof tree. The code has to be in boxes so two peaces of code can be displayed next to each other in the same ...
2
votes
1answer
21 views

(Re)define \ref for chapter that includes the part number

Consider this MWE: \documentclass{book} \usepackage{xcolor} \pagecolor{yellow!10} \usepackage{trace} % avoid page breaks of \part, \chapter \makeatletter \renewcommand{\part}{\secdef \@part ...
2
votes
1answer
47 views

How to Use ModernCV Icons with Classic Style CV

I really like the style of this CV -- I am not sure if the style has a name, but I have seen it many times. Here is the source code for my CV: \documentclass[margin,line,pifont,palatino,courier]{res} ...
0
votes
0answers
25 views

LaTeX package for stencil pictures in numerical analysis

Are there any LaTeX package to draw computational stencils (also known as computational molecules) such as the one in this book? Another example of a computational stencil:
0
votes
0answers
13 views

Play one video immediately after another one with `\usepackage{multimedia}`

If I use autostart only video4 plays, but the idea is to play all videos in order, i.e., first video1, then second video2 immediately after video1 finishes and so forth. Is that possible? I haven't ...
2
votes
1answer
28 views

How to convert sty and files to LyX layout

I need to import in Lyx the following layout: brain_damage.sty http://gregorywheeler.org/latex/phil-style1.html How can I convert it to a format that LyX can understand?
6
votes
1answer
65 views

How to use macropackage in LaTex?

I have used LaTex amspackage to type a math article. The publisher is asking me to do it in Springer LaTex macropackage with the option of 'smallextended.' I have no idea how to do this. Help please!
3
votes
1answer
55 views

Can I disable \RequirePackage without modifying a document style?

I have a custom (provided by someone else, not in latex repos) document style that loads flafter package in its style definition by unconditional \RequirePackage{flafter}. I want to use this style, ...
3
votes
1answer
49 views

How to maintain and import self-made libraries

Over the years I've written some libraries. These libraries sometimes depend on each other. As a result, the "tex" directory is structured as follows: tex ├── library | ├── library1.sty | ├── ...
3
votes
1answer
24 views

\htext undefined control sequence with paperandpencil.sty

I'm trying to create a questionnaire using paperandpencil.sty from QDDS. I've already figured out how to create a question using \question and an answer using \hup. I tried to make a yes/no answer ...
1
vote
0answers
20 views

What are some useful packages in lyx for writing thesis?

Useful packages and how to use them.
2
votes
2answers
40 views

Change [ for ( with cite package

Is there an option with the package cite to change the display of a citation from [John and Mary 2014] to (John and Mary 2014) ? I found this pdf with some options about the package but ...
1
vote
1answer
33 views

Texstudio quick start wizard options managing

My aim was to add some language packages to the quick start wizard. Thus I cliqued the plus symbol of the 'other options' option. Then I was asked to type in this new option: Thinking that it was ...
1
vote
2answers
46 views

Trouble with \usepackage [german] {babel}

All I wanted was to use an umlaut here and there in my paper, so I loaded the above package. I still did not get a decent umlaut. Since I saw that german was popping up in places where it shouldn't ...
2
votes
0answers
33 views

Lyx how to call a local .sty file

I created a .sty file that I used locally with a tex file. I mean that I put the tex and the styfile on the same folder (in my documents) and call the styfile as a \usepackage{mycustomstyfile} ...
0
votes
0answers
20 views

mathchars.sty not found when compile

I'm using MacTex + TexShop on mac, both have been updated to the latest version. When I compile a .tex file, an error occurs saying "mathchars.sty not found". The compile will continue and finish ...
8
votes
1answer
119 views

Is there any package with Markdown support?

Sometimes, I have notes where I would not like to convert all portions to Tex format. I normally then simply put such contexts under verbatim. However, this is a rather crude approach. So I started ...
3
votes
1answer
160 views

Package(s) for traffic signs

I am looking for package(s) that include traffic signs as symbols; I would appreciate if you could let me know if you are familiar with any.
0
votes
0answers
65 views

How to change PGF from 2.1 to 3.0?

I am using TexLive 2011. Although I have downloaded PGF 3.0 and put it into the folder texmf but the \ pgfversion always result in 2.1.How to change PGF from 2.1 to 3.0?
2
votes
0answers
51 views

Package responsible for syllable division

In my text I do have some lines with words including syllable divisions. I would like to avoid searching for the responsible package by commenting them out individually as this surely leads to error ...
3
votes
1answer
55 views

How can I use a LaTeX .sty file to get output from a Python file?

I'm currently working on a package that supposedly takes the output of a function in a Python script, and adds it to the PDF. For example, one function may scrape data from a website automatically, so ...
1
vote
1answer
86 views

Which package is needed to achieve this LaTeX output?

I've recently read a maths paper (outside of my area of study, economics) and it seems to use a font and/or style which I am unfamiliar with. I do not have access to the .tex or .cls file for this ...
3
votes
0answers
54 views

Spell check package for writeLaTeX.com

I use writeLaTeX to create my Tex documents. It's great, it has a dynamic preview which works much better than any other latex software I have seen, and as your files are saved online so you can ...
0
votes
0answers
39 views

Tex, extra, Latex packages

Am new to latex and am experiencing problems increasing the font size. I need a 14pt but latex has a maximum of 12. I have installed extra packages, but an error keeps showing up exaarticle.sty not ...
2
votes
1answer
55 views

How can I fix a “*.sty not found” error in Lyx, when it works in pdflatex?

I've just installed a gantt chart package, which I'm trying to use it in LyX. I attempted to use the first minimal example, but this failed in LyX with LaTeX Error: File 'forloop.sty' not found. ...
1
vote
0answers
308 views

MiKTeX: file .sty not found [closed]

I am trying to compile (on a Windows machine with TeXworks and MiKTeX 2.8) a TeX file which needs the package circuitikz. Unfortunately I get the error: the required file ...
2
votes
1answer
28 views

Problem with 'shrink'

I have a very basic problem. When I use shrink command I receive an error page as below. Here is my code % !TEX encoding = UTF-8 Unicode \documentclass{beamer} \mode<presentation> ...
1
vote
3answers
235 views

print a receipt

Is there a package to generate a receipt which has following information. Header with a company name , date , receipt number which should be automatically generated and text saying - Received Xx ...
0
votes
0answers
36 views

how to insert a hyperlink to cite the author's name/year

I have been struggling to provide a hyperlink to the author's name and year I have used in my bibliography file (doc.bib). Does anyone have a MWE to provide in this case or let me know what I am doing ...
2
votes
1answer
45 views

Which packages do I need? (Graph already created )

I have created a simple graph thanks to a tutorial. The graph itself works and compiles if I just use the packages the tutorial said and it compiles perfectly, but when I add the graph to my latex ...
0
votes
0answers
26 views

How to handle log data within documents (articles)?

I have to add the log-output of a program to the appendix of my article. A verbatim-block was my first choice, but the single lines are to long (far more than 80 characters) and therefore the lines ...
0
votes
0answers
145 views

LaTeX Error: Option clash for package inputenc!

I'm getting this problem and I can't find a fix for it. Tried searching but still couldn't find a solution. Here's how the file begins: % !TEX encoding = UTF-8 Unicode \documentclass{llncs} ...
0
votes
0answers
24 views

Getting “Unknown option” error with \DeclareStringOption in custom package

I'm trying to write a package for personal use that takes custom arguments as follows: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ZTPS}[2014/15/10 v1.0 Zach Taylor Problem Set] ...
0
votes
1answer
493 views

Mathtools.sty not found 'latex error' [duplicate]

I am using MiKTeX 2.9 and TeXnicCenter to compose and execute my LaTeX file(s) on Windows 8. When compiling, my code has this error: Mathtools.sty not found What should I do? How can I add this ...
3
votes
2answers
35 views

Outputting/typesetting the names of (first-level) packages used in a document?

Consider this MWE, test-0.tex: \documentclass{article} \usepackage{filecontents} % tlmgr install filecontents \usepackage[utf8x]{inputenc} \begin{filecontents}{test-1.tex} \usepackage{tikz} ...
6
votes
2answers
137 views

the calc package doesn't compute the correct value

I get an unexpected result using the calc package. I simply try to multiply the real value '10.01' by the entire value '10000' and to store the result in a counter. But the returned value is not the ...
1
vote
1answer
35 views

Removing the step numbering from cuisine package

I would like to remove the step number from the cuisine package. That is the 1 that appears in the left side of the ingredients in the following code: \documentclass[]{article} ...
1
vote
0answers
41 views

how to have an easily transferable LaTeX environment? [duplicate]

I've installed a number of sty TeX packages in my machine (under /usr/share/texmf/tex/latex/). I also have a number of LaTeX documents (tex files) in a github repository which I would like to be able ...
3
votes
2answers
83 views

Issue with psgo.sty when using it in Spanish

I've been working with psgo.sty (it allows to draw nice Go diagrams). Go diagrams are "enumerated" on the vertical axis with letters from A to T (Go is played on a 19x19 board, and I is omitted ...
0
votes
0answers
8 views

how to manually add .sty file (to texlive in ubuntu)? [duplicate]

I am using ubuntu texlive (+ editor: texmaker). What happened to me was: I upgraded OS from 12.04 to 14.04. My Homework tamplate which compiles fine in 12.04, no longer compiles now, with the ...
4
votes
3answers
76 views

Print a macro I created in a package

Based on the answer I received to Print a short title in the header, I've created the macro \handoutheader in a .sty file I use as the template for my conference presentations. ...
2
votes
3answers
131 views

How to typeset subquestions and the corresponding answers

I would like to typeset exercises with subquestions so that in the code I have an answer immediately following each subquestion, but in the output all the answers will be in the end. Also I want both ...
0
votes
0answers
30 views

Cannot find amsmath amstools package even though the doc used to compile [duplicate]

This is from a document that used to compile. I want to use it as a template as it was a really good template. However when I press compile it says that it cannot find the amsmath or amstools ...
1
vote
1answer
103 views

Preparing true/false questions with exam class

I use the exam document class to prepare my question papers. While it may have some limitations compared to the similar others available, it has nicely fulfilled my purpose so far. Now, I need to ...
0
votes
0answers
84 views

How to install the package font awesome? [duplicate]

How to install the package font awesome in MiXTeX (Windows)?
1
vote
1answer
87 views

How can I add this figure below in my latex file?

I have this image that I want to add in my latex file: Here is my MWE: \usepackage{graphicx} \usepackage{amssymb,amsthm} \usepackage{natbib} \bibpunct{(}{)}{;}{;}{,}{,} \usepackage{xr-hyper} ...
2
votes
2answers
82 views

Adding underbrace on $\left(\frac{dB}{dA}\right)^2\right$

I am trying to add underbrace to $\left(\frac{dB}{dA}\right)^2\right$. I have \underbrace{\left(\frac{dB}{dA}\right)^2\right}_\text{(-)}. However, LaTeX is giving me an error. Do I have to install a ...