# All Questions

11 views

### How to display index entries on the same line as the text being indexed

Is it possible to let showidx display index entries on the same line as the text being indexed? It seems not as makeindx.pdf says: This macro actually typesets the box containing all the index ...
42 views

### Adding shell commands to hide LaTeX Aux files after compiling in TeXShop or TexStudio

I run LaTeX under OSX, and I would like to attempt to hide all of the LaTeX helper files from the finder after compiling. It strikes me that the simplest thing to do is not to move them or delete them ...
294 views

### OCR PDF/Image to LaTeX (math) [on hold]

I would love to have an OCR who could translate my PDF-file to a TeX-file. It doesn't have to be "good looking". I only need it to a) copy some text from time to time and b) especially to copy the ...
20 views

### dramatist remove spacing between speech items

I'm typesetting a drama script using the dramatist package, which defines the drama environment, which is basically a list environment, and each speech entry is a list item. Since I need to print the ...
27 views

### Include a tex file that contains the bibliography section

I found when I tried to keep the spaces in my file name by using \include{{""}}, then the file could still be included, but the references would be question marks. This is my MWE ...
25 views

### ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
76 views

### paragraph over 2 columns in an article document

I have a two column format for an article and a small paragraph which i want to split in those 2 columns(hard break). I dont want to use \vfill, as I am intending to display a table after the ...
22 views

### Different subsection format if no title is given

I want to have subsections appear like "Article 1: Foo" when I enter \subsection{Foo}, but like "Article 1" (without the colon) when I enter \subsection{} (without a title). Is there a way to do this? ...
22 views

### Custom PSTricks directory tree to TikZ

I have a PSTricks implementation of a custom directory tree which I find quite appealing. I basically want to convert the whole thing to TikZ. I managed to get the very basic idea running in TikZ: I ...
11 views

### Highlight/Link Author and Year in Citation

I'm currently modifying the Masters/Doctoral Thesis template found here. However, it only highlights the year in a citation like (Smith 2016). I would like both "Smith" and "2016" to be part of the ...
10 views

### Error using pandoc when converting from markdown topdf

I am trying to convert a document from markdown to pdf. I use this as a yaml metadata block at the top: --- author: Vamsi Deepak Ampolu title: resume papersize: letter documentclass: article ...
26 views

### Beamer Navigation bar too long

My navigation bar in Beamer is too long with the way it is presently formatted. I have considered going to multiple lines for the circle navigation, but this results in the vertical space of the ...
297 views

### Detect whether running on pdfTeX or Knuth's TeX for conditional include

Does anyone know a way to detect whether one is running in pdfTeX or Knuth's TeX? I want to be able to conditionally include extra features when a document is being built using pdfTex, but also ...
13 views

### Euler-Digits + siunitx hiding certain units (like Ohm)

It's been a couple of months since I last used my TeX, so I did some updates that became availabe (using MikTeX's software - Windows 7/64bit) and as of that moment, I noticed that my siunitx package ...
85 views
+50

### Tablespecification and complex column

Based on 2 former questions I have found another problem, I am not aware about that this could be a problem. Question 1: Conditional complex column type Question 2: Generic table definitions But I ...
36 views

### Minted text changes _ to \_ in the final PDF

I'm writing a report and I found something wrong after compiling it. The PDF file showed things like \_ instead of _ and \textquotedbl{} instead of quotation marks. It's pretty important for me to fix ...
23 views

### mdframed and skipbelow

There are many questions online concerning this issue of skipbelow of the mdframed package. For me, this skipbelow issue is not resolved. The version of the mdframed package on my system is: ...
140 views

### How can I redefine \int to put a negative space after the integral sign, but keep the limits properly set?

I'd like to modify the \int command such that it adds an automatic negative space, e.g. \! after the integral sign. Preferentially, I'd like to be able to not edit any of my code, so cleverly ...
15 views

### Some items in bibliography are not aligned

I am adding some items to my bibliography: \bibitem{ibm2}vander Meûlen, R. J. (2006). The immersed boundary method for the (2d) incompressible Navier--Stokes equations. Modelling, Analysis and ...
50 views

I wanted to add the lines from the edge of the left margin to the colored box in my section headers so this it looks like: Here is the code I have thus far: \documentclass[11pt]{book} ...
44 views

### Is there a possibility to make a circle around a node like on the photo?

I would really like to have a circle around the first node of my tree like you can see on the photo. Is there a possibility? I only startet with latex and there is so much new for me... Thank you!! ...
53 views

### tufte-book: tikz references in caption

Using the article documentclass, the following code works as expected. \documentclass{article} \usepackage{lipsum} \usepackage{caption} \usepackage{pgfplots} \pgfplotsset{compat=1.13} ...
188 views

### How to produce this table in latex?

I want to produce the first two rows of this 5-column table in LaTeX: As you can see it is a special type of tables where we see: itemized lists inside but inconsistently, ie. column 4 all rows ...
5k views

### TikZ: draw line thickness less than 0.1 mm

In TikZ is it possible to draw lines thinner than 0.1 mm? ultra thin option gives line thickness 0.1 mm. I want to draw a pattern using line thickness 0.07 mm.
29 views

