# All Questions

163,974 questions
3 views

### Table of content spacing in beamer with column

I am using beamer to prepare my presentation and everything was working fine but the table of contents slide. The margin was too small for this slide so I put it inside a column. However, doing that ...
8 views

### Add in the same line four author

Using this commands it is possible to have four authors but the fourth author is in the next line. How is it possible to have all authors in the same line, with there affiliation as it seems? \...
5 views

### TOC and graphical abstract for ACS journals

I am preparing my manuscript to ACS by using latex(overleaf). I am having some trouble to add my graphical abstract into the Table of Contents. Could you highlight what I missed? \begin{document} \...
12 views

### Positioning side and top bars with TikZ

I am quite confused about positioning with TikZ. I am trying to create a template that has a top bar in gray as a header only on the first page and a left bar with a width equal to the left margin on ...
10 views

### Multiple Page PDF Export Issue With pylatex

Multiple page issue: I am trying to export a multiple page pdf and there seems to be an error. I cannot find the source... I suppose that it is because of the text " âchemical exchangeâ " where non ...
13 views

### What citation package to use

As far as I can tell the three major citation packages are: natbib cite biblatex There already is a discussion on the relation between natbib and biblatex here: bibtex vs. biber and biblatex vs. ...
28 views

### Convert pdf(generated from tex) to a .tex file [duplicate]

I have a pdf which is generated from tex. Is it possible to convert into the tex file? Thanks
15 views

### Create a universal table

I have to make a lot of tables with same head, but different data. So i want to create a template for creating a table with head, and to define a command to add row in table. Is there any solutions ...
6 views

### Error with tikz package with texmaker on Mac

I tried to plot a figure using tikz package. However, I have an error: ! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error -interact ion=batchmode -jobname "master-figure0" "\def\...
18 views

### Footnote in caption and in the same page of caption

I'm wondering if there is a way to write a footnote inside a caption and to stick the footnote in the same page of caption. In my code I'm using footnotemark and footnotetext, but the footnote occurs ...
13 views

### Disable Draft mode for single input

I am working on a document with many images. Thus, I set the option \documentclass[draft]{scrbook} to have a fast compiliation process. If I still want to look at a specific image, I use \...
23 views

### How to draw a flow chart like this?

I want to have those remarks inside the rectangular box. Thank you so much.
22 views

### help to create these environments (tcolorbox or tikz)?

I'm trying to create these environments but without much success ... I wonder if it will be better to create it with tikz or if it is easier to customize the title of a tcolorbox and rotate it a bit ? ...
24 views

### How to use custom command output as lenght?

In order to convince TeX to keep the grid I tried to program a command, that takes a font size switch as parameter and calculates the reminder of the division of the corresponding baseline skip and ...
7 views

### match line spacing in different minted code snippents

I want to compare pseudo-code snippets from 2 made up languages side by side. I matched them in number of lines but the line spacing is different, so the lines are not aligned 1:1 even though they ...
21 views

### Bug? ibidem in floats with the floatrow-package

