All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Aligned nested enumerate

I'm trying to create a nested enumerate items as shown below. I cannot get the second level labels to align with the first level labels. Is there way to do this cleanly? \item $\text{ }$\vspace{-0....
user avatar
  • 101
1 vote
0 answers
12 views

confused about babel australian/british/american hyphenation differences

I'm quite confused about hyphenation differences between the different English variants. I tend to use australian as my default language, but I notice that this often does quite poorly at hyphenation. ...
user avatar
  • 23.5k
0 votes
0 answers
12 views

Enumerating two equations with them having only one reference number

I am currently trying to write a paper. The Format i have to adhere to is for more then one equation: that they should have one reference number, they need to be enumerated. I have the easy solution:...
user avatar
  • 1
1 vote
1 answer
18 views

Getting the width of bold text in node

I'm creating a box for theorems, I need to calculate the length of the title to cut the top of the frame in order to not cover my title. The code works but if I replace #3 \arabic{#1}##1 by \textbf{\...
user avatar
  • 63
0 votes
0 answers
20 views

Remove space after symbol [duplicate]

How can I remove the space after a symbol? The question comes from this example: \documentclass[a4paper]{article} \begin{document} GD\& T \end{document} will be typeset ...
user avatar
1 vote
1 answer
9 views

How to change the colon to a comma after the vol.(num.) in bib-file or .tex file?

I need to use a comma instead of a colon between the volume and the page numbers in the references. How can I achieve this directly in the bib-file or alternatively directly in my .tex file? \...
user avatar
0 votes
0 answers
19 views

updated version of expl3 package

Apparently the LaTeX of the machine I use is hold, and not all functions described in the LaTeX3 documentations are available for me. (I call it via \usepackage{expl3}) Ok, it is better to upgrade ...
user avatar
0 votes
0 answers
5 views

How to disable rendering of certain package content (draft mode)

I'm using the tikz-cd package for drawing commutative diagrams. Now I want to disable the rendering of the content produced by this package similar to the behaviour when importing the graphics package ...
user avatar
  • 53
0 votes
0 answers
12 views

bib file from a bbl file and source bib

This has possibly been asked before, but I couldn't find any answer. Some editors would like to have the bib file corresponding to the paper (so they process the bbl to their liking). For personal ...
user avatar
0 votes
0 answers
13 views

ChkTeX does not handle lines over 509 bytes correctly

When longer paragraphs have no line breaks in the middle, I get the warning: chktex: WARNING -- ChkTeX does not handle lines over 509 bytes correctly. Some errors and line numbers may be wrong in this ...
user avatar
0 votes
0 answers
21 views

Keeping a single bibliography up to date in Overleaf

Say I have many similar projects running at the same time. I want to use the same bibliography for each project, so far I have just been updating one and copying it into the other projects. However ...
user avatar
2 votes
1 answer
29 views

Regarding the DEPENDS.txt in CTAN upload

Recently I got a suggestion from one GitHub issue that I should add a DEPENDS.txt to my packages, and I am planing to do so. However, there is one thing that confuses me. Suppose that there are two ...
user avatar
  • 4,515
0 votes
1 answer
12 views

How to change the size of emojis in the twemojis package?

How can I change the size of emojis from \usepackage{twemojis} ?
user avatar
  • 139
0 votes
0 answers
16 views

Disable LyX preamble

In LyX, I would like to know if there is a way, for a given document, to disable all parts of the preamble that LyX adds automatically, leaving only the user-defined preamble before compilation occurs ...
user avatar
3 votes
3 answers
58 views

The idea behind the \outer primitive

