How to write a list of formulas?
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
I am writing a list of physical formulas, so I create this MWE:
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagetasks
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
begindocument
section*Example 1
begintasks(2)
task textbfExample a. $formula$
task textbfExample b. $dfracx+222222121$
task textbfFunción X. $f(x)=x+523134121displaystyleprodxxxxxyyyyyt$
task textbfExample d. $dfracdisplaystylelim_xto af(x)vec x2$
task textbfMean Value Theorem. $abvddcdd$
endtasks
section*Example 2
begintasks(2)
task textbfExample f. $formula$
task textbfExample g. $another textformula$
endtasks
enddocument
I have many more formulas, however I find it difficult to continue in this way for five reasons:
- I do not know how to correctly express the disposition of the items (two columns? Three?);
- There are times when two formulas, one on top of the other, are stuck together, and the visual aspect is bad;
- At most each element has two columns:
Description.
$formula$
. Write the text in bold for each item and$...$
are a waste of time; - I do not know how to continue the numbering automatically between each section (I could change the counter but it is another waste of time because if I add a formula in the middle of the others I must manually change the value);
- There are some formulas that have no description, only
$...$
.
Does anyone know how to reduce the time spent writing each item homogeneously?
Feel free to change the tags.
Thanks!
tables equations formatting numbering
add a comment |Â
up vote
6
down vote
favorite
I am writing a list of physical formulas, so I create this MWE:
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagetasks
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
begindocument
section*Example 1
begintasks(2)
task textbfExample a. $formula$
task textbfExample b. $dfracx+222222121$
task textbfFunción X. $f(x)=x+523134121displaystyleprodxxxxxyyyyyt$
task textbfExample d. $dfracdisplaystylelim_xto af(x)vec x2$
task textbfMean Value Theorem. $abvddcdd$
endtasks
section*Example 2
begintasks(2)
task textbfExample f. $formula$
task textbfExample g. $another textformula$
endtasks
enddocument
I have many more formulas, however I find it difficult to continue in this way for five reasons:
- I do not know how to correctly express the disposition of the items (two columns? Three?);
- There are times when two formulas, one on top of the other, are stuck together, and the visual aspect is bad;
- At most each element has two columns:
Description.
$formula$
. Write the text in bold for each item and$...$
are a waste of time; - I do not know how to continue the numbering automatically between each section (I could change the counter but it is another waste of time because if I add a formula in the middle of the others I must manually change the value);
- There are some formulas that have no description, only
$...$
.
Does anyone know how to reduce the time spent writing each item homogeneously?
Feel free to change the tags.
Thanks!
tables equations formatting numbering
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I am writing a list of physical formulas, so I create this MWE:
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagetasks
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
begindocument
section*Example 1
begintasks(2)
task textbfExample a. $formula$
task textbfExample b. $dfracx+222222121$
task textbfFunción X. $f(x)=x+523134121displaystyleprodxxxxxyyyyyt$
task textbfExample d. $dfracdisplaystylelim_xto af(x)vec x2$
task textbfMean Value Theorem. $abvddcdd$
endtasks
section*Example 2
begintasks(2)
task textbfExample f. $formula$
task textbfExample g. $another textformula$
endtasks
enddocument
I have many more formulas, however I find it difficult to continue in this way for five reasons:
- I do not know how to correctly express the disposition of the items (two columns? Three?);
- There are times when two formulas, one on top of the other, are stuck together, and the visual aspect is bad;
- At most each element has two columns:
Description.
$formula$
. Write the text in bold for each item and$...$
are a waste of time; - I do not know how to continue the numbering automatically between each section (I could change the counter but it is another waste of time because if I add a formula in the middle of the others I must manually change the value);
- There are some formulas that have no description, only
$...$
.
Does anyone know how to reduce the time spent writing each item homogeneously?
Feel free to change the tags.
Thanks!
tables equations formatting numbering
I am writing a list of physical formulas, so I create this MWE:
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagetasks
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
begindocument
section*Example 1
begintasks(2)
task textbfExample a. $formula$
task textbfExample b. $dfracx+222222121$
task textbfFunción X. $f(x)=x+523134121displaystyleprodxxxxxyyyyyt$
task textbfExample d. $dfracdisplaystylelim_xto af(x)vec x2$
task textbfMean Value Theorem. $abvddcdd$
endtasks
section*Example 2
begintasks(2)
task textbfExample f. $formula$
task textbfExample g. $another textformula$
endtasks
enddocument
I have many more formulas, however I find it difficult to continue in this way for five reasons:
- I do not know how to correctly express the disposition of the items (two columns? Three?);
- There are times when two formulas, one on top of the other, are stuck together, and the visual aspect is bad;
- At most each element has two columns:
Description.
$formula$
. Write the text in bold for each item and$...$
are a waste of time; - I do not know how to continue the numbering automatically between each section (I could change the counter but it is another waste of time because if I add a formula in the middle of the others I must manually change the value);
- There are some formulas that have no description, only
$...$
.
Does anyone know how to reduce the time spent writing each item homogeneously?
Feel free to change the tags.
Thanks!
tables equations formatting numbering
tables equations formatting numbering
asked Sep 2 at 6:48
manooooh
594112
594112
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
7
down vote
accepted
My proposal is to create a new environment, with a tabular
whose column definitions allow you to have bold descriptions and math formulae without code repetition.
For the numbering, I copied from How to enumerate the rows of a table.
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
usepackagearray
newcounterrowcount
setcounterrowcount0
renewcommandarraystretch2
usepackageenviron
NewEnvironmialista%
beginflushleft
begintabular@stepcounterrowcountmakebox[2em][r]therowcount)hspace*tabcolsep%
>bfseriesraggedrightarraybackslashp.3linewidth>$l<$
BODY
endtabular
endflushleft
begindocument
section*Example 1
beginmialista
Example a.& formula\
Example b. & dfracx+222222121\
Función X. & f(x)=x+523134121displaystyleprodxxxxxyyyyyt\
Example d. & dfracdisplaystylelim_xto af(x)vec x2\
Mean Value Theorem. & abvddcdd\
endmialista
section*Example 2
beginmialista
Example f. & formula\
Example g. & another text formula\
endmialista
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
accepted
My proposal is to create a new environment, with a tabular
whose column definitions allow you to have bold descriptions and math formulae without code repetition.
For the numbering, I copied from How to enumerate the rows of a table.
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
usepackagearray
newcounterrowcount
setcounterrowcount0
renewcommandarraystretch2
usepackageenviron
NewEnvironmialista%
beginflushleft
begintabular@stepcounterrowcountmakebox[2em][r]therowcount)hspace*tabcolsep%
>bfseriesraggedrightarraybackslashp.3linewidth>$l<$
BODY
endtabular
endflushleft
begindocument
section*Example 1
beginmialista
Example a.& formula\
Example b. & dfracx+222222121\
Función X. & f(x)=x+523134121displaystyleprodxxxxxyyyyyt\
Example d. & dfracdisplaystylelim_xto af(x)vec x2\
Mean Value Theorem. & abvddcdd\
endmialista
section*Example 2
beginmialista
Example f. & formula\
Example g. & another text formula\
endmialista
enddocument
add a comment |Â
up vote
7
down vote
accepted
My proposal is to create a new environment, with a tabular
whose column definitions allow you to have bold descriptions and math formulae without code repetition.
For the numbering, I copied from How to enumerate the rows of a table.
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
usepackagearray
newcounterrowcount
setcounterrowcount0
renewcommandarraystretch2
usepackageenviron
NewEnvironmialista%
beginflushleft
begintabular@stepcounterrowcountmakebox[2em][r]therowcount)hspace*tabcolsep%
>bfseriesraggedrightarraybackslashp.3linewidth>$l<$
BODY
endtabular
endflushleft
begindocument
section*Example 1
beginmialista
Example a.& formula\
Example b. & dfracx+222222121\
Función X. & f(x)=x+523134121displaystyleprodxxxxxyyyyyt\
Example d. & dfracdisplaystylelim_xto af(x)vec x2\
Mean Value Theorem. & abvddcdd\
endmialista
section*Example 2
beginmialista
Example f. & formula\
Example g. & another text formula\
endmialista
enddocument
add a comment |Â
up vote
7
down vote
accepted
up vote
7
down vote
accepted
My proposal is to create a new environment, with a tabular
whose column definitions allow you to have bold descriptions and math formulae without code repetition.
For the numbering, I copied from How to enumerate the rows of a table.
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
usepackagearray
newcounterrowcount
setcounterrowcount0
renewcommandarraystretch2
usepackageenviron
NewEnvironmialista%
beginflushleft
begintabular@stepcounterrowcountmakebox[2em][r]therowcount)hspace*tabcolsep%
>bfseriesraggedrightarraybackslashp.3linewidth>$l<$
BODY
endtabular
endflushleft
begindocument
section*Example 1
beginmialista
Example a.& formula\
Example b. & dfracx+222222121\
Función X. & f(x)=x+523134121displaystyleprodxxxxxyyyyyt\
Example d. & dfracdisplaystylelim_xto af(x)vec x2\
Mean Value Theorem. & abvddcdd\
endmialista
section*Example 2
beginmialista
Example f. & formula\
Example g. & another text formula\
endmialista
enddocument
My proposal is to create a new environment, with a tabular
whose column definitions allow you to have bold descriptions and math formulae without code repetition.
For the numbering, I copied from How to enumerate the rows of a table.
documentclass[12pt,a4paper]article
usepackageamsmath
usepackage[english]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackage[top=1cm,bottom=1cm,left=1cm,right=1cm,marginparwidth=1.75cm]geometry
usepackagearray
newcounterrowcount
setcounterrowcount0
renewcommandarraystretch2
usepackageenviron
NewEnvironmialista%
beginflushleft
begintabular@stepcounterrowcountmakebox[2em][r]therowcount)hspace*tabcolsep%
>bfseriesraggedrightarraybackslashp.3linewidth>$l<$
BODY
endtabular
endflushleft
begindocument
section*Example 1
beginmialista
Example a.& formula\
Example b. & dfracx+222222121\
Función X. & f(x)=x+523134121displaystyleprodxxxxxyyyyyt\
Example d. & dfracdisplaystylelim_xto af(x)vec x2\
Mean Value Theorem. & abvddcdd\
endmialista
section*Example 2
beginmialista
Example f. & formula\
Example g. & another text formula\
endmialista
enddocument
answered Sep 2 at 7:05
CarLaTeX
25.5k443111
25.5k443111
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f448950%2fhow-to-write-a-list-of-formulas%23new-answer', 'question_page');
);
Post as a guest
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
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
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