# All Questions

33 views

### “Missing \endcsname inserted” when using pgfplots

I encountered the problem while trying to export figures from Matlab using matlab2tikz. However, while troubleshooting I discovered that even simple pgfplots examples did not work. For example, the ...
912 views

### How to typeset a gothic r symbol with a curl?

How can I typeset this symbol? And what is its name?
24 views

### Longtable listed in list of tables indicates different page number than linked to

I have several long tables in appendices which also show up in my list of tables. However, the page number indicated in the table of contents is not the page anchored to when the table name is clicked....
16 views

### How can I make the label text in description lists wrap in the label area over multiple lines if needed?

I use the enumitem package to customise description lists. Here a MWE printing some fictitious personal details: \documentclass{article} \usepackage{enumitem} \setlist[description]{leftmargin=5em, ...
16 views

### Changing footmark in footmisc

No way to have ragged right footnotes in memoir. Tried using ragged2e, redefining \@makefntext and yes, it makes the text ragged, but puts the footnote mark way to the left. The only way to obtain ...
43 views

### Further extension needed for game tree (tikz)

I've started making a game tree, but I get stuck after the second level. Suggestions for extending to the desired output or cleaner code are much appreciated. Desired output Current output ...
144 views

### How to write range of values for a variable in Latex?

Is there a simpler way to write k = 1, 2, ..., 25, instead of $k$ = $1$, $2$, \dots, $25$?
22 views

### TexMaker not showing the Bibliography, with correct setting

I am using TeXmaker for my document. However, the bibliography is not showing up. Here is the main code: \documentclass[10pt,a4paper, final]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper]{...
39 views

I'm writing a table on latex, this is the code that I used. \begin{table}[] \centering \begin{tabular}{|l|l|} \hline Lalalal & Papapa \\ \hline $\p{6^... 1answer 12 views ### Texmaker is Not installing? I am getting Error while installing Texmaker in ubantu 14.04. Error is Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ... 1answer 25 views ### tcolorbox: problem with “colbacklower” and “text outside listing” According to tcolorbox documentation and I would like to know which lower part options are available to change lower part aspect. May be I misunderstand this text, but I would like to obtain ... 0answers 23 views ### MathJax in the terminal? [on hold] I really enjoy working out of my zsh and was wondering if there existed a tool that would allow me to edit LaTeX in my zsh, (say in vim) and render it according to the terminal fonts. So I don't want ... 1answer 5k views ### A button that runs an external program from a Beamer PDF presentation I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application. Can this be done somehow - Embed an "exec" command inside a PDF using LaTeX/Beamer?... 0answers 26 views ### How to put a image where I want using the WallPaper I would like to put an image using the WallPaper package on the left of the page but not too left. I'm using: \ThisULCornerWallPaper{0.17}{image.pdf} How can I specified the position where I ... 0answers 57 views ### Is there a perfect set of macros for typesetting? [on hold] I understand using tex (primitives) you can get 99.9% control over how a document is typeset. Macros are simply a way to make this more efficient, and easier for non-technical users. I read that latex ... 0answers 17 views ### several problems wih pgf-blur (doube shadow, loop in object hiearchy in xdvipdfmx) I am trying to hunt down some bugs in pgf-blur, some of which have been reported here already (this for example). All the following experiments are done with TL 2016. There are two bugs: Bug: ... 1answer 145 views ### Cannot use pgf-blur twice with XeLaTex The following code \documentclass{article} %\def\pgfsysdriver{pgfsys-dvipdfmx.def} %this line does not matter \usepackage{tikz}\usetikzlibrary{shadows.blur} \begin{document} \begin{tikzpicture} ... 2answers 54 views ### Writing Author Information With Affiliations Bottom of Page How can I write author names right below the title and affiliations at the bottom left of the first page (but not below names)? Specifically, "Author1^{1}, Author2^{2} and Author3^{2}" is what I want ... 0answers 35 views ### Changing Citation Format bib latex (In collection, PhD Thesis) I am a new LaTeX user. I work with TeXShop for Mac and BibDesk for citations (PhD Thesis). I use package biblatex. Following the package info I was able to adapt several details of the verbose style ... 0answers 20 views ### Page numbering only on the first page when using \input command When I use the \input command in an article environment, only the first page show the page number. What can I do to have numbering on all pages of my paper? 0answers 28 views ### Latex documentation. How do I find what I need easily from it? [duplicate] Suppose I want to find how to make the default font Times Roman. How do I find such information in the documentation? Also, other than documentation for specific packages is there other ... 0answers 37 views ### Move grid lines to background in tikz I'm using matlab2tikz for exporting Matlab plots to tikz which works very well. I have now made a plot with grid lines, unfortunately the grid lines are in the foreground, i.e. in front of my plot. ... 2answers 90 views ### Customize vim-latex to write file prior to compilation <leader>ll compiles the current file, but I'd like it to also write the current file before it does that. Personally, I don't understand why this is not default behavior. When would one ever ... 2answers 64 views ### Uneven table in the last column I use quite a lot of (simple) tabular tables. Unfortunately the last column is always a little bit wonky: the text is a few mm higher than in the other columns, just enough to really notice it. How do ... 0answers 19 views ### Latex: Elsevier paper template, adds a horizental line that crosses introduction title when switching to two column In Elsevier paper template, when I switched to two column style the horizontal line that comes after the abstract section in the beginning crosses my introduction title which is the section following ... 4answers 2k views ### Is there a vertical \mapsto symbol? What is the TeX code for a vertical \mapsto symbol? I've looked but can't find it. I'm drawing a commutative diagram, and I want to draw what a specific symbol is being mapped to as well, so I am ... 1answer 133 views ### Bibliography: cleanest way (no bib encoding!) to add URLs and their related info? I use LaTeX for writing my thesis and I'm trying to come up with a clean and elegant bibliography format for web page references. I've been searching and trying different things for hours, but none ... 2answers 32 views ### How do I properly resize an array? At the moment my latex code looks like this but I get two errors saying Missing$ inserted. } . I have tried a lot to fix it but nothing helps. I am not sure if I am using a symbol that is messing ...
36 views

I want to simply add page numbers to my document in the format: #page out of #pages. I find this: % This is based on the LLNCS.DEM the demonstration file of % the LaTeX macro package from Springer-...
124 views

### How to insert a A3 PDF into a A4 Latex document with PDFLatex?

Assume I have a A3 landscape PDF, how can I include this into a A4 portrait latex document but still as A3-page? If I have one.tex producing a landscape A3: \documentclass{article} \usepackage[...
29 views

### Border height not consistent in tikzpicture

I defined a new command to divide a rectangle in three parts, each containing a title. However, the middle part is somehow. Can someone please explain me why this is the case? \newcommand{\...
94 views

For example I compiled something, and got error, it gives me 3 splited windows in vim, but if I :q all of them, I quited the vim. Is there a way so that I can go back to edit after compile error?
19 views

### Is it possible in pgfplot to label with integers a logaritmic axis?

I already posted a message that pgfplot makes wrong log scaling but it looks like my statement was not clear enough. I am using pgfplot to make a double logarithmic diagram. The relevant part of the ...
13 views

### How can I get matching curly double quotes using listings?

I'm having a strange problem with listings. I'm trying to use matching double quotes around strings, as in this minimal example: \documentclass{article} \usepackage{listings} \lstset{ language=...
35 views

### How can I make a command execute exactly once in an argument?

I'm wanting to create a command similar to AMS's proof environment that automatically calls a command (like AMS's \qedhere) when it gets to the end, but allows you to call the command earlier if you ...
30 views

### Pagebreak after titlepage

I have now made a titlepage in my document using \begin{titlepage} stuff \end{titlepage} and that is fine, but now when I tried to insert a blank page after the titlepage and before \begin{...
33 views

### Separate self-cited papers in bibliography

I would like to split my bibliography into two parts. First, list all the papers in which I'm one of the authors from [1] to [n]. Second, list all the other papers with plain style [AA00] ... [ZZ16]:...
46 views

### column vector without using \bmatrix?

How can I write a colomn vector like following without using \bmatrix? (no \usepackage{amsmath}) Thanks a lot!
545 views

### How can I typeset an algorithm with columns as in CLRS (Introduction to Algorithms)?

In Introduction to Algorithms, by Thomas Cormen, there are some algorithm like in this image. With one column for the code, one for the cost and one for the times. I searched a lot, but I didn't ...
23 views

### Input file appearing more then once after compiling?

I am using the function given in this answer http://tex.stackexchange.com/a/7657/110509 (with a minor alteration of ls #1*.tex to ls #1*/*/*.tex #1*/*.tex so files in subdirectories also get included)....
645 views

### 'List of Algorithms' title is not all in caps

In my dissertation, I have added a page for list of algorithms, using \listofalgorithms command. However, the title of the page is not in all caps ('List Of Algorithms'), while it's supposed to be in ...
34 views

### format of editor in biblatex

I want to put "ed"/"eds" in parentheses with no dot. I can do the parentheses, but not remove the dot. How do I remove it? \documentclass{article} \usepackage[style=authoryear]{biblatex} \...
14 views

### Problems with \wideparen

I am using \wideparen from the yhmath package to indicate arcs. Now I have encountered problems with the following symbols: \documentclass{article} \usepackage{yhmath} \begin{document} \$\wideparen{\...
44 views

### Using \input inside environment fails

I'm trying to use the filecontents package in combination with listings as suggested in How to define macro that only makes argument substitution? in order to produce a side-by-side view of LaTeX code ...
21k views

### Converting Markdown to LaTeX, in LaTeX

I've started to use markdown for my notes simply because its faster than writing latex, but I would prefer to have the extra power to LaTeX. Is there/would it be possible to have a markdown ...
9 views

### add word “volume” to an custom bst

I'm editing the bibliography style "unsortnat" to satisfy a conference requirements. The ask me to put at the end of the citation the volume and pages, after the year like : S. Adhikari, M. I. ...
96 views

### LuaLaTeX Variable Expansion

I've run into an issue with variable expansion in the different distributions of LuaLaTeX (chiefly MikTeX and TeXLive). In TeXLive (both 2014 and 2016), I can use the following to reference my home ...
21 views

### Using \input within \textcite{}

I have a file called Test.tex containting ID1 I'm trying to feed this file to a \textcite{} command, using the input{}command. \begin{filecontents*}{References.bib} @article{ID1, Author = {...