# All Questions

173,905 questions
7 views

### How does TikZ render an arc?

With the sample MWE below, TikZ generates the following diagram: 1. Drawing an arc \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate[label=below:$a$] (a) ...
4 views

### longtable in landscape 2 colum article center

Im have a two column article and I need to put a long table in landscape. The problem is that the table keeps aligning to the right of the page instead of centering. Any idea why? This is what I'm ...
6 views

### Line spacing - equivalent to MS Word 1.5 spacing

I am writing my thesis, somewhere towards the end of it, but also the time is tight, so I'd appreciate some help. I have to use 1.5 line spacing. However, I read somewhere that \onehalfspacing of the \...
6 views

### texshade: how to change fontshape?

I tried to use the following codes to change the fontshape of the output of texshade package as times NEW roman, however, it seemed nothing had changed without any warnings, why? And interestingly, ...
6 views

### How to place a figure on the left?

Som I need to put this image like this, but I can not and I need the image on the left of the page and, next to the image, I have centered text. I tried it with wrapfigure This is my code \...
25 views

### Simple Line in LaTeX Help!

I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me ...
9 views

### Real time updating of LaTeX with sublime text on ubuntu?

Is there any way to get Sublime text to update my pdf viewer (zathura) in real time as I write?
8 views

### No vertical spacing between Theorems in Beamer

