All Questions
253,798
questions
0
votes
0
answers
17
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
0
answers
5
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
3
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
5
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
8
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, ...
0
votes
0
answers
16
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
15
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 ?...
0
votes
0
answers
7
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.
\...
-3
votes
1
answer
42
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
14
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
23
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
27
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
24
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
44
views
How to draw this figure in (latex) tikz?
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
17
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
16
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
21
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
20
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
47
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
61
views
Descriptions for n, N, V, T, F
Where can I find descriptions for n, N, V, T, F. What are they called ? Generally found after commands.
1
vote
2
answers
32
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 ...
0
votes
1
answer
19
views
8bit patterns for LuaTeX and XeTeX
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 ...
0
votes
0
answers
21
views
Specifying colours
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
17
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
33
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 ...
0
votes
0
answers
38
views
Code description for \tl_if_empty:VTF [duplicate]
Is the following code description correct ?
%% Test for empty Token List \feuds_teorema_parent_tl.
%% VTF are Type Specifers for the arguments to the function.
%% V Indicates that first argument is ...
0
votes
0
answers
16
views
nested \left \right paranthesis math formula doesn't work [duplicate]
This is the formula
\begin{align}
a_i &= \dfrac{1}{\phi_{i-1}(\lambda_i)}\bigg(\dfrac{c_{i-2}^2}{b_{i-2}^2}\phi_{i-1}(\lambda_i) + \left(b_{i-1}^2 - \dfrac{a_{i-1}c_{i-1}^2}{b_{i-2}^2}\...
0
votes
2
answers
30
views
enumitem - understanding horizontal spacing
I am baffling with horizontal spacing for description list given by enumitem package. I would like to have dots lined up under each other. I expect that \labelident is the right parameter, but I am ...
0
votes
0
answers
50
views
Newcomer wanting to work on Latex Programming Code [duplicate]
I would like to have a list of documents to read so that a newcomer can start working on Latex Programming.
What would be a good material sequence to read (e.g. described by documentation section ...
1
vote
0
answers
40
views
Confusion over missing bracket in TikZ code
I tried to recreate a multi meter and have created the following code:
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,decorations.markings,backgrounds,decorations....
1
vote
0
answers
14
views
Problem installing Chess-7 font
I am following instructions in http://tug.ctan.org/tex-archive/fonts/chess/enpassant/README to install Chess-7 font.
I use
ttf2pt1 -b Chess-7.TTF chess-7-board-raw
to create chess-7-board-raw.pfb ...
-1
votes
0
answers
37
views
How to select limited text area? [closed]
How may one select precisely the text between, and including, two designated symbols $s_1$ and $s_2$.
0
votes
0
answers
16
views
Custom Options with \enumerate or alternatives
I would like an enumerate-type environment where I specify a letter "say G" and list has the form (G1), (G2), (G3), etc. Is this something I can do with \begin{enumerate} or is there a ...
0
votes
0
answers
38
views
Use of keys_define
I have encountered the following. What are keys about and how are they to be used, for what purpsose. Could I have some examples ?
\keys_define:nn { feuds_teorema_keys }
{
name .tl_set:N = \...
0
votes
2
answers
43
views
Issue in using pattern fill
\usepackage{tikz}
\usetikzlibrary{patterns, arrows}
\begin{document}
\begin{tikzpicture}
% Set the width and height of the rectangles
\pgfmathsetmacro{\rectHeight}{1} % Height of all rectangles
...
0
votes
0
answers
14
views
Dynamycally position multiple pages in the middle of a document
I am writing a book and I want to add several images.
I could add them in between the text but what I want to do (and what I've seen in existing books) is to put images in the middle of the book.
Let'...
1
vote
1
answer
32
views
How to indent the page number in the footer (memoir)?
I want to indent the page number on the foot, so it looks like in the image:
As you can see, the position of \thepage is not aligned with the margin of the outer margin.
\documentclass[10pt,final]{...
3
votes
2
answers
130
views
How can I parse a # from a macro argument?
I want to write a macro such that \ghpr{myrepo#1234} expands to \href{https://github.com/my-username/myrepo/pull/1234}{myrepo#1234}.
(I know how to do it for \ghpr{myrepo}{1234}, but I'd prefer to ...
0
votes
1
answer
21
views
How do you run linear regression on data with nan in the X?
I am trying to use pgfplots to plot a linear regression to my data. If there is a nan in the X component of my data set, no fit is generated, with the warning/s:
NOTE: coordinate (nan,0.2) has been ...
0
votes
0
answers
7
views
Issue with the margin in a thesis
I'm currently working on my thesis, and I'm encountering an issue with the margin. The margin on both sides is not consistent, and I'd like to adjust it to be the same on both sides and appear ...
0
votes
0
answers
26
views
How to vertically align equation tags? [duplicate]
Consider the following example
\documentclass{article}
\usepackage{mathtools}
\usepackage{xcolor}
\makeatletter % make "@" a letter-like symbol
\renewcommand{\tagform@}[1]{\maketag@@@{\...
5
votes
2
answers
99
views
Add description next to matrix
I have the following definition of a standard basis vector:
This text was compiled by the following code:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
For $ \mathbb{R}^n $, we let ...
0
votes
1
answer
38
views
XeLatex typeset the document with Segoe UI
I try to change the font of my document with \setmainfont{Segoe UI}. The point is that it should work on other machines also, without installing extra fonts. Latex packages are no problem.
I tried \...
0
votes
1
answer
52
views
How can I add a frame around parts of my document?
I want to add frame around parts of my document. Example from (https://hobsonresearch.com/wp-content/uploads/2018/01/responseletter_hacks.pdf) in page 5:
How can I do similiar example? I was not able ...
0
votes
0
answers
15
views
How do I add vertical margins to a paragraph (selectively, so not applying to all paragraphs)?
For some typesetting, I want to add vertical margins (top and bottom) around certain paragraphs. I already found the package changepage and their environment adjustwidth to set the horizontal margins (...
0
votes
0
answers
30
views
TeX capacity exceeded, sorry [input stack size=10000] tcolorbox error
I'm trying to make a document using boxes made with tcolorbox but I keep on getting this error at the end of my second box definition. It's especially weird because this code is literally copy-pasted ...
0
votes
2
answers
21
views
Multirow text disappears behind cell
I wanted to use multirow, but the text of it disappears between the first cell.
Here is my table
%multi-row
\usepackage{multirow}
\begin{xltabular}{\textwidth}{
| >{\columncolor[gray]{.8}\...
2
votes
1
answer
107
views
How can I force an arrow in TikZ to go horizontally into a node?
I'm trying to draw this diagram in tikzpicture with beamer:
and I'm having troubles in drawing the arrows going horizontally into the right node (Couple instruction DataFrame). The best I could do is ...
1
vote
1
answer
38
views
cannot format table properly
\begin{table}[h]
\centering
\caption{Total Number of Each Tag in Our Gazetteer}
\begin{tabularx}{\textwidth}{cXc}
\toprule
\textbf{NER Tags} & \textbf{Number of Data} \\
\midrule
PER & 26,296 \...