Questions tagged [mathematics]
The mathematics tag has no usage guidance.
86
questions
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 ...
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]
\...
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 ...
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 ...
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}
...
\...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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{...
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, ...
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 ...
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}...
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&...
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 ...
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.
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 ...
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}
\...
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 ...
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 ...
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 ...
-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}
% \...
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 ...
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 ...
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 ...
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
...
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 ...
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
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?
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 ...
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 ...
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 ...
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?
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 ...
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?
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 :
$$ \...
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 ...
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:
...
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 ...
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 } \...
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 ...
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 ...
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) + ...
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 -- ...
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 ...
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}}$
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 ...
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}$ (...