# All Questions

78 views

### How to put references into the same style as the rest of the text

I put my subsections in \textbf{} and my subsubsections into \textit{} The same style I gave the corresponding numbers in the Table of contents. Referencing to these subsections I get the same style ...
165 views

### Quantifier spacing with unicode-math

When using consecutive quantification in a math formula, there is not enough spacing around the quantifiers. For example: \documentclass{article} \usepackage[colon=literal]{unicode-math} ...
352 views

### Conflict between mathdesign and memoir chapterstyle ell

I have just come across an odd interaction between mathdesign and the ell chapterstyle in memoir. I'm using TeX Live 2013 and I believe this was introduced with the update to mathdesign 2.31. Here's ...
217 views

### Nesting outlined boxes in math mode (formulas from Laws of Form)

I want to type-set some formulas from Spencer-Brown's Laws of Form using the nested cross formatting, and preferably using math mode, at times inlined into a paragraph. E.g. the following: So what ...
434 views

### Problem with titlesec/titletoc/tikz

I have a problem in the sheet dedicated to the table of contents. I'm using titlesec/titletoc/tikz which works fine except in the page "table of contents". I have this result : The problem is that ...
347 views

### What does “File stack underflow!” mean?

I am getting two times the error: Package currfile Warning: File stack underflow! on input line xxx. I am not explicitly loading currfile, but standalone seems to do. I am getting this warning ...
2k views

### Protect scanned signature in a PDF [closed]

I would like to include a scanned signature in my PDF and send it via email. Call me a tin-foil hat but I know how easy it is to open a PDF using, say, inkscape and extract the signature graphics from ...
3k views

### How to set up spell-checking with vim?

I'm using vim to write my thesis. It's a multi-document project, with most tex files in subdirectories from the master-document. I've set up a couple of \newcommands to replace the use of \section*{} ...
190 views

### parameter description with long descriptions and long lists — possibility of page break?

I have a series of equations with following parameter description. Some of those descriptions are relatively long, meaning that I nead a line break. I use so far table, and to accomodate the long ...
289 views

### MacTeX 2012 to 2013; NFSS system error, encoding scheme LGR

I used MacTeX, 2012. After I had been playing the 2013 version, I get the following error messages that have never occurred in the 2012 version: 1 This NFSS system Is not set up properly. 2 For the ...
1k views

### How to draw a big red cross through large parts of a text?

I am co-authoring a piece of text, and I would like to indicate that in my opinion certain parts should be removed, by drawing a big red cross through that specific section. I have tried to work with ...
47 views

### inner and outer margin misplacement in book [duplicate]

I am using the book style \documentclass[11pt,openright]{book} but the title, index starting and all the capters have larger margin in the right proper of documents opening on the left. I tried to ...
180 views

### How do I group curves in 2-D plots with pgfplots

In the above image, you can see that there are 4 curves. I have two techniques (black and red). I test them on two different experimental scenarios. So corresponding to each scenario, I get one red ...
275 views

### TikZ legend changes the line legend into a rectangle legend

I am using TikZ to insert MATLAB figures but the problem is that I have two legends one is a line and the other is a rectangle. When I insert it, both look like a rectangle. How should I correct it ?
492 views

### knitr and font style consistency in graphics