It seems that this primitive was designed for the purpose that in case programmers forgot to put } in the end of the definition of a macro (in this case, TeX thought all characters until the end of ...
user avatar
  • 2,555
0 votes
0 answers
52 views

Why are my footnotes using symbols instead of numbers?

I want my footnotes to be numbered with Arabic numbers. However, they have symbols instead of Arabic numbers. Although I've inserted the code \renewcommand{\thefootnote}{\arabic{footnote}} the ...
user avatar
0 votes
0 answers
19 views

Package fontspec Error: The font "Lato-Lig" cannot be found. \setsansfont

I get this error Package fontspec Error: The font "Lato-Lig" cannot be found. \setsansfont when I run this code: %!TEX TS-program = xelatex \documentclass{article} \usepackage[hmargin=1.25cm,...
user avatar
2 votes
3 answers
53 views

How to add an equal sign between two nodes in tikzpicture

How can I add an equals sign between the leftmost "A" and the next "A" to the right? Here's what I have so far: \usepackage{graphicx} \usetikzlibrary{arrows,shapes,decorations,...
user avatar
0 votes
0 answers
18 views

Multiple subfigures show under the page instead of on the next page

I have used the following to show five figures, but there are two problems which I think happen because the total size of all five figures is too large. First, the figures are not placed exactly where ...
user avatar
0 votes
2 answers
35 views

amsmath: Erroneous nesting of equation structures [duplicate]

\[|{{e}_{j}}\rangle \langle {{e}_{k}}|=\begin{matrix} 1 \\ {\begin{align} & \vdots \\ & j \\ & \vdots \\ & n \\ \end{...
user avatar
2 votes
1 answer
91 views

Clockwise and counterclockwise path around the origin

I want to draw the following At first I thought of doing something like a dipole but then I realized that it was not like that, it is just a curve that returns it to the origin of coordinates in a ...
user avatar
  • 305
0 votes
1 answer
54 views

Why doesn't the new command work? [closed]

\documentclass[12pt]{article} \usepackage[T1]{fontenc} \newcommand*{\QEDA}{\null\nobreak\hfill\ensuremath{\blacksquare}} \begin{document} test \QEDA \end{document} The error says "undefined ...
user avatar
  • 91
0 votes
0 answers
14 views

Removing page numbering on the Continued float two page figures in Overleaf

I have two pages consisting of two groups of related figures using the floating commands. I want to remove the page number on the second page of these two. I have tried this page using afterpage and ...
user avatar
  • 101
0 votes
1 answer
21 views

Use different languages for glossaries-extra (but only one at a time)

Is there a possibilty to include multiple languages (but only use one language at a time) to acronyms produced with glossaries-extra as shown in my MWE: % !TeX program = lualatex \documentclass[...
user avatar
  • 443
-2 votes
0 answers
29 views

the file is open in pdftex- extension of knuth's typesetting program Tex in texmaker [closed]

the file is open in pdftex- extension of knuth's typesetting program Tex. tex file not found intexmaker
user avatar
0 votes
0 answers
28 views

How do I make titles in a biblatex bibliography be formatted as Latex?

I'm attempting to create a bibliography using biblatex in overleaf. My issue is that some papers use latex themselves to format their titles. I don't know if there is a better way of formatting or a ...
user avatar
  • 1
-1 votes
0 answers
45 views

Creating illustrations in LaTeX [closed]

I saw a picture in a paper. What package has been used for creating this illustration?
user avatar
  • 61
0 votes
0 answers
9 views

Translate "Algorithm" in the caption in beamer

I use the algorithmic and algorithm packages for algorithms in Beamer and I want to translate the word "Algorithm" in the caption as in this Question. This solution doesn't work in Beamer.
user avatar
5 votes
3 answers
209 views

How to write a command that includes a figure?

I would like a shorthand command to include a figure. Description and filename are mandatory Short caption is optional Optional arguments can be passed to \includegraphics Here's the snippet I am ...
user avatar
  • 979
0 votes
1 answer
52 views

Latex Beautiful showcase [closed]

How I can create the font to showcase in Latex? attached : exmaple font.enter link description here
user avatar
2 votes
3 answers
45 views

Resizing table in beamer for readability

I have inserted a table, originally from Excel, into a Beamer presentation. The table does not fit into the frame and I used resizebox to make it fit. This renders the table unreadable. Is there a ...
user avatar
0 votes
0 answers
50 views

How to add label to bent arrow?

I use this code: \begin{tikzpicture} \node[place, accepting, label=above:$p_1^1$] (p11) at (-3,0) {}; \node[transition, minimum width=1.5mm, ...
user avatar
  • 1
0 votes
0 answers
29 views

Cross-Refs: Sublabel-Skipping Variants as Optional Command Arguments

While cross-referencing linguistic examples, I am using zref to define commands for referring to pairs or ranges. For each command I have two "skipping" variants mainskip and maxskip, meant ...
user avatar
1 vote
1 answer
18 views

Help with newenvironment for unnumbered theorems

First I tried this \newenvironment{axioma}[2]{\newtheorem*{#1}{#2} \begin{#1}}{\end{#1}}. It did not work. Then I tried \newenvironment{axioma}[1]{\newcommand{\axiomhead}{\newtheorem*{kkk}{#1}} \...
user avatar
2 votes
2 answers
169 views

How to use U+1F54A (DOVE OF PEACE) with pdfLaTeX?

How can I use U+1F54A DOVE OF PEACE in my document, especially with pdfLaTeX and not LuaLaTeX?
user avatar
  • 139
-1 votes
0 answers
31 views

Need help animating these figures with Tikz in Beamer

Can someone help me to animate these figures with Tikz in Beamer?
user avatar
  • 1
1 vote
2 answers
29 views

pgfkeys - is choice + value pass to graphicx

I'm trying to implement a macro which is a wrapper over the graphicx \includegraphics command (because I'd like to pass the parameters for cropping in a key-value fashion). While doing so, at first I ...
user avatar
  • 393
0 votes
0 answers
19 views

The figure/(table name) is on the page header by use fancyhdr, How to solve it?

The is black line is page header line. \usepackage{fancyhdr} \usepackage{cctbook} in the preamble. \pagestyle{fancy} \fancyhead[CE]{\songti 一维二维}\fancyhead[CO]{\songti 为了部落} I insert the figure or ...
user avatar
1 vote
0 answers
23 views

Using TexStudio with unicode - incorrect cursor position

I find myself becoming a fan of using more and more unicode as it make source files way more readable. In my favourite editor TexStudio I am facing a slight annoyance: some unicode characters are ...
user avatar
-1 votes
2 answers
72 views

How to draw Markov chain paths with LaTeX

I am trying to draw something like this in LateX (also with more steps): Alternatively I could create this somewhere else and put it as a figure into latex, but I would prefer LaTeX. I think TikZ is ...
user avatar
  • 1
4 votes
2 answers
176 views

After changing the catcode of the escape character `\`, why can this code still be compiled successfully?

I read some macros of manmac.tex, when I read this code snippet % (now Appendix E resumes again) % macros for verbatim scanning \chardef\other=12 \def\ttverbatim{\begingroup \catcode`\\=\other \...
user avatar
  • 2,555
0 votes
1 answer
44 views

Can't colour the right rows table

I have made a table with a table generator. I want the two first rows to be white, the following row to be grey and white intermittently. This is the code I generated: Preamble: (long since this is a ...
user avatar
  • 1
0 votes
0 answers
12 views

Synctex problem with exsheets package

If I use forward or backward synctex within the question environment of exsheets package it points out the whole exercise and not precisely the wanted line inside the environment. This is a minimal ...
user avatar
0 votes
0 answers
15 views

Overleaf: error compiling in a popup window

I was trying to use a method detailed in this answer by Jonas Metzger on the browser Brave, I have not tried on other browsers. I recieve the following error while clicking the button: Uncaught ...
user avatar
-1 votes
1 answer
34 views

Pgfmath code conflict

I am using the following code, and it works except for the custom macro \QuadraticEquations. However, it works in a stand alone file. Am I missing something obvious? \documentclass{article} \...
user avatar
  • 1
2 votes
1 answer
39 views

Draw dots on specific points of a line

With the contribution of a kind user : it has been possible to reproduce this scheme : Using this code : \documentclass[margin=3mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}...
user avatar
  • 25
1 vote
1 answer
112 views

Simplify a TikZ code

Is there a way to simplify this code, obtaining the same tikzpicture? (Simplify: I mean reduce code length, e.g., add more \begin{scope}...\end{scope}, …) \documentclass{article} \usepackage[a4paper,...
user avatar
  • 793
0 votes
0 answers
32 views

Does tikz collide with certain packages?

Don't know where to start. When I use a large preamble I can draw some straight lines in tikz but then it stops drawing without error indication. Also the first example at https://tikz.dev/tutorial ...
user avatar
0 votes
1 answer
18 views

Wrapfig after subsection near page break

I know wrapfig has problems with images near the bottom of the page, but I want to know if there is a solution (even with a different package, for example with minipages). This is my MWE: \...
user avatar
  • 33
8 votes
1 answer
405 views

Garamond Italic font: First capital letter looks strange

I am using the Garamond font, included by the fontspec package: \usepackage{fontspec} \setmainfont{Garamond} In my opinion, the first capital letter in italics looks strange. It does not fit to the ...
user avatar
  • 267

15 30 50 per page
1
2 3 4 5
4683