When I use the floatrow-package with biblatex and a citation style that uses ibidem-tracking, usually, when I cite a publication twice, the second time the citation gets replaced with (ibid.) (or ebd. ...
19 views

### Printing Two Double-Sided Copies of an A5 Document on A4 Paper

I'm using LaTeX to write a quiz for the calculus class that I'm teaching, and I'm trying to save paper by using both sides of half a sheet of A4 paper (i.e., an A5 sheet) instead of one side of an A4 ...
19 views

### Get value of global token register from local group

Given the following sample code: \documentclass{article} \newtoks\foo \foo={foo} \begin{document} \the\foo, \begingroup \foo={bar} \the\foo \the\global\foo % <-- fails \endgroup \end{document} ...
31 views

### How to force type X columns to wrap their contents when using \multicolumn command?

I got a table that has multicolumns within type X columns. In 'The LaTeX Companion', it is explicitly stated that "Any \multicolumn entries that cross any X column should not be used." Violation of ...
8 views

### Extra blank lines in reledpar within paragraph

I am formatting a facing-page translation using reledmac/reledpar and I am seeing occasional (apparently random) extra blank lines in mid-paragraph where there is no break in the source text. You can ...
14 views

### Help on glossaries.sty

My code are as follows: \documentclass{book} \usepackage[toc,nonumberlist]{glossaries} \begin{document} \newglossaryentry{algorithmic} { name=algorithmic trading, description={a type of trading ...
16 views

### Bilingual glossary

Sometimes, an article is written in a language other than English, and some essential terms are followed by their English counterparts, and at the end of the article is their a "glossary." Take "...
33 views

With beamer (from texlive 2018.20180824-1 on Linux/Debian/Sid; its beamer.cls mentions  2018/08/22 v3.51), I have a bad looking block. The corresponding LaTeX source is just \begin{block}{Halting ...
10 views

### Reduce the gap between arrow and molecule (node) in chemfig scheme

I have the following scheme. \documentclass[crop,trim]{standalone} \usepackage{pgfplots} \usepackage{chemfig} \usepackage{tikz} \usetikzlibrary{calc,positioning} \usepackage{amsmath,amssymb} \...
24 views

### Footnote in math mode: \footnotemark in math + \footnotetext does not work

Since directly typing \footnote{...} in math mode is not allowed, the common approach is to type \footnotemark in the math and write \footnotetext{...} after the math. However, when the math is ...
16 views

### Multicolumn list environment

I want to generate an environment that allows to establish the number of columns. I tried the following environment but I do not know if the \AtBeginEnvironment commands are compatible with \...
29 views

### How to delete redundant line breaks？

I'm using TeXStudio. I want to delete many redundant line breaks in my paper. I think one easy approach is searching the line breaks and then replace them with empty. However, how can I search the ...
21 views

### Longtable does not fit in page margins

I'm new to LateX and really struggling to get around the page margins. So I've been given a default template (I've made a few adjustments to preamble and packages) to write my dissertation by the ...
16 views

### Unable to format usb drive after of some partitioning problem [on hold]

I write a disk image to my pendrive and tried to make a partition in it. It was a complete failure. After that whenever I try to format the disk. It gets this error: Error deleting partition /dev/...
28 views

### Filling a region between circles using Tkz-Euclide

I am trying to fill the region inside the circle centered on C but outside the circle centered on B using TikZ or Tkz-Euclide but I am unable to do so. I just got help on a similar question and I ...
11 views

### tikz-qtree: adjust sibling distance for only one part of a tree

Is it possible to adjust sibling distance for only one part of a tree using tikz? For instance, if I want to make 6 and 7 farther apart in the following, but leave 3 and 4 alone, is there a way to do ...
86 views

### Filling region limited by circumferences using Tkz-Euclide

I am trying to fill the region enclosed by three circumferences (the little one in the middle) using TikZ or Tkz-Euclide but I am unable to do so, even after looking at several examples. Here's my ...
8 views

### Two different bibliopgraphies with different styles and sortings Vol.2

The answer of moewe appearing in this question is almost what I want to achieve: one bibliography containing online references which are numbered and sorted in order of appearence (nothing to change ...
8 views

### Captions and labels on long table [duplicate]

I've tried everything I can think of but longtable just won't allow me to add a caption and label to the top of the table. My table looks like this: But when I add in a caption and figure, ...
13 views

### Two authors in same line (article class)

I'm trying to put two different authors on the same line in my document. I've tried EVERYTHING but my document typesets them on different lines each. This is part of the document: \documentclass{...
14 views

### Define named coordinate along path with Tikz [on hold]

I am trying to name a coordinate along a path in Tikz. I've tried something like \begin{tikzpicture} \coordinate (A) at (1,1); \coordinate (B) at (4,7); \path (A) -- node[pos=.8] {...
11 views

### Forest: Node alignment

I have the following code sample with the "forest"-environment. \documentclass{article} \usepackage{lscape} \usepackage[edges]{forest} \usetikzlibrary{arrows.meta} \begin{document} \tikzset{ ...
9 views

### Why isn't moretexcs working here in \lstset or \lstdefinestyle?

I'm very puzzled by my failure to do something that seems very straightforward with the listings package, using the moretexcs key with \lstset or \lstdefinestyle. In the following, I successfully use ...
35 views

### figures won't start from 1

hello everyone i'm using a template on overleaf when i put my figures in chapter 3 they still count it as the the 4th figure even i deleted the all the figures before it they still count it this is ...
30 views

### Insert image between \title and \author

I am trying to insert an image on the title page between the actual title and the author. I tried using \titlepic{\includegraphics[width=70mm]{img/myimg.png}} but this always inserts the image after ...
252 views

### How do I render the word “Vǫlundarkviða” with bookman and xelatex? [duplicate]

Here's my MWE: \documentclass{article} \usepackage{fontspec} \usepackage{bookman} \usepackage[T1]{fontenc} % Thought this was unnecessary with XeLaTeX \begin{document} Vǫlundarkviða \end{document} ...
30 views

### Advanced customization of Minted code?

I'm a newbie to LaTeX, especially the minted package. I would like to customize it such that the code has a similar style to the attached screenshot. Specifically, I wish to be able to customize: The ...
56 views

### Local Package MikTeX

I had to uninstall my Laptops Windows, then re-installed the MikTex 2.9 and editors: TexStudio and TexMaker. However, in the first run, a notification window is popping my asking me to choose the ...
46 views

### 3D curve cut by a plane [on hold]

I'm looking for a way to do this kind of pictures with pgfplots. More precisely I need to make 2 pictures : one to draw any 3D shape with a vertical plane (with some transparency) cutting it or one ...
26 views

### plz anybody kindly solve this erro on latex// LaTeX Error: File `articles.cls' not found

i get the following error as shown in picture any body have solution of it
23 views

### Problem installing miktex tools bundle

I am trying to do page layout with miktex 2.9 (auctex front end) and am having trouble installing the tools package (in order to use the multicol environment). The hangup right now is that there is ...
22 views

### pgfplots - more symbols in same legend line (with same legend text)

I have the following PGFPlots (mini sample). \documentclass[11pt, a4paper, twoside]{scrreprt} % [11pt, parskip]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[colorlinks = true, citecolor=black, ...
13 views

### TeXShop Shift + Arrow Keys (text highlighting) not working

For some reason, in my TeXShop, the basic word processing tool of Shift+Arrow Keys (which highlights text, useful for copying and pasting) does not work. More specifically, the left and right arrows ...