Problems with making formula look great [on hold]algorithm, algorithmic, algorithmicx, algorithm2e, algpseudocode = confusedLinebreak in math environmentconsistent math font size in a formulaPlease help me input the following formula correctlyThree variables look like a wordProblems with vector fonts and embeddingMaking the text in an align environment italicError “! LaTeX Error: Bad math environment delimiter.”strikethrough math formula in the math modeDifferent alignments in align* formulaFix a formula with fraction 1/2 in subscript mode
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
Min function accepting varying number of arguments in C++17
I got the following comment from a reputed math journal. What does it mean?
Why do passenger jet manufacturers design their planes with stall prevention systems?
Welcoming 2019 Pi day: How to draw the letter π?
How could an airship be repaired midflight?
Is there a symmetric-key algorithm which we can use for creating a signature?
Why does overlay work only on the first tcolorbox?
How could a scammer know the apps on my phone / iTunes account?
Can I use USB data pins as power source
Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?
Why does a Star of David appear at a rally with Francisco Franco?
What is the adequate fee for a reveal operation?
Life insurance that covers only simultaneous/dual deaths
PTIJ: Who should I vote for? (21st Knesset Edition)
Fastest way to pop N items from a large dict
Do I need life insurance if I can cover my own funeral costs?
Is "upgrade" the right word to use in this context?
Bacteria contamination inside a thermos bottle
"of which" is correct here?
Recruiter wants very extensive technical details about all of my previous work
Professor being mistaken for a grad student
Are ETF trackers fundamentally better than individual stocks?
As a new Ubuntu desktop 18.04 LTS user, do I need to use ufw for a firewall or is iptables sufficient?
Problems with making formula look great [on hold]
algorithm, algorithmic, algorithmicx, algorithm2e, algpseudocode = confusedLinebreak in math environmentconsistent math font size in a formulaPlease help me input the following formula correctlyThree variables look like a wordProblems with vector fonts and embeddingMaking the text in an align environment italicError “! LaTeX Error: Bad math environment delimiter.”strikethrough math formula in the math modeDifferent alignments in align* formulaFix a formula with fraction 1/2 in subscript mode
I have problems to make the below formula look great. Do you have any ideas on how I can make it look better?
This is this LaTeX code I have for it:
PTK = $PRF(PMK, text"Pairwise key expansion" || Min(AA, SPA) || \ MaxAA, SPA|| Min(ANonce, SNonce) || Max(ANonce,SNonce))$
I appreciate all help!
math-mode alignment
New contributor
put on hold as primarily opinion-based by JouleV, Sebastiano, Stefan Pinnow, Phelype Oleinik, Raaja 23 hours ago
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I have problems to make the below formula look great. Do you have any ideas on how I can make it look better?
This is this LaTeX code I have for it:
PTK = $PRF(PMK, text"Pairwise key expansion" || Min(AA, SPA) || \ MaxAA, SPA|| Min(ANonce, SNonce) || Max(ANonce,SNonce))$
I appreciate all help!
math-mode alignment
New contributor
put on hold as primarily opinion-based by JouleV, Sebastiano, Stefan Pinnow, Phelype Oleinik, Raaja 23 hours ago
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
2
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what||
stands for. Please advise.
– Mico
yesterday
@Mico Seems more like anorm
-like operator to me.
– Raaja
yesterday
@Mico In cryptography||
means string concatenation.
– nomadictype
yesterday
What does "great" mean?
– David Richerby
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday
add a comment |
I have problems to make the below formula look great. Do you have any ideas on how I can make it look better?
This is this LaTeX code I have for it:
PTK = $PRF(PMK, text"Pairwise key expansion" || Min(AA, SPA) || \ MaxAA, SPA|| Min(ANonce, SNonce) || Max(ANonce,SNonce))$
I appreciate all help!
math-mode alignment
New contributor
I have problems to make the below formula look great. Do you have any ideas on how I can make it look better?
This is this LaTeX code I have for it:
PTK = $PRF(PMK, text"Pairwise key expansion" || Min(AA, SPA) || \ MaxAA, SPA|| Min(ANonce, SNonce) || Max(ANonce,SNonce))$
I appreciate all help!
math-mode alignment
math-mode alignment
New contributor
New contributor
edited yesterday
JouleV
5,97821549
5,97821549
New contributor
asked yesterday
JohanJohan
453
453
New contributor
New contributor
put on hold as primarily opinion-based by JouleV, Sebastiano, Stefan Pinnow, Phelype Oleinik, Raaja 23 hours ago
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as primarily opinion-based by JouleV, Sebastiano, Stefan Pinnow, Phelype Oleinik, Raaja 23 hours ago
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
2
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what||
stands for. Please advise.
– Mico
yesterday
@Mico Seems more like anorm
-like operator to me.
– Raaja
yesterday
@Mico In cryptography||
means string concatenation.
– nomadictype
yesterday
What does "great" mean?
– David Richerby
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday
add a comment |
2
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what||
stands for. Please advise.
– Mico
yesterday
@Mico Seems more like anorm
-like operator to me.
– Raaja
yesterday
@Mico In cryptography||
means string concatenation.
– nomadictype
yesterday
What does "great" mean?
– David Richerby
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday
2
2
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what
||
stands for. Please advise.– Mico
yesterday
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what
||
stands for. Please advise.– Mico
yesterday
@Mico Seems more like a
norm
-like operator to me.– Raaja
yesterday
@Mico Seems more like a
norm
-like operator to me.– Raaja
yesterday
@Mico In cryptography
||
means string concatenation.– nomadictype
yesterday
@Mico In cryptography
||
means string concatenation.– nomadictype
yesterday
What does "great" mean?
– David Richerby
yesterday
What does "great" mean?
– David Richerby
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday
add a comment |
4 Answers
4
active
oldest
votes
I don't know if it looks great, but do you want something like this?
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = & textPRFleft( textPMK, text"Pairwise key expansion" || min(textAA, textSPA) || right. \
& left. qquad max(textAA, textSPA)|| min(textANonce, textSNonce) || max(textANonce,textSNonce)right)
endsplit
]
enddocument
Thanks a lot for the great answer!
– Johan
yesterday
add a comment |
Taking Ignasi's approach a step further...
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = textPRFbigl( &textPMK, text``Pairwise key expansion'' \& || min(textAA, textSPA) \
& || max(textAA, textSPA)\&|| min(textANonce, textSNonce) \&|| max(textANonce,textSNonce)bigr)
endsplit
]
enddocument
MFGA
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
add a comment |
IMHO your formula is in an algorithm and ||
stands for "or". So you should have a look at algorithm packages. Anyway this is a non-algorithm but algorithmic answer:
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayr@l@l
textPTK=PRF&(PMK, & text``Pairwise key expansion''\
&& || min(AA,SPA)\
&& || max(AA,SPA)\
&& || min(ANonce,SNonce)\
&& || max(ANonce,SNonce)\
&)&
endarray
]
enddocument
Edit 1: Improved version
I prefer this way.
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayrl
textPTK=PRF(&\
& PMK,\
& (\
& quadtext``Pairwise key expansion''\
& quad||min(AA,SPA)\
& quad||max(AA,SPA)\
& quad||min(ANonce,SNonce)\
& quad||max(ANonce,SNonce)\
& )\
)&
endarray
]
enddocument
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
add a comment |
I have two proposals. Most important is to properly define macros for specific object types in your document, in order to ensure uniformity.
documentclassarticle
usepackageamsmath
newcommandOORmathrel
newcommandtvar[1]mathrm#1
newcommandtdesc[1]textup``#1''
begindocument
[
beginaligned
tvarPTK=tvarPRFbigl(
&tvarPMK,tdescPairwise key expansion \
& OOR min(tvarAA,tvarSPA)\
& OOR max(tvarAA,tvarSPA)\
& OOR min(tvarANonce,tvarSNonce)\
& OOR max(tvarANonce,tvarSNonce) bigr)
endaligned
]
beginmultline*
tvarPTK=tvarPRFbigl(
tvarPMK,tdescPairwise key expansion
OOR min(tvarAA,tvarSPA) OOR \
max(tvarAA,tvarSPA)
OOR min(tvarANonce,tvarSNonce)
OOR max(tvarANonce,tvarSNonce) bigr)
endmultline*
enddocument
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I don't know if it looks great, but do you want something like this?
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = & textPRFleft( textPMK, text"Pairwise key expansion" || min(textAA, textSPA) || right. \
& left. qquad max(textAA, textSPA)|| min(textANonce, textSNonce) || max(textANonce,textSNonce)right)
endsplit
]
enddocument
Thanks a lot for the great answer!
– Johan
yesterday
add a comment |
I don't know if it looks great, but do you want something like this?
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = & textPRFleft( textPMK, text"Pairwise key expansion" || min(textAA, textSPA) || right. \
& left. qquad max(textAA, textSPA)|| min(textANonce, textSNonce) || max(textANonce,textSNonce)right)
endsplit
]
enddocument
Thanks a lot for the great answer!
– Johan
yesterday
add a comment |
I don't know if it looks great, but do you want something like this?
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = & textPRFleft( textPMK, text"Pairwise key expansion" || min(textAA, textSPA) || right. \
& left. qquad max(textAA, textSPA)|| min(textANonce, textSNonce) || max(textANonce,textSNonce)right)
endsplit
]
enddocument
I don't know if it looks great, but do you want something like this?
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = & textPRFleft( textPMK, text"Pairwise key expansion" || min(textAA, textSPA) || right. \
& left. qquad max(textAA, textSPA)|| min(textANonce, textSNonce) || max(textANonce,textSNonce)right)
endsplit
]
enddocument
answered yesterday
IgnasiIgnasi
94.8k4175318
94.8k4175318
Thanks a lot for the great answer!
– Johan
yesterday
add a comment |
Thanks a lot for the great answer!
– Johan
yesterday
Thanks a lot for the great answer!
– Johan
yesterday
Thanks a lot for the great answer!
– Johan
yesterday
add a comment |
Taking Ignasi's approach a step further...
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = textPRFbigl( &textPMK, text``Pairwise key expansion'' \& || min(textAA, textSPA) \
& || max(textAA, textSPA)\&|| min(textANonce, textSNonce) \&|| max(textANonce,textSNonce)bigr)
endsplit
]
enddocument
MFGA
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
add a comment |
Taking Ignasi's approach a step further...
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = textPRFbigl( &textPMK, text``Pairwise key expansion'' \& || min(textAA, textSPA) \
& || max(textAA, textSPA)\&|| min(textANonce, textSNonce) \&|| max(textANonce,textSNonce)bigr)
endsplit
]
enddocument
MFGA
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
add a comment |
Taking Ignasi's approach a step further...
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = textPRFbigl( &textPMK, text``Pairwise key expansion'' \& || min(textAA, textSPA) \
& || max(textAA, textSPA)\&|| min(textANonce, textSNonce) \&|| max(textANonce,textSNonce)bigr)
endsplit
]
enddocument
MFGA
Taking Ignasi's approach a step further...
documentclassarticle
usepackageamsmath
begindocument
[
beginsplit
textPTK = textPRFbigl( &textPMK, text``Pairwise key expansion'' \& || min(textAA, textSPA) \
& || max(textAA, textSPA)\&|| min(textANonce, textSNonce) \&|| max(textANonce,textSNonce)bigr)
endsplit
]
enddocument
MFGA
answered yesterday
Steven B. SegletesSteven B. Segletes
158k9204411
158k9204411
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
add a comment |
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
Thanks a lot for the great answer, I'll go for this one!
– Johan
yesterday
2
2
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
@Johan Thanks. While you can click the up-arrow to "upvote" any question or answer on this site that you find helpful, you can select only one answer for each of your questions to click the check on, as a means to "accept" the most suitable answer.
– Steven B. Segletes
yesterday
add a comment |
IMHO your formula is in an algorithm and ||
stands for "or". So you should have a look at algorithm packages. Anyway this is a non-algorithm but algorithmic answer:
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayr@l@l
textPTK=PRF&(PMK, & text``Pairwise key expansion''\
&& || min(AA,SPA)\
&& || max(AA,SPA)\
&& || min(ANonce,SNonce)\
&& || max(ANonce,SNonce)\
&)&
endarray
]
enddocument
Edit 1: Improved version
I prefer this way.
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayrl
textPTK=PRF(&\
& PMK,\
& (\
& quadtext``Pairwise key expansion''\
& quad||min(AA,SPA)\
& quad||max(AA,SPA)\
& quad||min(ANonce,SNonce)\
& quad||max(ANonce,SNonce)\
& )\
)&
endarray
]
enddocument
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
add a comment |
IMHO your formula is in an algorithm and ||
stands for "or". So you should have a look at algorithm packages. Anyway this is a non-algorithm but algorithmic answer:
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayr@l@l
textPTK=PRF&(PMK, & text``Pairwise key expansion''\
&& || min(AA,SPA)\
&& || max(AA,SPA)\
&& || min(ANonce,SNonce)\
&& || max(ANonce,SNonce)\
&)&
endarray
]
enddocument
Edit 1: Improved version
I prefer this way.
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayrl
textPTK=PRF(&\
& PMK,\
& (\
& quadtext``Pairwise key expansion''\
& quad||min(AA,SPA)\
& quad||max(AA,SPA)\
& quad||min(ANonce,SNonce)\
& quad||max(ANonce,SNonce)\
& )\
)&
endarray
]
enddocument
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
add a comment |
IMHO your formula is in an algorithm and ||
stands for "or". So you should have a look at algorithm packages. Anyway this is a non-algorithm but algorithmic answer:
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayr@l@l
textPTK=PRF&(PMK, & text``Pairwise key expansion''\
&& || min(AA,SPA)\
&& || max(AA,SPA)\
&& || min(ANonce,SNonce)\
&& || max(ANonce,SNonce)\
&)&
endarray
]
enddocument
Edit 1: Improved version
I prefer this way.
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayrl
textPTK=PRF(&\
& PMK,\
& (\
& quadtext``Pairwise key expansion''\
& quad||min(AA,SPA)\
& quad||max(AA,SPA)\
& quad||min(ANonce,SNonce)\
& quad||max(ANonce,SNonce)\
& )\
)&
endarray
]
enddocument
IMHO your formula is in an algorithm and ||
stands for "or". So you should have a look at algorithm packages. Anyway this is a non-algorithm but algorithmic answer:
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayr@l@l
textPTK=PRF&(PMK, & text``Pairwise key expansion''\
&& || min(AA,SPA)\
&& || max(AA,SPA)\
&& || min(ANonce,SNonce)\
&& || max(ANonce,SNonce)\
&)&
endarray
]
enddocument
Edit 1: Improved version
I prefer this way.
documentclassarticle
usepackageamsmath
begindocument
[
beginarrayrl
textPTK=PRF(&\
& PMK,\
& (\
& quadtext``Pairwise key expansion''\
& quad||min(AA,SPA)\
& quad||max(AA,SPA)\
& quad||min(ANonce,SNonce)\
& quad||max(ANonce,SNonce)\
& )\
)&
endarray
]
enddocument
edited yesterday
answered yesterday
JouleVJouleV
5,97821549
5,97821549
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
add a comment |
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
Alright thanks a lot! I'm not so good at LaTeX so I'll go for this one, since it looks much better than before! Not sure how much algorithm package would have improved it, but this looks good enough.
– Johan
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
@Johan I already improved my answer.
– JouleV
yesterday
add a comment |
I have two proposals. Most important is to properly define macros for specific object types in your document, in order to ensure uniformity.
documentclassarticle
usepackageamsmath
newcommandOORmathrel
newcommandtvar[1]mathrm#1
newcommandtdesc[1]textup``#1''
begindocument
[
beginaligned
tvarPTK=tvarPRFbigl(
&tvarPMK,tdescPairwise key expansion \
& OOR min(tvarAA,tvarSPA)\
& OOR max(tvarAA,tvarSPA)\
& OOR min(tvarANonce,tvarSNonce)\
& OOR max(tvarANonce,tvarSNonce) bigr)
endaligned
]
beginmultline*
tvarPTK=tvarPRFbigl(
tvarPMK,tdescPairwise key expansion
OOR min(tvarAA,tvarSPA) OOR \
max(tvarAA,tvarSPA)
OOR min(tvarANonce,tvarSNonce)
OOR max(tvarANonce,tvarSNonce) bigr)
endmultline*
enddocument
add a comment |
I have two proposals. Most important is to properly define macros for specific object types in your document, in order to ensure uniformity.
documentclassarticle
usepackageamsmath
newcommandOORmathrel
newcommandtvar[1]mathrm#1
newcommandtdesc[1]textup``#1''
begindocument
[
beginaligned
tvarPTK=tvarPRFbigl(
&tvarPMK,tdescPairwise key expansion \
& OOR min(tvarAA,tvarSPA)\
& OOR max(tvarAA,tvarSPA)\
& OOR min(tvarANonce,tvarSNonce)\
& OOR max(tvarANonce,tvarSNonce) bigr)
endaligned
]
beginmultline*
tvarPTK=tvarPRFbigl(
tvarPMK,tdescPairwise key expansion
OOR min(tvarAA,tvarSPA) OOR \
max(tvarAA,tvarSPA)
OOR min(tvarANonce,tvarSNonce)
OOR max(tvarANonce,tvarSNonce) bigr)
endmultline*
enddocument
add a comment |
I have two proposals. Most important is to properly define macros for specific object types in your document, in order to ensure uniformity.
documentclassarticle
usepackageamsmath
newcommandOORmathrel
newcommandtvar[1]mathrm#1
newcommandtdesc[1]textup``#1''
begindocument
[
beginaligned
tvarPTK=tvarPRFbigl(
&tvarPMK,tdescPairwise key expansion \
& OOR min(tvarAA,tvarSPA)\
& OOR max(tvarAA,tvarSPA)\
& OOR min(tvarANonce,tvarSNonce)\
& OOR max(tvarANonce,tvarSNonce) bigr)
endaligned
]
beginmultline*
tvarPTK=tvarPRFbigl(
tvarPMK,tdescPairwise key expansion
OOR min(tvarAA,tvarSPA) OOR \
max(tvarAA,tvarSPA)
OOR min(tvarANonce,tvarSNonce)
OOR max(tvarANonce,tvarSNonce) bigr)
endmultline*
enddocument
I have two proposals. Most important is to properly define macros for specific object types in your document, in order to ensure uniformity.
documentclassarticle
usepackageamsmath
newcommandOORmathrel
newcommandtvar[1]mathrm#1
newcommandtdesc[1]textup``#1''
begindocument
[
beginaligned
tvarPTK=tvarPRFbigl(
&tvarPMK,tdescPairwise key expansion \
& OOR min(tvarAA,tvarSPA)\
& OOR max(tvarAA,tvarSPA)\
& OOR min(tvarANonce,tvarSNonce)\
& OOR max(tvarANonce,tvarSNonce) bigr)
endaligned
]
beginmultline*
tvarPTK=tvarPRFbigl(
tvarPMK,tdescPairwise key expansion
OOR min(tvarAA,tvarSPA) OOR \
max(tvarAA,tvarSPA)
OOR min(tvarANonce,tvarSNonce)
OOR max(tvarANonce,tvarSNonce) bigr)
endmultline*
enddocument
answered yesterday
egregegreg
726k8819223231
726k8819223231
add a comment |
add a comment |
2
Welcome to TeX.SE. In order to help produce an expression that is not only visually appealing but also factually correct and meaningful, it would help to know what
||
stands for. Please advise.– Mico
yesterday
@Mico Seems more like a
norm
-like operator to me.– Raaja
yesterday
@Mico In cryptography
||
means string concatenation.– nomadictype
yesterday
What does "great" mean?
– David Richerby
yesterday
Perhaps you could be more specific in your request. What is it that you do not like about your current output? We are happy to help with LaTeXing specific requests, but without explaining what you want, "great" and "better" are matters of opinion.
– Sandy G
yesterday