### Generate barcodes with a for loop

I want to create labels with barcodes. The individual barcodes should be a sequence of numbers which identify objects. After some trial and error, the GS1 package seemed to work for me. Since I have ...
425 views

### LaTeX using the matching environment in the exam documentclass

Could someone please share a working example of using the matching environment in a document class exam. I am new to using the exam document class and am unable to find a way to set up the matching ...
43 views

### Cannot define new unit with siunitx

I've been reading almost two hours through various posts that seem to have the same problem but none of the solutions worked for me. I want to define new units (in my case it's \thermal and ...
45 views

### Can I point Gummi to use TeX instead of LaTeX?

gummi is a great text editor since it has continuous re-fresh. Can I link it to TeX instead of LaTeX? Here is why: Some commands only work with TeX and not LaTeX. me@Lenovo:~/Documents\$ latex ...
49 views

### Linebreak does not work in section headings modified with tikz

I have a problem with long sub/section headings: \\ is not wirking. As I'm new to Latex, I adopted this beautiful template http://www.fluortools.com/misc/LaTeXtemplate and modified it for my needs. ...
4k views

### Selfhosted collaborative webbased LaTeX editor

I'm searching for a LaTeX editor that I can run on my GNU/Linux server and allows realtime collaboration as well as online compiling and previewing. What I've tried so far: FlyLaTeX: Editing works ...
27 views

### Positioning tikzpicture and determining range for axis

In another question I got great help creating this picture: Actually it looks how it should but there are two further things I would like to clarify: Firstly, I get this warning: Axis range for ...
57 views

### Multiple sorting with biblatex

I'm trying to use biblatex to produce two different bibliographies. The first one should contains only my papers, sorted in order of appearance in the text, and with some special prefix. The second ...
35 views

### The directory when you install TeXnicCenter

My whole problem started when I upgraded Adobe Reader to the version DC, it crashed down my LaTeX, I replaced the DC version by the older one. I remove MiKTeX and TeXnicCenter and installed them ...
226 views

### Include Inkscape in pdfLaTeX problem

I have the following problem to include a pdf (also tried eps) to a latex document. I always get this fault: ! Extra }, or forgotten \endgroup. \endpicture ->\egroup \hss \egroup ...
35 views

According to Using .toc external files, the following file should display the table of contents twice: \documentclass{report} \begin{document} \tableofcontents \chapter*{Contents (manual input)} ...
38 views

### Can't use fontspec with LuaLatex [on hold]

I have MiKTeX 2.9 installed on Windows 7. I want to make use of the package fontspec, but the command \usepackage{fontspec} is enough to cause the following error message: LaTeX Error: File ...
23 views

### Flashcards with figures [on hold]

I want to make some flashcards of my anatomy notes, i guess i need to use the flashcards class. But then my problem is that i can't have figures/images on the flashcards, it won't compile; It gives ...
13 views

### no option set default output format as pdf

I've recently installed lyx on arch 64, and the 'view buffer' button as well as the shortcut (Ctrl+r) are disabled, after a bit searching I read that it's necessary to set the default output format ...
23 views

### Use single or compact spacing in side notes

I have a document that by default uses double spacing. This is fine for the main text, but side notes use lots of space. How can I disable double spacing for margin side notes? ...
12 views

### How do I underline the DOI in the bibliography using biblatex/biber? (Context: continued work on SAE class)

I've been continuing the work of developing a modern SAE class, and have found previous helps on this forum extremely useful. The next thing I am trying to accomplish is underlining the DOI in the ...
5k views

### Axis with trigonometric labels in PGFPlots

How do I make the axis labels use multiples of \pi in PGFPlots?
71 views

### Label axis in units of pi (or pi/2) and use minor tick num [duplicate]

Using pgfplots, I often want to label the horizontal axis major ticks in units of pi or pi/2, or pi/3. Is it possible to have such "trigonometric major ticks" use minor tick num = <value> to ...
19 views

### Auto-format for \ref, \cite

Is there a way of getting texstudio to insert ~\cite instead of \cite{}, as well as ~(\ref{}) instead of just \ref{}, similar to Emacs/AucTeX?
15 views

### Aligning minipages with new margins

I've extended the page margins using geometry, but when I create a minipage for my headings the right aligned minipage aligns with the original margin. How can I make it so that it aligns with the ...
114 views

### Minimize hyphenations with ragged2e

Nearly every guide to LaTeX recommends \RaggedRight from the ragged2e package over the built-in \raggedright. But I've always been frustrated by too many hyphenated words with \RaggedRight. I ...
16 views

### BibTex citing format: Hide Indices/key for CV

For my CV (pdflatex) I like to add my publications (BibTex) but a can't get rid of the keys/indices for the cite entrys. Unfortunately I like to use a special mstyle.bst file (I hadn't made myself) ...
59 views

### Different symbol for g

How can I write in "curly" form of g in an equation? Just "g" gives me this
34 views

### PGFPlots - Legend box aligning with axis [duplicate]

I am trying to increase the size of the legend such that it exactly fits to size of the plot. But even after having a look at the PGF manual I could not figure out how I can realise my plan. ...