# All Questions

237,861 questions
Filter by
Sorted by
Tagged with
35 views

### Geometry Package and Some Other Page Dimension Specifications

I wish to know if the geometry package currently support the following page dimension settings: That is setting up the following: 2=3 (to be set at 1in each); 5=6 (to be set at 4.6mm each), and 1=4 (...
• 330
1 vote
52 views

### Set first-line indent in custom-made enumerate-like environment

I want to create an environment for list items. I do not want to have these items as part of an enumerate, because I would like to be able to put anything between these items. So far I have been ...
46 views

### Defining a table template for a document

I am trying to create a document which automatically updates certain values according to an output from a python code. From this python code, it produces a latex table, which looks pretty basic. ...
81 views

### Implementing a very basic index from scratch

I am creating a document in which in the first chapter I define some concepts – each with its own dedicated paragraph (something like: concept one, concept two, concept three, etc.) – and in all the ...
• 143
1 vote
32 views

### Changing biblatex title

this seems quite simple, but the standard solution that I can find online, does not work. So I have this really simple document: \documentclass{article} \usepackage[utf8]{inputenc} \title{demo} \...
• 121
1 vote
27 views

### Wrong spacing after equation environment when using setspace package

MWE: \documentclass{article} \usepackage{amsmath} \usepackage[onehalfspacing]{setspace} \usepackage{lipsum} \setlength{\lineskip}{2em} \begin{document} \lipsum[2] \begin{equation*} a + b + \...
• 338
61 views

### Print sequence of property lists as table

I want to define two macros, that together should generate a table for an invoice. Add entries to a sequence. Does not generate any output. % \addentry{description}{quantity}{price} \addentry{Item 1}...
• 350
1 vote
22 views

### Get cline to cover space between column and previous column

\documentclass{article} \begin{document} \begin{tabular}{r||c|c||l} Hello & test & run & done\\ \cline{2-3} \end{tabular} \end{document} Gives this output: Hoped for output:
• 246
31 views

### Cross reference not able to find table, while example table is working

I am trying to reference a table. However I get the error: Reference `table:PortfolioSummary' on page 7 undefined I used an example table to see if that works, and it works. The example table and the ...
• 1
1 vote
64 views

### Nesting blochspheres in tikzpictures using the blochsphere package

I am using the blochsphere package (see 1) and I want to nest it in another tikzpicture, to work with several blochspheres. The manual tells one to put "nested=true" in the settings for \...
• 205
22 views

### Paragraph Numbering and Alignment

I am writing a report and looking to achieve two things; paragraph numbering per paragraph of my document, e.g. 1., 2. etc. bumping out the paragraph numbers as well as the section numbers into the ...
• 11
1 vote
59 views

### How can I create a new simple symbol, similar to the binomial coefficients?

I was wondering how to make a symbol that looked like $\binom{n}{m}$, except that instead of a bracket, it's a square box around the two symbols. Is this possible? If not, what is the closest I could ...
45 views

### Summation symbol operator with a parameter

I need a summation symbol with a parameter, which should be an operator, so it allows, for example, to use \limits. Up to now I have written one for each parameter: \DeclareMathOperator*{\sumP}{\...
• 1,916
15 views

### Overleaf is not compiling when using \begin{figure}

I am unable to include figures into my Overleaf-Document, and I have no idea why this is the case... This is what I am doing: \documentclass[a4paper]{article} %% Language and font encodings \...
58 views

### Coloring a world map

I'm trying to create a graphic with tikz on latex/overleaf of a world map based on regionally disaggregated data, so I want e.g. all countries that belong to Eastern Europe to have the same colour, ...
87 views

### How to change Windows path ('\') to LaTeX path ('/')?

Windows paths use backslash, but paths in LaTeX documents require foreslash. When copying filepaths from Windows Explorer they will contain backslash. I know that I could use a text editor using find &...
• 115
24 views

### Genealogytree: daughter-in-law with 2nd husband

I know how to build a tree where a son has two wives (with families). What I am struggling with is when the married son (with children) dies/divorces and his wife marries again and has a second family....
• 1
18 views

### Space between the list of figures and the first figure

I would like to reduce the space between the title figure and the first figure. This is my code: \chapter*{Liste Des Figures} \renewcommand\listfigurename{} \addcontentsline{toc}{chapter}{Liste Des ...
• 1
1 vote
54 views

### Bright Colors in Latex

Is there a package that helps produce colors like the one in the picture
• 1,025
34 views

### Making space between two tables

How can we make space between two tables, arranged in columns, where each table contains four columns? I have two tables with three columns each, but want four columns.
15 views

### Is there a possibility of writing length or width of measurements in latex as a sum or difference of 2 or more values

I wish to know if there exist a way in latex of writing the length or width of something as a sum or difference of 2 or more measurements e.g \parskip + \baselineskip, and/or \textheight - 5\parskip?
• 330
20 views

### How do you localize chapters, sections, table of contents, dates in Vietnamese?

I need help with this so if you could help that would be great, btw I'm using XeLatex.
• 83
24 views

### How to get a vertical line in math mode in Springer Nature Template

I am trying to get the following equation: To do so, I am using the code as shown below: \documentclass[pdflatex,sn-mathphys]{sn-jnl} \begin{document} $\mathbf{P(W|T)}$ \end{document} However, ...
• 320
158 views

• 551
35 views

### Package acro: How to increase line space between acronym entries

I am using the package acro for listing acronyms in my paper. It has no compatibility issues with my document class memoir, and is very easy to use. But, the default line space between acronym entries ...
121 views

### Why do I have to redefine ampersand in tabular?

I want to print the numbers 0,1,...,n-1 in a tabular environment. My first attempt resulted in the error Incomplete \iffalse; all text was ignored after line 19.. By "hiding" & (...
81 views

### Draw this picture in Latex template. (Complex 1)

Draw this picture in Latex template. (Complex 1) Draw this picture in Latex template. With respect With respect
25 views

### Is \hl incompatible with \textquotesingle? ("Cannot use \XeTeXglyph with ectt1000; not a native platform font")

The command \hl{\textquotesingle{}test\textquotesingle{}} (where \hl is from the soul package) yields the following error: Cannot use \XeTeXglyph with ectt1000; not a native platform font. \remove@...
• 141
107 views

### How to draw equations (not funtions) in LaTeX

I want to draw this equation in LaTeX using tikz (maybe with pgfplots): (x^2+y^2) + \frac{0.7}{\sqrt((x-0.3)^2+y^2)} + \frac{0.3}{\sqrt((x+0.7)^2+y^2)} = 2.5 This is from geogebra: I tried gnuplot: \...
• 327
65 views

### How can I reproduce this top / bottom layout? [closed]

Hi! I would like to make a Latex document that looks like this, with the same header on the top and the bottom. How can I replicate this ? EDIT: I tried this : \fancyhead[L]{Trinity Training 2011} \...
1 vote
43 views

### Remove ticks from axes and draw arrows on arcs

Question: Once you compile my codes, you will find the output like above pic. My question is whatever I made change manually with red color, How can I achieve that? Second question how to remove ticks ...
• 2,521
1 vote
15 views

### Place tag below long line in numcases

For math lines that fill the whole text width, the align environment places the tag below the line. The numcases environment, however, runs the tag into the margin. Is there a way to get the numcases ...
• 205
1 vote
98 views

### Inline graph notation with labels and colors

I was writing about flag algebra and came across Notation for flag algebras in graph theory, which gives the code for creating a new command that creates inline graphs. However, I'm unsure how to ...
1 vote
29 views

### TikZpictures as wide as columns in the figure environment inside of the multicol environment?

I have been writing a document that has a bunch of geometric figures in it. Each geometric figure is accompanied by some remarks. The remarks always immediately precede (i.e., appear above) the figure ...
92 views

### Spacing in macros with potentially empty subscript

I have the following problem of spacing not being quite right: This is produced by the following LaTex code: \documentclass[a4paper, 12pt]{article} \newcommand{\opens}[2][]{\restr{\mathcal{T}_{#2}}{#...
• 501
16 views

I am trying to create an unnumbered chapter (called "Lay Summary") and add it to the table of contents. I tried using \addcontentsline{toc}{chapter}{Lay Summary}, but this adds a link to the ...
45 views

### Automatically suppress claim number if there's only one claim

When writing a proof, I often need to include a claim, for which I've defined a separate environment. In my current set up, claims are numbered successively, with the numbering resetting within every ...
• 165
1 vote
33 views

### Hanging Indentation of Theorem Environments

I wish to have my theorem environments (theorem, lemma, corollary, definition) etc have a hanging indentation as follows: Theorem 1: This is the one, It should be emphasized that an option gives the ...
• 330
89 views

### Changing inner sep of tikz matrix without affecting the nodes inside it

This is related to Baseline of tikz picture within brackets but is a separate issue. Consider the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} % for "matrix ...
• 3,225
38 views

### Baseline of tikz picture within brackets

(Note: I've edited this question quite a bit because it turned out my original problem was caused by two separate issues, so I'm separating them into two questions. The other question is Changing ...
• 3,225
71 views

### Mistakes on a diagram see in TeX.SE

What is the reason this code not working? \documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \[ A \arrow[rr, bend left] & C \arrow[rd] & E \\ B \arrow[rr, bend right] \...
• 46.4k
19 views

### How many form to inserting one imageof inksapce to one document in overleaf have exist? [closed]

%LaTeX with PSTricks extensions %%Creator: Inkscape 1.0.2 (e86c870879, 2021-01-15) %%Please note this file requires PSTricks extensions \psset{xunit=.5pt,yunit=.5pt,runit=.5pt} \begin{pspicture}(1122....
35 views

### horizontal centering within \valign cells

I'm trying to use \valign to make an array of items. (See my self-answer to another question.) I'm doing this because I want to specify the items per column instead of per row, and because I want ...
• 3,225
103 views

### Understanding implicit error on a recursive function

I was originally following the idea from Garrick Peschke To import all .tex files inside a folder, but I want my Lua function to also search inside subfolders. Unfortunately I can't make the Lua ...
• 31
22 views

### Why \vspace in itemize environment will produce extra unwanted space when the line is full?

I wish to use \vspace with after key in enumitem to add extra spacing after itemize environment. However, I found that when the last line in itemize environment is full, \setlist{after=\vspace*{1ex}} ...
1 vote
35 views

### automatically adjust the width of align environment

I want to make an environment, say myalign, that is similar to align environment, but satisfying the following additional requirements: myalign enables tag, and myalign* disables it If the width of ...
• 591
1 vote
36 views

### How do you automatically wrap text in the \verb||-like environment -- that is, in-line, and without requiring a line break before and after?

This is my first question on any StackExchange site, so please bear with me. I am writing code for a paragraph of normal English with little bits of code spliced in. Initially I wrote something like: ...
58 views

### Special characters in a glossary entry cause an error if printed uppercase

I have a glossary entry that defines a word beginning with a special character "ś". Unfortunately I need to use this entry at the beginning of a sentence so it must be written uppercase. ...
• 207
41 views

### How to get "Theorems 1 to 6" when Theorems 3 to 6 are in the appendix rather than in the main body?

Consider the following MWE: \documentclass[]{article} % PACKAGES LOADING \usepackage{amsthm} % THEOREM DEFINITION \makeatletter \newtheoremstyle{style1}{\topsep}{}{\itshape}{}{\scshape}{}{ }{\...
• 2,101