All Questions
259,715
questions
0
votes
0
answers
2
views
How can I set an inserted float object to go over the bottom of the page?
How can I set an inserted float object to go over the bottom of the page? For example, if I insert an image, it is not a problem that it goes over the left or right margin, but if it is in a float ...
0
votes
1
answer
3
views
Capitalize "ibid." produced by \runcite biblatex-chicago
"id." is not properly capitalized when produced with \runcite from biblatex-chicago.
MWE
\documentclass{article}
\usepackage[notes, backend=biber, useibid=true]{biblatex-chicago}
\...
0
votes
0
answers
10
views
How to draw leftright arrow in a table
I have no idea how to draw a leftright arrow in a table, this arrow should look like here
Here the code for the table
\begin{table}[]
\caption{}
\label{tab:arrow}
\begin{tabular}{llllll}
...
0
votes
1
answer
8
views
How to color text after pausing in beamer?
I want to highlight a particular text in a list after all the text has appeared. So for example, I want the slides in this order:
\begin{itemize}
\item this is text 1
\item this is text 2
\end{itemize}...
0
votes
0
answers
8
views
how to separate the structure and style of a table in a .cls file, and pull the contents to populate the table from another file?
I have the file 'poscomp.cls', which contains the table:
\begin{table}[hbt!]
\ifthenelse
{\equal{\@nivel}{mestrado}}
{{\textbf{CRONOGRAMA DE ELABORAÇÃO DE DISSERTAÇÃO – ANO 1}}}
{{\textbf{...
2
votes
1
answer
17
views
luatex tex.sprint'ing \SetCell produces different result
I will be making a wrapper around tabularray's \SetCell macro using lualatex. Using tex.sprint to produce \SetCell[c=2]{c} however produces a different results than typing it in out directly. Any ...
2
votes
1
answer
36
views
How to know for certain in expansion-contexts the moment when the result of a fully expandable expl3-function is there?
There are a lot of functions provided by the expl3 programming environment that in interface3.pdf are marked with a black asterisk (fully expandable) or with a white asterisk (restricted expandable).
...
0
votes
0
answers
11
views
page numbering order for table of content, list of figures, list of tables, and nomenclature
I don't know how to fix the order of page numbering for table of contents, list of figures, list of tables, and nomenclature. I use \renewcommand to change the Arabic numbers to Roman; however, for ...
3
votes
1
answer
12
views
ConTeXt: Switching font for both `\title` and `\subject`
I am trying to change the font for two levels of headings, \title and subject in ConTeXt. Although the code for changing the font for titles is not different from the one for changing the font for ...
1
vote
0
answers
6
views
List of figures Appendices
I succeeded in making a separate list for the appendices for the table of contents, as follows:
\usepackage[titles]{tocloft}
\newcommand{\listappendixname}{Contents Appendices}
\newlistof{appendix}{...
0
votes
0
answers
18
views
Dealing with 3D-plots: change the numeric range
It's the first time I've dealt with 3D plots. I would like to reproduce something that is as similar as possible to the one in the picture. Since I'm not very expert, I don't know the equation of the ...
1
vote
1
answer
22
views
How to set a image in the header via fancyhdr?
I am veeery new to LaTeX but I am encountering a very weird issue, because I need to have the header, on only the first page, as shown in the screenshot. And the Univeristy provided a rectangular ...
4
votes
2
answers
40
views
macro to change line color in tikz
I am new both to tikz and macros in latex and appreciate your help. I have a simple code for two similar diagrams as follows:
\documentclass{article}
\usepackage{tikz}
\newcommand\tpdrrr{
\tikz{
\...
0
votes
1
answer
19
views
Add to TOC some section of table
I use a long table "longtblr" which spreads on 5 pages. The table is under \section.
The table has several topics with many parameters : that means 10 rows about ITEM_a , and 30 rows about ...
3
votes
2
answers
29
views
vertical align text in tabularray with tikz node inside
I would like the text in cell vertically center but it stay at the bottom. The rowspec looks like not take effect. The m should be vertically center.
\documentclass{standalone}
\usepackage{tabularray}
...
2
votes
2
answers
68
views
Mind maps not letting me have more than 6 siblings
I am trying to make a mindmap but it only seems to let me have 6 siblings no matter what angle I put in or even make the distance bigger to make more room:
\documentclass{article}
\usepackage{tikz}
\...
0
votes
0
answers
47
views
Strange result in \left \middle \right
the code \left(1_Q\middle|\right) gives the result shown below. Shouldn't the construction \left, \middle, \right produce the parentheses and the vertical bar of the same height?
0
votes
0
answers
53
views
Why is dehyph a required package?
Since my document is not written in German, I thought I would uninstall the dehyph package.
But apparently this package is required when running pdfLaTeX. Why? What does it contain that it is so ...
0
votes
0
answers
71
views
How to separate words in TeX without a space? Can I mark word boundaries without spaces?
I want to be able to tell TeX that here is a word boundary without using spaces. And I want TeX to decide on adding space at the designated word boundary or not.
For example:
I want to remove spaces ...
1
vote
0
answers
39
views
Error in a table : "Missing number, treated as zero"
when I compile my table, I get the error "Missing number, treated as zero."
I looked, it tells me I added a zero but I can't find it in the table so I can't see what's wrong in my code.
\...
1
vote
2
answers
72
views
How to Code Adjacency Matrix
do you know how to code this in latex?
0
votes
0
answers
7
views
How to change sidenote's fontsize in kaobook
The title pretty much says it, how could I change the sidenote's fontsize in kaobook? Is there a parameter for it on documentclass or something?
Thanks a lot,
Rodrigo
0
votes
1
answer
17
views
How to add a custom ToC entry with a page number outside the document using memoir?
How can I add custom ToC entries that refer to pages after the last page of my document? The company that prints it requests the appendices as separate PDFs, but I'd like the ToC to refer to them ...
3
votes
2
answers
80
views
How to make the numbering non-italic in a theorem environment?
A typical theorem in my document looks like
I would like to have the labels (A1) and (A2) non-italic. IMHO, this would be more aesthetic because these label would align with Assumption 1.1.. Thank ...
1
vote
1
answer
29
views
pgfplots: only integer numbers and only ticks at integer places on the x-axis
I want to create xbar-diagrams like this, but I want to set
only integer numbers at the bottom x-axis (no 0.5, 1.5, 2.5, ...) and
only ticks at the places of integer numbers (no ticks at 0.5, 1.5, ...
0
votes
0
answers
29
views
Getting Date from week number automatically for a specific year
Is there a way to automatically output the date based on the week number?
More precisely: I enter the week number for a specific year and as an output I get the date from Monday to Sunday?
There are ...
0
votes
0
answers
29
views
Rendering jupyter notebooks to PDF using LaTex generates unwanted characters?
Cross-posting on SO: https://stackoverflow.com/questions/78337970/fix-rendering-issue-when-converting-jupyter-notebooks-to-pdf. I bring this question over TeX sub as it may be also relevant and ...
0
votes
0
answers
29
views
`xdvipdfmx:fatal: Unrecognized paper format` after upgrading to TeXLive 2024
Can anyone tell me where to look to start diving into this situation? I upgraded my TeXLive and noticed that it's getting a big update (TeXLive 2024) and suddenly everything stops compiling. The log ...
1
vote
2
answers
30
views
Repeat \maketitle with exactly the same style and parameters
I am trying to create a document that will, at some arbitrary point, repeat the title from the front page.
\documentclass[a4paper,anonymous]{lipics-v2021}
\title{My Paper}
\titlerunning{paper}
\...
0
votes
1
answer
35
views
Problem with reaction mechanism in chemfig
Why these two arrows aren't in their places? First two chemmoves lines are in properly positions, and other two are something else and I can't find a problem in code. I compiled it few times.
Also I'd ...
2
votes
1
answer
23
views
tikzpicture doesn't fit into table due to "?" symbol inside the object
I'm trying to get a table in a diagram to look decent, but the object\tolabel seems to overflow the radius of the circle, which makes the table look unaligned.
If I change the last object for another ...
1
vote
1
answer
19
views
How to position mdframed environment at the top of a page, without topmargins being decreased?
I have a document which uses a simple custom environment for algorithms, using the mdramed package.
Some times I want an algorithm to be placed at its position in text, and other times I would like an ...
6
votes
2
answers
156
views
I have an array inside of equation and aligned, not recognizing math mode
I am trying to create a bracket enclosed matrix where the rows and columns are labeled. My attempt is:
\begin{equation}
\begin{aligned}
&\begin{array}{*{7}{p{.8cm}}}
\...
0
votes
1
answer
26
views
Image float to next page keeping margin rule in tufte-book
I am using the tufte-book template and I am having a certain issue when images float from a page to another, as I am using the raggedouter option for marginals in the document class.
I already tried ...
2
votes
0
answers
54
views
incorrect cross-reference to an item in an enumerated list with bespoke labels
This posting is inspired by a recent query that asked a related, but not identical, question.
Suppose that one wishes to display the labels of an enumerated list as if they were equation numbers (with ...
0
votes
1
answer
78
views
How to plot a function in integral with ln function with TikZ?
how to plot the function
$f:x\mapsto
\int_0^{x}\frac{1}{\sqrt{1+t^2*ln^2(t)}}\, \textrm{d}t$
with TikZ?
tnx
5
votes
2
answers
198
views
Quantikz not compatible with tikz-cd?
I want to draw quantum circuits and commutative diagrams, so I want to use the two packages quantikz and tikz-cd.
But somehow quantikz overwrites tikz-cd. Take a look at this code:
\documentclass[11pt,...
0
votes
1
answer
31
views
Text above bonding and bond angle
Taking this pictures as example, how can I display r_1, r_2 and theta_1 in my 'ABC' molecule in a similar way?
\documentclass[12pt]{article}
\usepackage{chemfig}
\begin{document}
\begin{figure}...
0
votes
0
answers
46
views
How to create hyperlinks in Plain TeX that points to exact positions of labels in another file?
Problem
Cross-file hyperlinks always bring me the first page of another file, while I expect the links to bring me to the exact label position (or text) in the target file.
Reproduction Steps
...
0
votes
0
answers
12
views
Separate table of contents Appendices
For my report, I need a separate table of contents for my appendices. After contacting the helpdesk, they provided me with this code, which indeed works :) ;
\usepackage[titles]{tocloft}
\newcommand{\...
4
votes
2
answers
72
views
Change the font size of siunitx output
When writing numbers with units using the siunitx package, \SI{1064}{\um}, the numbers and units are noticeably smaller than the text, however the mu seems to be the correct size. I am using Verdana ...
1
vote
1
answer
47
views
Putting an enumerated list on an equation counter
I would like to put certain enumerated lists on the same counter as my displayed equations. Can anyone suggest how I can do this?
Close to minimal working example below.
\documentclass{amsart}
\...
1
vote
0
answers
31
views
Fix first (two) questions with McExam package
I am writing an McExam with the McExam package with multiple versions. The first two questions are supposed to read
\documentclass{article}
\usepackage{mcexam}
\begin{document}
\begin{mcquestions}
\...
2
votes
1
answer
31
views
customized marker (pgfdeclareplotmark) with color as argumeent
I am trying to customize the shape+color of a marker for a scatter plot. Everythink works when I hard-code the color (e.g. red):
\documentclass{article}
\usepackage{pgfplots}
\usepackage{xcolor}
\...
0
votes
1
answer
20
views
How to change font size **only** for \lstinline{}?
At first sight, this may look as a duplicate of another question already closed as a duplicate of this one. But it isn't ;-)
How do I set globally the font size of all \lstinline macros, independently ...
0
votes
2
answers
46
views
Multiple columns with different widths - complex layout
I am having troubles typesetting more complex layout that consists of multiple columns with different widths and vertically rotated text.
Layout image
I've trield multiple packages such as \multicol \...
3
votes
3
answers
101
views
Separate columns in matrix by bar
I would like to create something similar to this in my document. I have tried using nicematrix so far but cannot get it to work. Thanks in advance:)
3
votes
1
answer
68
views
How to use hyperref new color scheme?
In a previous question on this site (better default colors for hyperref links), Ulrike Fischer said that a new colorscheme option will be provided for the hyperref pacakge, four years ago.
It is also ...
1
vote
1
answer
33
views
File ended while scanning use of \next. Exam format
I have a problem in my LaTeX file that I wasn't able to solve with my google-fu. Most answers to the same error say that \end{frame} may not be indented. I do not use \end{frame}.
My goal
I want to ...
0
votes
0
answers
36
views
Compilation and output.lof errors when Figures are inserted
I am currently writing my thesis and all was going well until I reached a chapter that required a lot of pictures and little text. The majority of the pictures were placed next to each other with the ...