How to set no vertical spacing between Theorems in Beamer? Since the following code produce some vertical spacing above and below each theorem. \documentclass{beamer} \usetheme{Berlin} \begin{...
4 views

### A custom authoryear citation in a numeric bibliography is not working

I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only ...
9 views

### Why abntex2 class is inserting a new line after the chapter title?

I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for ...
10 views

### Changing Color of Author Thanks in Document

Let's say you have the following title in mwe.tex: \documentclass{article} \title{Sample Title} \author{John Doe\thanks{email}~ and Jane Doe\thanks{twitter}} \date{\today} \begin{document} \...
16 views

### adding microtype package produces invalid DVI error when using fouriernc package

This MWE \documentclass[11pt,notitlepage]{article} \raggedbottom \usepackage{fouriernc} \usepackage[T1]{fontenc} \usepackage[activate={true,nocompatibility},final,tracking=true, ...
30 views

### Why latex does not tell me which command is undefined?

From the beginning, took me a lot of time to come with the following minimal example: \PassOptionsToPackage{main=brazil,english,spanish,french}{babel} \documentclass[ 10pt, a5paper, ]{memoir} \...
17 views

### How to align enumerate environment inside description environment

I'd like to know how to align the enumerate list nested inside the description by the vertical black line as shown in the picture. \begin{document} \begin{description}\item[Description] \...
19 views

### Wrapping text with mathclap

How can I wrap the text from \mathclap so that the text doesn't spill over like the picture? \usepackage{mathtools} \makeatletter% From https://tex.stackexchange.com/a/419690/156344 \def\...
14 views

### How to put an image in \part page

I am trying to put an image into the same page as the \part header, something like a sub-cover. I tried something along the lines: \documentclass[10pt,ebook,italian,onecolumn,oneside,titlepage,...
48 views

### A \coordinate command ignored

$\triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1)) and its ...
17 views

### pgfplots: Best practice to avoid “TeX capacity exceeded” when plotting huge data sets?

I want to create some huge pgfplot with three different axis and a lot of data points. In summary there are 20160 lines of data existent. My problem is: All few hours the values will change ...
13 views

### Break down a bibliography in Context according to category of item

A requirement for a memoir that I am typesetting (for a friend), using Context, is to separate the bibliography into several sections according to the category of the item (textbook, legal text, etc.)....
24 views

### Can't include references with biblatex

I have no idea what's going on. I'm trying to write my assignment in Latex but the references are not showing up. I put this on the preamble: \usepackage{biblatex} \addbibresource{ref.bib} My folder ...
28 views

### How can you typeset keys to get the impression of a Calculator?

How can you typeset keys to get the impression of a Ti-84 Calculator? The only responses I see are for French calculators.
17 views

### Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
18 views

### Reduce padding in cell with lists in tabularx [duplicate]

So I have a table that includes lists written with tabularx, however the lists have rather excess padding at the top and on the left. Is there a way to reduce this only for the space of this table? ...
14 views

### How to change the typefont of the first row of a table [duplicate]

I would like the first row of a table to have a different typefont. For example, I could have boldfaced Utopia for the first row, and normal Palatino for the rest. How could I do this? Thank you.
10 views

### Force a lonely float to top of page [duplicate]

I am not fond of solitary floats "floating" in the middle page. Consider this example: \documentclass{report} %\usepackage{float} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-...
34 views

### Insert code after \begin{<environment>}

Is there something simular to \AtBeginEnvironment from eToolBox but instead of placing code before \begin(<environment>) it places code after the begin. I could find a simular question here but ...
47 views

### Moving a wrapfig vertically to encroach partially on a subsection title

It sounds like very poor typography, but I am simply looking to shift a wrapfig picture up, but in particular so it would ever so slightly go above the start of the paragraph and into the subsection ...
12 views

### LaTeX text following a path in Inkscape

I am using Inkscape to produce my images and include them in my LaTeX documents. So far I have encountered zero problem, so I don't want to change softwares. However, I tried for the first time to ...
21 views

### How to format the algorithm

I have the text for the following algorithm, but I am unable to format it, with the numbers and spacing as in the image: $COVERABILITY-GRAPH((S,T,F,M_0))$\\ $(V,E,v_0):=(\{M_0\},\emptyset,M_0);$\\ ...
12 views

### Impose vertical displacement in one column in tabular environment

I have a simple table with three columns, split (by an \hline) into the first two rows and the last two rows. Here is a minimum working example: \documentclass{article} \begin{document} \begin{...
29 views

### bold a defined color

Here is one of my custom colors that is "light blue". Sometimes it comes up very skinny on the text \definecolor{lb}{RGB}{44, 139, 183} Is there an easier way to bold or thicken the font of a \...
17 views

### TexStudio “Go to source” and \import

When using \import to store chapters in separate files, I am losing the ability to go from PDF to source and vice versa (except that compiling does take me to the right spot in the PDF). I am on 2.12....
25 views

### BibLaTeX - Sort bibliography by firstpage

I need to create a bibliography where journal articles within a volume and issue are sorted by the first page number. I can use \mkfirstpage{pages} to print the first page of the page range but cannot ...
32 views

### How can I verify that the fonts are all embedded in my LuaLatex document?

I am working with a manufacturer who is typically used to getting pdfs from more traditional Adobe tools, read: not LuaLatex. They are telling me to "make sure" that my fonts are embedded in the .pdf ...
24 views

### How can I write underneath the equation “b+b+…+b” n-times? [duplicate]

I am new to LaTex, I am using a Overleaf. I'm trying to write the equation n\times b= b+b+...+b with 'n-times' in the bottom.
13 views

### Problem with hyphenation in Ubuntu ( No hyphenation patterns were preloaded for french babel)

I have a problem when compiling a latex document in Ubuntu (18.04). I am using TeXmaker et MikTeX. The message is Package babel Warning: No hyphenation patterns were preloaded for (babel) the ...
62 views

### Positioning dot before text in math mode

I only know of \dot, \cdot. How do I get the dot to appear in the top left position of the alphabet? The following helps, to have a dot after the t. $t^.$
59 views

### Populating a tikz matrix with complex content

I am trying to populate a tikz matrix dynamically using foreach to loop over a list-argument and breaking it further apart using xstring operations. I am hitting an issue where, as far as I can tell, ...
14 views

### Legend entries labeled incorrectly with two

I have a graph with three plots and two y-axes. Two of the plots use the left y-axis and one uses the right y-axis. In order to get a single legend with all three plots, I am using the ideas in this ...
20 views

### Bibliography as numbered subsection

For my Bachelor thesis, I would prefer that the references are listet as a subsection in the section "Appendix".... The only thing a achieved so far is, that together with \usepackage[numbib]{...
59 views

### Drawing a ribbon graph

Given a graph like the one on the right side of the picture below, I want to draw a ribbon graph (that is, a "thickened" version of the graph) like the one on the left. I already drew the graph using ...
39 views

### Omitting the following parentheses

\documentclass{beamer} \usepackage{pifont} %\usepackage{etoolbox} (this is necessary for old beamer versions) %\usepackage{graphicx} %\usepackage{color} \usetheme{Madrid} \newtheorem{...
25 views

### pgfplots: Using “x filter” to decrease point density of plot

The user esdd has posted a nice approach on how to increase point density for a certain range of data points while the remaining plot keeps low point density by using x filter. Minimum Working ...
27 views

### Force figure placement in text doesn't work in 'gji' document class

I have a problem with placing the figure. It is placed differently than in the code. In the article document class I use [h] specifier from the float package, but in the gji class it doesn't work. (...
77 views

### Resize vertical bars (absolute-value symbols)

I tried that \middle, \,\middle|\, and \mathrel{\Big|}. I read How to automatically scale \mid within delimiters and \usepackage{mleftright} \usepackage{amsmath} \begin{document} ...
20 views

### Fontspec compilation error with MacTeX-2018

Fontspec (and several other packages) were not working. I reinstalled MacTeX-2018, but the same errors keep coming up (see below). l3kernel & l3packages are both installed. All packages on TeX ...
24 views

### Check whether section/subsection is longer than one page

I have defined myself a small (probably disgustingly overcomplicated) command to reference parts of my document and add the respective page number to the output if the referenced part is on a ...
22 views

### My citations are not ordered as they appear in the text

I am using natbib package with following options. However, citations are not ordered in text as they appear. For example the first citation is not numbered [1] but it is numbered as [17] in text. \...