simple conditions equationaligning a multiline formula with the bullet of itemizeConflict between color,...
How to get a plain text file version of a CP/M .BAS (M-BASIC) program?
How to stop co-workers from teasing me because I know Russian?
Do I have an "anti-research" personality?
Was there a shared-world project before "Thieves World"?
Do I have to worry about players making “bad” choices on level up?
What makes accurate emulation of old systems a difficult task?
Can someone publish a story that happened to you?
How would one muzzle a full grown polar bear in the 13th century?
Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?
Why is it that the natural deduction method can't test for invalidity?
how to sum variables from file in bash
How could Tony Stark make this in Endgame?
Noun clause (singular all the time?)
What happened to Captain America in Endgame?
What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?
With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?
Is there really no use for MD5 anymore?
How can I place the product on a social media post better?
Meaning of Bloch representation
How to creep the reader out with what seems like a normal person?
Why do Computer Science majors learn Calculus?
Don’t seats that recline flat defeat the purpose of having seatbelts?
Is there any limitation with Arduino Nano serial communication distance?
How to type a section sign (§) into the Minecraft client
simple conditions equation
aligning a multiline formula with the bullet of itemizeConflict between color, graphicx and libertineAlign equations with conditionsSimple newline in equationSimple includegraphicsSimple equation editingFix arrows from equation to textSplitting conditions in equationsAlign equation with conditions and another equationTypeset equation with multiple aligned conditions on the right
I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$
$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}
graphics equations tikz-arrows
add a comment |
I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$
$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}
graphics equations tikz-arrows
1
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
2
so far i not see anywhere your second example for writing "condition equation".cases
is normal for such cases. it is far more readable than your "invention" ...
– Zarko
4 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago
add a comment |
I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$
$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}
graphics equations tikz-arrows
I tested some solutions, but without getting the simple results.
aesthetic I would like to use the arrows. rather than parentheses. the formula is followed by a text with explanations of the conditions.
would you have some simple suggestions about it?
thanks
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
begin{document}
$
alpha = mfrac{l',z}{l_{0}};
begin{cases}
>0\=0\<0
end{cases}
$
$
alpha = mfrac{l',z}{l_{0}}
begin{array}{c}
nearrow >0\
rightarrow = 0\
searrow < 0\
end{array}
$
end{document}
graphics equations tikz-arrows
graphics equations tikz-arrows
asked 4 hours ago
AntonioAntonio
310111
310111
1
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
2
so far i not see anywhere your second example for writing "condition equation".cases
is normal for such cases. it is far more readable than your "invention" ...
– Zarko
4 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago
add a comment |
1
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
2
so far i not see anywhere your second example for writing "condition equation".cases
is normal for such cases. it is far more readable than your "invention" ...
– Zarko
4 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago
1
1
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
2
2
so far i not see anywhere your second example for writing "condition equation".
cases
is normal for such cases. it is far more readable than your "invention" ...– Zarko
4 hours ago
so far i not see anywhere your second example for writing "condition equation".
cases
is normal for such cases. it is far more readable than your "invention" ...– Zarko
4 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd
.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}
add a comment |
Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
usepackage[usestackEOL]{stackengine}
stackMath
newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
}{searrow}{U}{c}{F}{F}{S}%
}}
begin{document}
[
setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
alpha = mfrac{l',z}{l_{0}}
arrowstack
Centerstack[l]{{}>0\{}=0\{}<0}
]
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487981%2fsimple-conditions-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd
.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}
add a comment |
My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd
.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}
add a comment |
My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd
.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}
My suggestion for example, for the 2nd formula, without left bracket, is with the package tikz-cd
.
documentclass{article}
usepackage{tikz-cd}
usepackage{amsmath}
begin{document}
begin{tikzcd}[row sep=.4cm, column sep=.5cm]
& >0 \
{alpha = mdfrac{l',z}{l_{0}}}
arrow[ru] arrow[r] arrow[rd] & =0 \
& <0
end{tikzcd}
end{document}
answered 3 hours ago
SebastianoSebastiano
11.7k42366
11.7k42366
add a comment |
add a comment |
Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
usepackage[usestackEOL]{stackengine}
stackMath
newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
}{searrow}{U}{c}{F}{F}{S}%
}}
begin{document}
[
setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
alpha = mfrac{l',z}{l_{0}}
arrowstack
Centerstack[l]{{}>0\{}=0\{}<0}
]
end{document}
add a comment |
Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
usepackage[usestackEOL]{stackengine}
stackMath
newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
}{searrow}{U}{c}{F}{F}{S}%
}}
begin{document}
[
setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
alpha = mfrac{l',z}{l_{0}}
arrowstack
Centerstack[l]{{}>0\{}=0\{}<0}
]
end{document}
add a comment |
Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
usepackage[usestackEOL]{stackengine}
stackMath
newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
}{searrow}{U}{c}{F}{F}{S}%
}}
begin{document}
[
setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
alpha = mfrac{l',z}{l_{0}}
arrowstack
Centerstack[l]{{}>0\{}=0\{}<0}
]
end{document}
Done here with two separate stacks, so that the arrow vertical gap can be different than the baselineskip of the conditions stack.
documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[italian]{babel}
usepackage{amsmath}
usepackage{tikz}
usepackage{mwe}
usepackage{lmodern}
makeatletter
DeclareMathSizes{@xpt}{@xpt}{5}{4}
DeclareMathSizes{@xipt}{@xipt}{6}{5}
DeclareMathSizes{@xiipt}{@xiipt}{6}{5}
DeclareMathSizes{@xivpt}{@xivpt}{@xpt}{6}
makeatother
usepackage[usestackEOL]{stackengine}
stackMath
newcommandarrowstack{,ensurestackMath{stackengine{Sstackgap}{%
stackengine{Sstackgap}{rightarrow}{nearrow}{O}{c}{F}{F}{S}%
}{searrow}{U}{c}{F}{F}{S}%
}}
begin{document}
[
setstackgap{L}{16pt}% GOVERNS THE CONDITIONS STACK BASELINESKIP
setstackgap{S}{2pt}% GOVERNS THE ARROW STACK GAP
alpha = mfrac{l',z}{l_{0}}
arrowstack
Centerstack[l]{{}>0\{}=0\{}<0}
]
end{document}
edited 3 hours ago
answered 3 hours ago
Steven B. SegletesSteven B. Segletes
163k9208421
163k9208421
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487981%2fsimple-conditions-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Could you post an example of the kind of text you'd like to add?
– Bernard
4 hours ago
2
so far i not see anywhere your second example for writing "condition equation".
cases
is normal for such cases. it is far more readable than your "invention" ...– Zarko
4 hours ago
@Bernard the equation I would like to explain is more complex. It is the conditions with respect to the production of buoyancy forces compared to the Richardson number. I am not very familiar with the tikz library and often I have difficulty with trivial things (which are often the most important ones)
– Antonio
3 hours ago
@Bernard in this case it is only an aesthetic problem. I prefer the arrows, to the braces
– Antonio
3 hours ago
Would there be an explanation per case, or a global explanation?
– Bernard
3 hours ago