All Questions
253,822
questions
0
votes
0
answers
4
views
Add custom table headers in table of content using tocloft
I'm new to latex and this is my first time using it to write my report. I want to style my Table of contents and list of figure like the following images-
table of contents-
list of figures-
I ...
3
votes
0
answers
18
views
Expansion in precompiled l3keys
I'm having some issues with expansion in precompiled l3keys. I'd like to define a command \NewThm{<name>}[<options>] that sets the displayed theorem name to be a titlecased version of the ...
0
votes
0
answers
33
views
Defining functions
In LaTeX, one can declare functions in documents using the \newcommand or \newenvironment commands. Here's how one can define a simple function and an environment.
\newcommand{\myfunction}[2]{...
1
vote
1
answer
13
views
How to keep titlepage centered when using tex4ht?
This is tex4ht issue only.
I use \begin{titlepage}...\end{titlepage} in some documents. After I started using p {text-align:justify; } in my configuration for tex4ht, I noticed now all the titles are ...
1
vote
1
answer
14
views
Align items horizontally to equation above
I have an equation and a list explaining notation below.
Issue: I want the items to have the same margin at the left as the equation. See picture and MWE below.
MWE
\documentclass[10pt,usenames,...
0
votes
0
answers
16
views
Comment décaler les numérotations item a gauche
Merci de m'aider à régler le problème de décalage à gauche des bullets et des listes dans un théorème, comme vous pouvez voir sur l'image jointe.
Merci.
\begin{itemize}
\item
\item
\end{itemize}
me ...
0
votes
0
answers
32
views
Can you identify this script font?
When reading a book, I saw a script "I" (capital i) of a font that I haven't been able to identify. It looks like this:
Does anyone have an idea what font this is? I would like to use this ...
2
votes
2
answers
49
views
Detect catcode of next character?
I use only lualatex, but I suspect this is a general question, having something to do with core TeX.
Is there such a thing as \ifnextcatcode ? Pseudo-code:
\def\wanted{\ifnextcatcode{12}{\dothis}{\...
0
votes
0
answers
6
views
What is the recommended way to cite papers in LNCS volumes in Bib(La)TeX?
What is the correct way to cite papers that appear in volumes of "Lecture Notes in Computer Science"? These papers appeared at various conferences.
Using @inproceedings separates "...
0
votes
0
answers
13
views
Cite a reference with the possibility of opening an internal pdf file at the right page number
I want to cite a reference in my document with the possibility of opening this reference, which is stored as a pdf file in my directory, on the right page.
It should look something like this:
[1, ...
1
vote
1
answer
13
views
XCharter font with otfmath option does not set footnotes inside tcolorbox as superscript
I have the following problem, which took me some time to drill down to a MWE.
The point seems to be that tcolorbox sets footnote marks in italic shape inside tcolorboxes.
When using XCharter as the ...
0
votes
0
answers
6
views
How do I get gsl to work in Asymptote?
I hope I can ask this question here. I have downloaded Asymptote from windows-binaries and want to run an asy-program that contains the row (it has worked a long time ago)
import gsl;
But that seems ...
0
votes
0
answers
12
views
It is possible to change alignments while changing the width of the row in a table?
I want to Center the content of "Critico", "Alto", "Medio" & "Bajo", but "Total" I want it to right.
\begin{tabular}{m{3.41cm} m{3.41cm} m{...
0
votes
1
answer
42
views
Functions with Expansion Protection when working with Section Headings
I would like to understand why defining new section heading would require function to have protection from expansion.
2
votes
2
answers
46
views
Adjusting the height of math floor symbol
Recently I started to play with LaTeX again just to train for when I have to use it again.
I like to write mathematical formulas and I am trying to nail down floor and ceil symbols with fractions.
...
0
votes
0
answers
18
views
landscape longtblr with tabularray and multi page in standalone environment
I'm using the longtblr environment of the relatively new package tabularray to typeset a very long table that spans several pages, and I'm also using the standalone package to alter it in a isolated ...
0
votes
0
answers
7
views
How to get parenthetical page links in bibliography entries?
This is the bibliography from the DiT-3D paper.
Does anyone know how to replicate the individual bibliography items to have hyperlinks referring back to individual pages?
1
vote
0
answers
37
views
is it possible to parse the main.synctex.gz by myself [duplicate]
Now I am genreate the latex synctex file main.synctex.gz, is it possible to parse the file by myself? I want to pass the file path\line number\column number, to get the element in which page of pdf, ...
0
votes
0
answers
5
views
Help With Custom Appendix Header
I have found a nice header for my appendix here in StackExchange. However, I have a problem. It numbers the chapter in my toc and I don't want that. This is my preamble:
\usepackage[titletoc]{appendix}...
0
votes
1
answer
20
views
How to bottom-align the contents of every cell in a column?
How do I define a column type so that, in a table, in every cell of every column of that type, the contents is bottom-aligned? (This contents is some text, not an image.)
I don't want every cell in ...
0
votes
0
answers
18
views
the bibliography doesn't show up
so this is what ive got in my preamble:
\usepackage{biblatex}
\addbibresource{references.bib}
and in the document environment i got this: \printbibliography.
this is my references.bib file:
@book{...
0
votes
0
answers
11
views
Height of Textfields in tabular enviroment
I am using lualatex to make a form with aligned input fields. I want a single line for Name and four lines for Address. This is my working example:
\documentclass[12pt]{scrartcl}
\usepackage{hyperref}
...
0
votes
0
answers
41
views
How to write 𝑓/aperture in LaTeX?
For example you can write f / 1.1 or \it{f}/1.1 on the LaTeX directive, for example,
Do you have any better suggestions; best results on LaTeX show 𝑓/apertures how many.
1
vote
1
answer
14
views
Add an additional line in a cell in a table
I have the following problem: I am creating a table that i would like to print and write into it by hand. For that use i need the following. I want some cells to be divided by a diagonal line. However ...
0
votes
1
answer
49
views
How to make `friends of 10' math tiles on overleaf
I would really like to create these pictures to help with fractions. I know how to begin using tikz package. I am not sure how to go about setting it up so that I do not have to draw it separately ...
0
votes
2
answers
26
views
Longtable: multicolumn with itemize environment does not work (error message)
I would like to merge the two columns ("Nanofiltration" and "Reverse Osmosis", see image) to one column for both cells and centered.
However, multicolumn does not work:
! LaTeX ...
0
votes
0
answers
8
views
How to set max of y axis on bar chart
I tried many solutions which were about similar question, but nothing helped... I have a bar chart in Latex, which contains values from 2 550 to 18 016. I want to have numbers on y axis: 0, 5 000, 10 ...
0
votes
0
answers
25
views
Highlighting references included with \nocite
When working with \nocite and \citep and creating a bibliography with \bibliographystyle{agsm}, how can I highlight references included in the reference list with \nocite(but not those with \citep) ...
0
votes
0
answers
13
views
How do I format a range of pgfplotstable columns individually
here How do I format a range of pgfplotstable columns at once?
the code is very clever assigning formatting to selected cells. however, I would like to set individual formatting to selected cells, ...
3
votes
0
answers
33
views
Java blocking arara
Experiencing what appears to be java blocking arara when typesetting using TeXShop on the following code when run on an M2 Mac with Ventura OS:
% arara: lualatex: { synctex: on }
% arara: lualatex: { ...
1
vote
1
answer
81
views
Protected Restriction
Have seen
\cs_new_protected:Nn \feuds_newteorema_define:nn
Is this just a definition of a function named \feuds_newteorema_define (taking two arguments as far as I can tell), Or is it something else ?...
1
vote
2
answers
19
views
Longtable itemize environment adds unwated topspace above first item
how can I get rid of the space above the itemize environment in a (long)table cell?
I use
" \begin{itemize}[noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt] "
but it doesnt do the trick.
\...
-2
votes
1
answer
81
views
Tikz: Crop the top of a tree. Snap the resuling bounding box to the tree
\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikzset{
actor/.style={
circle,
draw,
minimum size=10mm
}
}
\begin{figure}[h]
\centering
\begin{tikzpicture}[...
0
votes
0
answers
26
views
I want to display text at a certain position relative to the current line
For example, I want to display an 'X' at the top left corner (10pt, 5pt) of the current line.
Is there something like:
\begin{textblock*}(\Currentx-10pt,\Currenty+5pt){X}
0
votes
0
answers
33
views
Character f in maths mode [closed]
I read through many posts regarding problems with the character "f" in maths mode but I'm not really seeing my problem among them. Maybe it's just so simple and I'm just too slow today :) ...
2
votes
1
answer
49
views
Tabularray and bracket in cell
I try to use the tabularray package but I have a error with brackets :
\documentclass{article}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{cells={mode=math}}
1 & 2 \\
[1;2] &...
1
vote
0
answers
37
views
Code blocks for \newenvironment
Where can I find the documentation for \newenvironment ? Had a look in source2e.pdf but there in not much information. For instance, it does not mention the begin and end code blocks.
-2
votes
0
answers
51
views
How to draw this figure in (latex) tikz? [closed]
I have try to draw this picture in tikz but unfortunately not drwan correctly, Please help me how to draw this figure
i.e., Triangle symmetries using tikz
0
votes
0
answers
18
views
Warning message using fancyhdr in Overleaf [duplicate]
To whom it may concern:
I get the following warning message in Overleaf for the following lines of code:
Line 125 \fancyhead[RO,RE]{\thepage}
Line 126 \fancyhead[LO,LE]{\leftmark}
The package is ...
1
vote
0
answers
23
views
How to put ellipses around nodes in tikz-cd diagrams several times in one document
Using the idea of https://tex.stackexchange.com/a/394924/305075 I use execute at end picture to draw the ellipses in tikz-cd diagrams. The names of the nodes for the ellipse to fit are of the form ...
0
votes
0
answers
11
views
Preserving Original Reference Numbers in BibTeX [duplicate]
I have included a citation to a research paper (let us assume that it is reference number 100 in the bibliography) in the one-line caption of a figure located near the end of my document. My ...
0
votes
0
answers
24
views
How to create a Footer with two rows of content
I'm trying to create a footer that has an lfoot section, rfoot section, and then a full width section below that. Can someone point me in the right direction?
0
votes
0
answers
22
views
fontspec load font in Ubuntu Mantic
I am compiling with xelatex sample.tex, but am not able to use a font on the newer version of Ubuntu (Ubuntu Mantic). How can I use the Ubuntu font in my compiled LaTeX PDF documents on Ubuntu Mantic ...
0
votes
1
answer
58
views
Descriptions of m o D for \NewDocumentCommand
Where can I find documentation for m, o ,and D for \NewDocumentCommand as I cannot find them in interface3.pdf.
\NewDocumentCommand{\newconject}{momoD(){black}}
-2
votes
1
answer
73
views
Descriptions for n, N, V, T, F [closed]
Where can I find descriptions for n, N, V, T, F. What are they called ? Generally found after commands.
1
vote
2
answers
56
views
Tree with multiline text in node and "X" on some text
I am looking to replicate in TeX this tree diagram I made in PowerPoint. What makes it harder than you basic tree is the multiline labels at terminal nodes, the Xs on some terminal node labels and the ...
1
vote
1
answer
61
views
7bit patterns for 8bit and unicode engines
Consider the following dummy file
\bgroup
\catcode`^^F1=11
\lccode "F1="F1
\patterns{
1b 1c 1d 1f 1g 1h 1j 1k 1l 1m 1n 1^^f1 1p 1q 1r 1s 1t 1v 1w 1x 1y 1z
}
\egroup
\endinput
Is it ...
-1
votes
0
answers
26
views
Specifying colours [closed]
I have defined feuds_gnl_pigment as a dark-green colour using \colorlet.
After executing \colorlet{feuds_gnl_pigment}{green!45!black} I can use the color feuds_gnl_pigment in my document as if it were ...
0
votes
0
answers
21
views
Tables with multicolumn lines
I'm trying to format a table with many columns such that the empty cells on each row have a continuous, coloured line through them.
I've tried adapting a multicolumn command with a rule command in it, ...
1
vote
2
answers
36
views
How to raise component label position vertically?
How to raise component label position vertically? L1 label should be a bit higher. I can add new node and specify position - but perhaps exist some label property like "text yshift"? Would ...