I am starting to use knitr to print graphics from R in my document. So far what I have been doing (I don't know if this is the best approach, but it is working) is to load the my R workspace with ...
149 views

### How to put a series of figures in annex

I want to put 51 figures , with names 0001.png ,....., until 0051.png, in annex ans I'm wondering if I can do something similar to this in latex . for i series_of_figures; put figure in annex , with ...
197 views

### Tracing group-level and position in LuaTeX

I am absolutely new to LuaTeX and I have few questions about it. First of all I learned that in LuaTeX it is possible to trace all TeX tokens with token filter' callback. Is it possible to get some ...
403 views

### Can anyone provide me with a simple example?

I want to write in urdu with nastaleeq font. I have done quite a few things but i dont know how to write it. Plus i dont know how to use xetex. So can anyone give me a simple example writing urdu in ...
145 views

### Integrate Latex in desktop application

I'm considering using LaTeX in a (windows) desktop application. The idea is to deploy LaTeX via my installer. My application would then start it by a process execute call in order to generate a ...
139 views

### Own headings for an article

I've got a litte problem in making my own headings, my goal is something like this: my current code looks like this %-- Preamble ------------------------------------ ...
1k views

### How can we import the gnuplot output in LaTeX?

I am using the gnuplot and create the myploy.tex as following: set terminal epslatex set output 'mplot.tex' set xlabel "Avg. No. of demand duration (slot) " set ylabel "Acceptence rate (%)" ...
268 views

### An overview of node positioning?

I've been making tikz pictures for a while now, and there seem to be a number of different ways to position nodes within a diagram. Absolute coordinates, east/west, left/right, the  things, minimum ...
524 views

### Reset equation line numbers in Lyx

In Lyx, how can I reset the line numbers between display-style equations? For example, if I have the following setup: Some text Line of display-style equation Another line of display-style ...
1k views

### Overfull \hbox in paragraph at lines 57--63

I've finally made the move to org-mode from Evernote, I can get simple documents exported via tex to pdf, but i have things like this in there: Create Apache virtual host file ...
1k views

### How can I make (some) $money$ out of my TeX skills?

I by no means intend to stop contributing what I can to TeX.SE, but a recent experience begs the question... After helping a friend designing a flyer for a telecom company (for which she got decent ...
261 views

### Maintainable approach to adding a title to an exsheets question?

I've started using cgnieder's wonderful exsheets package for my problem sets, but it seems to be missing a valuable functionality: exercise titles. In my case, the latter would prove particularly ...
943 views

### Why does \smash screw up vertical spacing after tabulars?

Using \smash after a tabular seems too screw up vertical spacing. Wheras after a paragraph vertical spacing is fine. Witness for yourself: \noindent \begin{tabular}[t]{@{}ll}% One\cr Two\cr ...
414 views

### Using \MarginFigure command

Someone wrote a command called \MarginFigure for putting figures in the page margins. Unfortunately, I haven't been able to get the \includegraphics to work. Specifically, I have figures that I've ...
257 views

### Caption and tablenotes in two columns (in threeparttablex)

I have a table with a long caption and footnotes on a landscape page, prepared using ThreePartTablex, but it does not fit. I'm now looking for options to make it fit. My best idea so far was to set ...
184 views

### Difficulty placing a dynamic fill command within a “\path let …” TikZ structure

I wanted to create a sequence of images that show a rhombus being folded. I'm able to do what I want, but the code is not very elegant. I wind up (needlessly?) repeating chunks of code to get the ...
143 views

### How to: Tex fonts

I want to learn something about how TeX fonts works. But I don't know where to start? Is there any book about it? Where I can find some library of the TeX fonts? (with preview)
138 views

### Adding .jpg images to a specific template in LaTeX

I found this template online for a scientific style journal but I am unfamiliar with the packages and am having a lot of trouble adding .jpg images as figures. \begin{figure} ...
282 views

### BibTex Style File for UWE Harvard

In 2011 the University of the West of England developed its own version of the Harvard referencing system [1]. Unfortunately they do not officially support BibTex and therefore do not provide a bst ...
79 views

### AUCTeX/RefTeX, the import` package and cross reference

Today I switched to the import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke RefTex in emacs. Now, I cannot lookup my labels ...
2k views

### Why do I suddenly get an auto expansion error?

On files that have worked previously, I'm suddenly getting the following error ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. This error does not appear if I ...
179 views

### Table with percentage sign for a specific line

I am importing a table from a file and I would like to add a percentage sign for all figures on the third row. The code works well for a specific cell in the table using the command every row 2 ...
2k views

### How can I create a “Proof of Theorem x.xx” header for a proof environment?

In many papers in mathematics, the author states a theorem in somewhere and adds some explanations and perhaps some lemmas and later starts the proof with a phrase like "Proof of Theorem x.xx" (x's ...
145 views

### Passing Options to Unknown Class

My goal is to process a LaTeX tex file with the draft option enabled for the document class, but from a terminal without having to edit the tex file or even open it to look at what class is being ...
129 views

### listings: using Python and Matlab code [duplicate]

Can I \lstset to define both Matlab code and Python code? or will last one override the first one? or does listings know the difference when there is a .m or .py extension and use the correct \lstset? ...
7k views

I was trying to include a figure in LuaLatex, but got an error message of !Package pdftex.def Error: File 'test-eps-converted-to.pdf' not found. The same code run in pdfLaTex+MakeIndex+bibTex. ...
379 views

### xdvi does not show eps files inline

When run from the command line xdvi gives the following errors \$ xdvi text.dvi gs: Unknown device: x11alpha gs: Unrecoverable error: undefined in .uninstallpagedevice gs: Operand stack: gs: ...
126 views

### Why \@ifnextchar doesn't work correctly within of a unicodechar definition?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{newunicodechar} \makeatletter \newunicodechar{∑}{\@ifnextchar_{\sum}{\@ifnextchar^{\sum}{\Sigma}}} ...
1k views

### Text alignment using fix anchor positions in TikZ

I created some biological drawings using Dia and exported them as TikZ TeX code. I want to define some commands that insert these drawings and add some text to them. As there is a lot of text and ...
1k views

### If not DeclareOption

I have some documents using a same custom package. That "header" package loads by default the package fullpage. But I would like to write a new LaTeX document, using the same header, but without ...
481 views

### Asymptote: Is there an equivalent to silhouette for surfaces?

Update If there is no equivalent to silhouette could you comment on my following ideas: I can get the projection of my surface using the planeproject transformation. This is still a three dimension ...
98 views

### Compiling example provided with pst-dbicons package does not compile

I am trying to create an ER diagram using pst-dbicons package (PSTricks). However, on trying the example tex file, I get an error on line 55: "Undefined control sequence". I am pasting the example ...
269 views

### Insert margin images in LaTeX

I am using a two sided layout in LaTeX and have several places where white space could be filled with images instead of being included in the text flow. I cannot get a working figure with caption ...
756 views

### TeXworks with XeLaTeX + MakeIndex + BiBTeX + shell escape?

I have tried following this answer, but it gives me: xelatex.exe: Invalid command-line option xelatex.exe: Data: unknown option Shell-escape is required for minted, and is enabled for ...