Questions tagged [mathematics]

The tag has no usage guidance.

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

Subscripts and superscripts breaking if used on mathematical formula contained by braces

If I contstruct two different commands capturing a subscription: \newcommand{\nobraces}{a_b} \newcommand{\braces}{{a_b}} then the \nobraces version works according to expectations, when e.g. we want ...
atti6j's user avatar
  • 1
1 vote
2 answers
41 views

Making aligned the symbol "≤" and "≥" on invisible from top to the bottom in Overleaf LaTeX

How do you make the invisible table "≤" and "≥" aligned from top to bottom as shown in the following image on LaTeX Overleaf? This is the code that I made \begin{table}[htp] \...
Arthur Kangdani's user avatar
0 votes
0 answers
18 views

lstlisting: Configuring it to support Julia type code

I was writing my report, which uses notations from Julia, specifically Catlab.jl. This contains a lot of category theory related symbols. I read the documentation for lstlisting and it does not ...
Nikit's user avatar
  • 1
4 votes
1 answer
482 views

Writing a map in Latex

I have a trouble writing a mathematical mapping inside a box written with the \begin{tabular} environment. The map is denoted by · (a dot) and goes from GxG to G (is closed). I'm trying to write the ...
Pablo Robalino's user avatar
1 vote
0 answers
27 views

Help with xinttools

xinttools package allows to plot function summation. Given a function f(x,n), these curves f(x,1) f(x,1) + f(x,2) f(x,1) + f(x,2) + f(x,3) will be plotted using \def\myterm#1{#1*x + 7} ... \...
user3713179's user avatar
1 vote
1 answer
59 views

How can I typeset a Copi-style proof?

How can I typeset a proof in this style? That is, how can I write proofs with three columns, the first numbering the premise or assertion, the second containing the premise or assertion itself, and ...
Noah J's user avatar
  • 443
0 votes
1 answer
53 views

Which package do I have to use to print capdot (⩀) symbol?

I would like to use the capdot (⩀) symbol but unfortunately it seems impossibile to use it so that I thought to put a question where I ask clarification about: I point out the symbol is present into ...
Antonio Maria Di Mauro's user avatar
1 vote
1 answer
52 views

what is the proper command to format the names of big mathematical theories like ZFC/PA etc

The answer to this question is gonna to be very short: what is the proper command to format the names of big mathematical theories like ZFC/PA/RCA etc. I.e. set theory and Peano arithmetic. I believe ...
user2925716's user avatar
  • 1,928
4 votes
2 answers
180 views

How to make a textbox with only corners appearant

I'm creating a maths course, and i want to make an environnement for the exemples with a textbox and to separe it from the rest of the page I would make the corner of the box appearing like in this ...
d3vel's user avatar
  • 41
0 votes
0 answers
23 views

Special symbol used for the derived set [duplicate]

my lecturer has been using what seems to be an uncommon symbol that looks like a D for the derived set (Maths topology unit), so it's nearly impossible for me to find what its name is. Would anyone be ...
Bruce Davidson's user avatar
0 votes
0 answers
38 views

Displayed textual conditions [duplicate]

Displayed equations in (AMS-)LaTeX is well documented and widely understood. Sometimes, however, one wants to have displayed textual conditions in mathematical writings. This is seen in the ...
Pteromys's user avatar
  • 1,477
0 votes
1 answer
42 views

Writing Solution environment in Greek [duplicate]

