Skip to main content

Questions tagged [sequence]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
145 views

I am lost by the "Undefined Control Sequence" and the 'unnaligned' equations

[EDIT V.1] Good day to all. I am new to LaTex and I have two problems: The warning "Undefined Control Sequence," which doesn't really seem to bother the parsing (I'm doing it in Overleaf), ...
user323452's user avatar
1 vote
1 answer
47 views

Sequence empty only when checked from a certain command

I am trying to format song sheets in LaTeX. Within the lyrics (displayed on the left) are chords (defined with \note), which get highlighted and displayed on the right of the page. Choruses are ...
danabnormal's user avatar
0 votes
0 answers
25 views

Generate sequential padded barcodes with qrcode

How can I create a padded sequence of qrcodes with the qrcode package? The following code throws an error: \documentclass{article} \usepackage{qrcode} \usepackage{fmtcount} \newcounter{asn} \...
Uwe Ziegenhagen's user avatar
0 votes
1 answer
37 views

Undefined control sequence error for each \STATE \FOR \IF [closed]

\begin{algorithm} \caption{SSBPSO}\label{SSBPSO_algo} \begin{algorithmic} \STATE \textbf{INITIALIZATION: } Set N as the number of particles in the swarm, M as the number of active stocks ...
Ashish Lakhmani's user avatar
0 votes
1 answer
70 views

stop integer from expanding when using \seq_item

I have two sequences: \l_words_seq containing: { dans, [DP, la, maison, ]foc } and \l_glosses_seq containing: { in, the, house }. I would like to create another sequence \l_final_seq from \...
JupiterJones's user avatar
1 vote
1 answer
41 views

Iterating over list of lists?