\documentclass{article} \usepackage{amsthm,amssymb} \author{Athanasios Paraskevopoulos} \date{December 2022} \title{ODE} \newenvironment{solution} {\renewcommand\qedsymbol{$\blacksquare$}\begin{...
Athanasios Paraskevopoulos's user avatar
0 votes
0 answers
303 views

LaTeX: Copy and Paste Symbols

Community, I want to solve these 2 following things: Copy and paste the LaTeX-symbols, so mathematical symbols, from a pdf-document 1 to 1 into a writing document. Copy and paste the LaTeX-symbols, ...
Celo's user avatar
  • 81
0 votes
0 answers
15 views

glossaries package - default "text" field of an entry to its name + symbol

Can you think of any simple way to use the values given to the fields "name" and "symbol" as input for the field "text" when making a \newglossaryentry? For example, I ...
Neil Lamas's user avatar
0 votes
0 answers
71 views

Proof structure in latex

I am making my own definition for proof with the problem that the text is being displayed in italics. This is because \begin{lexproof} is being called within \begin{theorem}. \newenvironment{lexproof}...
Veak's user avatar
  • 643
0 votes
1 answer
63 views

How to draw the two parallel row diagrams in tikz?

I have drawn the folloing diagram: Using the folloing tikz source code: \[ \begin{array}{ccccccc} A& \subseteq& B& \subseteq&...
learner's user avatar
  • 663
0 votes
0 answers
26 views

Missing en dashes in MSN bibliography entries

I am quite new to the research wolds in Mathematics. Apparently, a lot of researchers use the database of MathSciNet (American Mathematical Society) to find bibliography entries, to then be used in ...
Lios's user avatar
  • 101
0 votes
1 answer
217 views

How to draw loop with tikz [closed]

How can I draw loop? I want to draw this graph with tikz, but I can't.
F. Hasani's user avatar
  • 111
2 votes
1 answer
67 views

"Best practices" for typesetting historical or etymological notes in a mathematical text [closed]

When including historical or etymological notes in a mathematical text, what are the good options for typesetting them? As remarks? As footnotes? As paragraphs? As something else? I suppose that an ...
Alexey's user avatar
  • 2,007
0 votes
1 answer
41 views

Help with a tikz picture to create blocks

I am trying to an illustration of the usual place value cubes, so far I have: \documentclass[tikz,border=5mm]{standalone} \newcounter{x} \newlength{\x} \setlength{\x}{.8cm} \newcounter{y} \...
Paul A's user avatar
  • 681
1 vote
1 answer
115 views

What's a good example of a mathematical formula looking more aesthetical in LaTeX than a purely text-based approach?

I am aware that one can argue about aesthetics, but I am currently introducing some students to LaTeX. I want to present a mathematical formula to show why LaTeX looks more aesthetically pleasing in ...
Tetragrammaton's user avatar
0 votes
2 answers
1k views

Which symbols should be used as placeholders for letters and numerical digits? [closed]

I need to generally describe the syntax of random alphanumeric sequences, say ACW3920 or 39B0Q8, and discuss certain cases, e. g. the first two digits being letters, or the sequence ending with BA, 87 ...
MulticolMetallurgist's user avatar
0 votes
0 answers
531 views

Is there a way to extract math from a pdf in LaTeX format using SESHAT?

So I've been tasked with using SESHAT to extract the math problems from a large pdf into latex format, but seshat requires an InkML or SCGink file type as it's input. Is there a way I can convert pdf ...
JustLearning321's user avatar
-2 votes
1 answer
168 views

How to plot Inverse of W-lambert function with pgfplots?

This is my effort for plotting w-lambert and its inverse, but I get an error: \begin{figure}[t] \centering \begin{subfigure}[scale = 1]{0.4\textwidth} % \...
Alireza Qazavi's user avatar
1 vote
1 answer
67 views

Is it a good practice to leave space before mathematical text? [duplicate]

I used to write equations in the following way: Text %Empty line \[ code \] %Empty line Text I have noticed that with this syntax there is more space above the maths than beneath them. Is that ...
ado sar's user avatar
  • 203
1 vote
0 answers
53 views

Animation of Logical and Mathematical Proofs [closed]

I have 2 questions regarding animations of mathematical proofs: I know that one can create a presentation using the Beamer package. I would also like to use animations. Is there an option to present ...
Cantor's user avatar
  • 121
0 votes
0 answers
66 views

Grid Method Multiplication

I am trying to write a document on some elementary algebra but I'm quite new to LaTeX. I'm currently using overleaf and would like to draw a box method multiplication. I could add them in as images ...
Ben Crossley's user avatar
0 votes
0 answers
47 views

Problems and solutions - in source code problem+solution together, in output first all the problems, and then all solutions. How to do it?

I would like to write a mathbook with problems and solutions (first the problems, and then the solutions in the end). It should look somehow like this: Math book: how to write Exercise and Answers ...
Katarina's user avatar
0 votes
2 answers
280 views

Writing my first book [closed]

I am writing my first book ever, an undergraduate mathematics textbook, and even though I'm halfway done with the content, I'm still using a really simple template I found on the internet that uses ...
Rick Does Math's user avatar
0 votes
0 answers
42 views

One to one function, how to draw in LaTeX? [duplicate]

Here are both set of one to one function. How to make LaTeX coding in figure type: (x)=0,2,3 (y)=a,b,c
Muhammad WASEEM FAROOQ's user avatar
2 votes
0 answers
120 views

How can I make the following test template? [closed]

How can I make this template in the most correct way?
cufcuf's user avatar
  • 584
6 votes
2 answers
286 views

On the strange calculations calling xfp, Tikz, sqrt, and ^2

As we now the square root of (-3)^2+(-4)^2 is the square root of 25 equal to 5. However we got a strange error calling xfp package and Tikz saying: \LaTeX3 error: Invalid operation sqrt(-25) Below is ...
Aria's user avatar
  • 1,513
1 vote
1 answer
32 views

Why is error shown during compiling my document?

I have written a document with equations in it. The equations are written with $ on both sides. But there are certain errors displayed while compiling which I'm unable to rectify as I'm unable to ...
Rahul Chakraborty's user avatar
0 votes
1 answer
103 views

How to represent small numbers in academic writing?

I am seeking some suggestions through this query. In case this is not the right forum, kindly suggest where I may get an answer? I need to represent small numbers in multiple tables meant for ...
TRK's user avatar
  • 377
3 votes
2 answers
214 views

Markov Chain, Conditional Independence

Is the following symbol standard or is it defined in some package? If not, how would you implement this symbol in LaTeX?
iom10's user avatar
  • 79
1 vote
0 answers
82 views

Why is apalike bibliographystyle (and more generally author-date styles) so rare in mathematics? [closed]

I hope that this question is appropriate for this forum -- I don't really know where else to ask it, and I think it is at least relevant to the expertise of the users of this site. I often find that ...
babu_babu's user avatar
  • 123
1 vote
3 answers
531 views

How to use a single equation number with flalign in latex.?

I have the following code to output an equation. I want to use a single equation number for this whole block. How can we do it?
rockstone435's user avatar
4 votes
1 answer
15k views

Indicator function sign [duplicate]

Whenever I need the indicator function I use (for example) the following syntax \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \Huge The indicator function : $$ \...
Hamdiken's user avatar
  • 143
1 vote
0 answers
122 views

Write an equation showing a condition indicating correlation between two variables

I am trying to write this conditional equation: I am not sure what could be the mathematical syntax for saying: "variables x and y are correlated". While searching for this, I came to know ...
user345394's user avatar
0 votes
0 answers
198 views

Why doesn't my nomenclature get printed out?

I am facing trouble to print the nomenclature of my thesis because it simply doesn't get printed out. I'm using more symbols but with those two it's already not working, I am following this tutorial: ...
Victor Houri's user avatar
2 votes
1 answer
340 views

Mathematical expression for mean of sum of pairs

Hello everyone I have a matrix such as : and I do the mean of sum of all pair such as (H1H2)+(H1H3)+(H1H4)+(H1H5)+(H2H3)+(H2H4)+(H2H5)+(H3H4)+(H3H5)+(H4H5)/nb pairs and I wondered how can I exprime ...
Ravages's user avatar
  • 23
0 votes
2 answers
5k views

How to write the Gaussian Naive Bayes formula in latex?

I am trying to compute the Gaussian Naive Bayes formula in latex, and what I obtained until now is: $P(x_{\mathrm{i}|$y$}) = \frac{1}{{\sigma \sqrt {2\pi } }}e^{{{ - \left( {x - \mu } \right)^2 } \...
Ariadne R.'s user avatar
0 votes
1 answer
761 views

How to write the SVM formula in latex?

How to write this formula in Latex? I tried this, but it does not work and I dont know why nor k=how to improve it. $frac{$$w$^{$T$}\times($x$ - $x$)$\}{$w$}$ Moreover, I dont know how to prite the ...
Ariadne R.'s user avatar
6 votes
4 answers
238 views

Custom Symbol Creation | Union and Intersection

I am a beginner in LaTeX and was wondering if someone could help me with the following problem. I will be soon embarking on a re-formatting journey of a certain article and believe that I have most of ...
Michal's user avatar
  • 61
2 votes
2 answers
53 views

How to align and make the solving process more pleasing?

I would like to make this presentation more mathematically pleasing - that is, I'd like to align this working process so that there is no big difference between the first 7\left(\frac 1 2 y\right) + ...
nocomment's user avatar
  • 363
3 votes
1 answer
115 views

Mimicking the spacing of `\shortintertext`

I am trying to have two align*-environments with some text between them. As the text is very short, I'd usually use \shortintertext. But I don't want the two environments to share the tab stops -- ...
Bubaya's user avatar
  • 2,149
0 votes
0 answers
497 views

Where to find good templates for mathematical proofs?

Where can we find very good examples of templates for mathematical proofs using LaTeX? Specially if we would aim to send something for the Annals of Mathematics? Let's say, by hypothesis, that we ...
GarouDan's user avatar
  • 3,171
0 votes
1 answer
419 views

Mathematics mod with ln

I don't get it how to use here mm mode to get these $\ln{\dfrac{\sum_{n,m=u_{k}}}{2}}$
amygdala27's user avatar
2 votes
1 answer
361 views

Writing reverse cases in Lyx

The basic cases environment looks like { However, I want to make it } I learned how to do it using just tex at How to put a brace on the right, not left, to group cases? But how can I do it ...
user42459's user avatar
  • 207
1 vote
2 answers
231 views

Plot construction for a velocity vs position graph. Interpolation for phase-diagram construction?

I need to plot a few graphs. First is of the function \begin{equation} x(t)= -e^{ -(0.1 \ {s}^{-1}) t} \cos \left( ( 0.995 \ {rad} / \mathrm{s})t \right) \end{equation} and of $\dot{x}$ (...
Elen Khachatryan's user avatar