Following up on Customized list of elements using etoolbox in particular, second solution: Is there a convenient way to iterate over any of those lists? Example: \documentclass{article} \usepackage{...
Holger Karl's user avatar
0 votes
1 answer
46 views

Write text upon equivalent [duplicate]

I want to get below the image. But when I write this $F \equiv^{SAT} G$, not getting the intended result.
S. M.'s user avatar
  • 103
3 votes
1 answer
73 views

LaTeX3 - Splitting at semicolon when babel-french is used

The following code is broken by the use of \usepackage[french]{babel}. Can this be fixed easily? \documentclass[12pt]{article} \usepackage[french]{babel} % The character ; becomes active... \...
projetmbc's user avatar
  • 13.4k
2 votes
1 answer
160 views

Sequence of Images

I would as a teacher I would like to add to my pdf (usually it is an article) a sequence of images for some geometry proofs. For example, it would be nice to have something like: Draw the triangle ...
Matteo's user avatar
  • 41
0 votes
0 answers
57 views

drawing sequence on real line using tikz

I have drawn the following sequence (a+(-1)^n/n) using tikz in two ways: The first way, which has a real view, but its output is very long (scale = 60) \documentclass[tikz,border=2mm]{standalone} \...
C.F.G's user avatar
  • 552
2 votes
0 answers
74 views

Expl3: understand how new command using sequence processes arguments

I'm just getting started with expl3. I had a previous question which initiated about automating the process of printing authors of a specific paper and their further informations. The solution by Alan ...
lukeflo's user avatar
  • 1,597
0 votes
4 answers
135 views

How best to display an eventually periodic sequence in LaTeX

I want to show that having computed some values, my sequences appear to be eventually periodic. Both sequences are periodic after the first 34 and 48 values respectively and have period 34 and 48. I ...
Max's user avatar
  • 29
-1 votes
2 answers
70 views

Please I have 24 errors in my tables anyone help?

here I paste the screenshot to my error \begin{table}[H] \centering \resizebox{\textwidth}{!}{% \begin{tabular}{|cccccccc|} \hline \multicolumn{8}{|l|}{FORECAST 24H} \\ \...
Morteza Rahmah's user avatar
0 votes
1 answer
37 views

Docclass {article}: changing {exam} class to {article} produces log errors

The mwe below compiled without error until I made this change: Original: \documentclass[12pt]{exam} Revision: \documentclass[12pt]{article} Changing from {exam} to {article} causes these 2 related ...
Siuslaw Math's user avatar
1 vote
2 answers
338 views

"! Undefined control sequence." when I use "\def"

Here is a MWE: \documentclass{extbook} \usepackage{xspace} \usepackage{xstring} \usepackage{ifthen} \newcommand\foo[1]{% \def\tempfoo{#1}% #1% } \newcommand\separation[1]{% [\the\numexpr #1\relax ]%...
Pierre Dufays's user avatar
1 vote
1 answer
177 views

undefined control sequence won't go away

I just installed LaTeX and have been using vim to edit a .tex document. no matter what I type the pdftex command it always hits up with the same issue. undefined control sequence. ! Undefined control ...
Luke Peterson's user avatar
1 vote
1 answer
207 views

How to express a summation of product

Anyone can help me how to express "t0t1t2 + t0t1t3 +t0t2t3+t1t2t3" as a sum of product compactly in Math and latex? The next one is t0t1t2t3 + t0t1t2t4 + t0t1t3t4 + t0t2t3t4 + t1t2t3*t4, and ...
Mohammad Izadi's user avatar
2 votes
2 answers
162 views

L3 programming: \text_titlecase only seems to map properly when sequence is explicitly declared

I'm trying to perform the following conversion using the l3 interface: my_figure_title -> My Figure Title After some trial and error with sequences and strings, here's what I came up with: \...
user32882's user avatar
  • 1,594
2 votes
1 answer
3k views

'Undefined control sequence' error when writing \newpage

In the preamble of my thesis, I get the following error, when I write \newpage: Undefined control sequence. LaTex Error: File ´' not found. Note that I have 2 x \newpage in the code below, but it's ...
Nicolai MC's user avatar
0 votes
2 answers
204 views

\newfloatsetup undefined

Trying to restore the ability to compile a complex project with LuaLateX I'm (now that I made it possible to find/use the documentclass) running into this compilation error: German Hyphenation ...
uli_1973's user avatar
  • 1,920
5 votes
3 answers
187 views

Testing "sequentiality" of \expandafter (plain Tex) - weird results

Trying to have a better understanding/controlling over \expandafter, I wrote this code. \count100 = 0 \count101 = 1 \def\c{% \the \count100 \advance \count100 by \count101\relax}% % \everypar{\...
Daniel Bandeira's user avatar
5 votes
1 answer
223 views

How would I know to use #1 versus ##1 in the function used in \seq_set_map?

On page 148 of The LaTeX3 Interfaces (interface3.pdf) dated 2021-10-12, the documentation for \seq_set_map:Nn states that the inline function that I'm using should receive each item in the sequence as ...
LaTeXereXeTaL's user avatar
0 votes
0 answers
802 views

\maketitle Undefined control sequence on overleaf

I'm have a problem with \maketitle on overleaf, the code works fine and produces the required output, but stil a error and i wanna find out why does it happen. So the problem is: Thats the latex code:...
Ana M Brito's user avatar
2 votes
1 answer
139 views

Is there a way to create a picture of a sequence of screens in Latex (e.g. the procedure of a priming experiment)?

I'd like to ask if you are aware of a method to create a picture of a sequence of screens in Latex. I want to include a picture/schema of the procedure of a priming experiment in my thesis, but I don'...
chiaras15's user avatar
6 votes
1 answer
2k views

\unit macro not working on the siunitx package

I am trying to make use of the \unit macro that is described on page 6 of the siunitx user manual and the compiler tells me that I have an undefined control sequence. \unit{\kilo\gram\metre\per\square\...
finlay morrison's user avatar
0 votes
0 answers
350 views

sequence indexing notation

I am trying to typeset a sequence s with index. Trying to use $s_{N+1}$ looks weird since the N is too large in comparison to s. So I did double lower index which looks better but the plus sign ...
CD86's user avatar
  • 101
3 votes
3 answers
908 views

How can I draw a big equality in a commutative diagram with extensions?

Here is the figure I want to draw: I know how to draw a commutative square, like this: \[\begin{tikzcd}[sep = large] 0 \ar[r] & A \ar[d]\ar[r] & B \ar[d]\ar[r] & C \ar[d]\ar[r] & 0 &...
Happy's user avatar
  • 363
0 votes
1 answer
699 views

Undefined control sequence \begin{math} [closed]

I have been working to make my code working in LaTeX but I can't find any fix. I have replaced \textit with \itshape as I have read in another topic that this could trigger the error. It's still not ...
Angel LSRP's user avatar
1 vote
3 answers
50 views

Trouble formatting a sequence

I'm trying to type this problem but I'm having issues as to how I go about the bit within the braces on the right side of the equals sign. Here's my attempt at formatting this question. \...
Malgetrica's user avatar
0 votes
0 answers
162 views

in WIndows 10 Rmarkdown getting ! Undefined control sequence. l.115 \xdef\@fontenc@load@list{\@fontenc@load@list

getting this error in R console when trying to render with knitr a .rmd file. Any suggestions? This is running on R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: ...
Ilkka Havukkala's user avatar
2 votes
1 answer
932 views

Undefined control sequence \tabhead

I am using a Master/Doctoral Thesis from https://www.latextemplates.com. I have got a very simpel problem which is undefined control sequence \tabhead! Can anybody help me to overcome that? I will be ...
Pouya Mahdavi's user avatar
1 vote
1 answer
404 views

How to align text in sequencediagram calls?

1. How can the text in sequencediagram calls be aligned or moved left and right? For example, in following example, how can the 1st message be moved somewhat right and message 5 and 6 be moved left to ...
pba's user avatar
  • 587
2 votes
1 answer
227 views

How to remove the last or some item from a sequence?

How I can remove the last item from a sequence? I read the expl3 documentation, what I have is \seq_gpop_left/right, but I don't want to copy the deleted item in some tlist. Also I want to know, for ...
Aleksandr Kozlovskiy's user avatar
0 votes
0 answers
2k views

Undefined Controlled Sequence-\begin{document}

I know that this question exists in several threads already. But I looked around with no luck. This is the code that I am using. %\title{University of Bristol Thesis Template} \RequirePackage[l2tabu]{...
Rim Sleimi's user avatar
3 votes
3 answers
184 views

macro for sequence generation

I'm looking for a macro that takes in input a general term of a sequence and write the sequence extensively. What I mean is a command \GenSeq{general term}{index}{min index}{max index} so that for ...
PinkCollins's user avatar
6 votes
2 answers
739 views

Unable to compile no matter the package

I am a first time user and no matter how hard I try I am unable to compile the work into a PDF. To check if my work is not at fault I borrowed an example used to test Serbian output (I have a need to ...
ficonni's user avatar
  • 63
2 votes
1 answer
105 views

expl3 - Sequence - Popped an item and then stack the same item

In this post, I need to implement a cycle of colors. My idea is to have a list of colors, to pop left a color and then push this color at the right. Here are some steps of use with a Python like ...
projetmbc's user avatar
  • 13.4k