Create a Handwriting environment for both text and Math

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I would like to create an environment that would allow me to have parts of a document in "Handwriting mode".



So the objective would be to be able to type the following in the source code :



beginHandwriting

This text should look like it is Hand written


$This cdot equation = as times well$

endHandwriting


from another thread I tried



usepackagemathpazo
usepackage[version=3]mhchem

usepackageamsmath
usepackagesiunitx
newenvironmentHandwritingfontfamilyaugieselectfontpar


but this does not help for the equation.



I suspect the use of the mathastext package could help but I did not figure out how yet.



Bonus question that makes matters a bit more complicated is : would it be possible to use the "Chalkduster" font instead of "augie" ?



Thank you for you help,
Clément










share|improve this question









New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
    – Skillmon
    49 mins ago







  • 2




    try out this and that examples. But changing the font to augie. Ok, I will make an answer.
    – jfbu
    48 mins ago











  • jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
    – Clément Moissard
    46 mins ago











  • @ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
    – jfbu
    38 mins ago










  • Yup, your next answer is perfect, thanks !
    – Clément Moissard
    32 mins ago














up vote
2
down vote

favorite












I would like to create an environment that would allow me to have parts of a document in "Handwriting mode".



So the objective would be to be able to type the following in the source code :



beginHandwriting

This text should look like it is Hand written


$This cdot equation = as times well$

endHandwriting


from another thread I tried



usepackagemathpazo
usepackage[version=3]mhchem

usepackageamsmath
usepackagesiunitx
newenvironmentHandwritingfontfamilyaugieselectfontpar


but this does not help for the equation.



I suspect the use of the mathastext package could help but I did not figure out how yet.



Bonus question that makes matters a bit more complicated is : would it be possible to use the "Chalkduster" font instead of "augie" ?



Thank you for you help,
Clément










share|improve this question









New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
    – Skillmon
    49 mins ago







  • 2




    try out this and that examples. But changing the font to augie. Ok, I will make an answer.
    – jfbu
    48 mins ago











  • jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
    – Clément Moissard
    46 mins ago











  • @ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
    – jfbu
    38 mins ago










  • Yup, your next answer is perfect, thanks !
    – Clément Moissard
    32 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I would like to create an environment that would allow me to have parts of a document in "Handwriting mode".



So the objective would be to be able to type the following in the source code :



beginHandwriting

This text should look like it is Hand written


$This cdot equation = as times well$

endHandwriting


from another thread I tried



usepackagemathpazo
usepackage[version=3]mhchem

usepackageamsmath
usepackagesiunitx
newenvironmentHandwritingfontfamilyaugieselectfontpar


but this does not help for the equation.



I suspect the use of the mathastext package could help but I did not figure out how yet.



Bonus question that makes matters a bit more complicated is : would it be possible to use the "Chalkduster" font instead of "augie" ?



Thank you for you help,
Clément










share|improve this question









New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I would like to create an environment that would allow me to have parts of a document in "Handwriting mode".



So the objective would be to be able to type the following in the source code :



beginHandwriting

This text should look like it is Hand written


$This cdot equation = as times well$

endHandwriting


from another thread I tried



usepackagemathpazo
usepackage[version=3]mhchem

usepackageamsmath
usepackagesiunitx
newenvironmentHandwritingfontfamilyaugieselectfontpar


but this does not help for the equation.



I suspect the use of the mathastext package could help but I did not figure out how yet.



Bonus question that makes matters a bit more complicated is : would it be possible to use the "Chalkduster" font instead of "augie" ?



Thank you for you help,
Clément







math-mode fonts environments text






share|improve this question









New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago





















New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









Clément Moissard

133




133




New contributor




Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Clément Moissard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
    – Skillmon
    49 mins ago







  • 2




    try out this and that examples. But changing the font to augie. Ok, I will make an answer.
    – jfbu
    48 mins ago











  • jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
    – Clément Moissard
    46 mins ago











  • @ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
    – jfbu
    38 mins ago










  • Yup, your next answer is perfect, thanks !
    – Clément Moissard
    32 mins ago
















  • Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
    – Skillmon
    49 mins ago







  • 2




    try out this and that examples. But changing the font to augie. Ok, I will make an answer.
    – jfbu
    48 mins ago











  • jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
    – Clément Moissard
    46 mins ago











  • @ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
    – jfbu
    38 mins ago










  • Yup, your next answer is perfect, thanks !
    – Clément Moissard
    32 mins ago















Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
– Skillmon
49 mins ago





Answer to the bonus question: Yes. If you use LuaLaTeX or XeLaTeX you can use any font installed on your computer.
– Skillmon
49 mins ago





2




2




try out this and that examples. But changing the font to augie. Ok, I will make an answer.
– jfbu
48 mins ago





try out this and that examples. But changing the font to augie. Ok, I will make an answer.
– jfbu
48 mins ago













jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
– Clément Moissard
46 mins ago





jfbu, thank you for your answer. Though, I don't think it answers my question, since it changes the font for the entire document, which is not what I want. Skillmon, thank you, I just found it a bit difficult to use the newfontfamily command right. I did the following : newfontfamilyChalk[Chalkduster.ttf] and then it was easy enough to use, somewhere in the document : Chalk This text is an imitation of a Chalkdust-written text But as I tried to use the font in a new environment (my "Handwriting" environment for example), the compiling time started to take ages.
– Clément Moissard
46 mins ago













@ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
– jfbu
38 mins ago




@ClémentMoissard I provided an answer with local changes only. You refer to my comment which indeed was for entire document. I had not really read your post then...
– jfbu
38 mins ago












Yup, your next answer is perfect, thanks !
– Clément Moissard
32 mins ago




Yup, your next answer is perfect, thanks !
– Clément Moissard
32 mins ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Example with mathastext:



documentclassarticle

usepackagemathpazo
usepackage[version=3]mhchem
usepackageamsmath
usepackagesiunitx
usepackage[subdued]mathastext% no italic for Augie anyhow
MTfamilyaugie
Mathastext[augie]

newenvironmentHandwritingMTversionaugiepar

begindocument

This test is normal, and math too ($x^n+y^n = z^n$).

beginHandwriting

This text should look like it is Hand written.

This equation as well:
[x^n + y^n = z^n]

endHandwriting

enddocument


enter image description here






share|improve this answer




















  • Oh cool ! This is brilliant ! Thank you a lot jfbu =)
    – Clément Moissard
    37 mins ago










  • @ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
    – jfbu
    31 mins ago










  • Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
    – Clément Moissard
    27 mins ago











  • Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
    – Clément Moissard
    2 mins ago










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Clément Moissard is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453429%2fcreate-a-handwriting-environment-for-both-text-and-math%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










Example with mathastext:



documentclassarticle

usepackagemathpazo
usepackage[version=3]mhchem
usepackageamsmath
usepackagesiunitx
usepackage[subdued]mathastext% no italic for Augie anyhow
MTfamilyaugie
Mathastext[augie]

newenvironmentHandwritingMTversionaugiepar

begindocument

This test is normal, and math too ($x^n+y^n = z^n$).

beginHandwriting

This text should look like it is Hand written.

This equation as well:
[x^n + y^n = z^n]

endHandwriting

enddocument


enter image description here






share|improve this answer




















  • Oh cool ! This is brilliant ! Thank you a lot jfbu =)
    – Clément Moissard
    37 mins ago










  • @ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
    – jfbu
    31 mins ago










  • Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
    – Clément Moissard
    27 mins ago











  • Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
    – Clément Moissard
    2 mins ago














up vote
3
down vote



accepted










Example with mathastext:



documentclassarticle

usepackagemathpazo
usepackage[version=3]mhchem
usepackageamsmath
usepackagesiunitx
usepackage[subdued]mathastext% no italic for Augie anyhow
MTfamilyaugie
Mathastext[augie]

newenvironmentHandwritingMTversionaugiepar

begindocument

This test is normal, and math too ($x^n+y^n = z^n$).

beginHandwriting

This text should look like it is Hand written.

This equation as well:
[x^n + y^n = z^n]

endHandwriting

enddocument


enter image description here






share|improve this answer




















  • Oh cool ! This is brilliant ! Thank you a lot jfbu =)
    – Clément Moissard
    37 mins ago










  • @ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
    – jfbu
    31 mins ago










  • Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
    – Clément Moissard
    27 mins ago











  • Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
    – Clément Moissard
    2 mins ago












up vote
3
down vote



accepted







up vote
3
down vote



accepted






Example with mathastext:



documentclassarticle

usepackagemathpazo
usepackage[version=3]mhchem
usepackageamsmath
usepackagesiunitx
usepackage[subdued]mathastext% no italic for Augie anyhow
MTfamilyaugie
Mathastext[augie]

newenvironmentHandwritingMTversionaugiepar

begindocument

This test is normal, and math too ($x^n+y^n = z^n$).

beginHandwriting

This text should look like it is Hand written.

This equation as well:
[x^n + y^n = z^n]

endHandwriting

enddocument


enter image description here






share|improve this answer












Example with mathastext:



documentclassarticle

usepackagemathpazo
usepackage[version=3]mhchem
usepackageamsmath
usepackagesiunitx
usepackage[subdued]mathastext% no italic for Augie anyhow
MTfamilyaugie
Mathastext[augie]

newenvironmentHandwritingMTversionaugiepar

begindocument

This test is normal, and math too ($x^n+y^n = z^n$).

beginHandwriting

This text should look like it is Hand written.

This equation as well:
[x^n + y^n = z^n]

endHandwriting

enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 41 mins ago









jfbu

42.4k63137




42.4k63137











  • Oh cool ! This is brilliant ! Thank you a lot jfbu =)
    – Clément Moissard
    37 mins ago










  • @ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
    – jfbu
    31 mins ago










  • Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
    – Clément Moissard
    27 mins ago











  • Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
    – Clément Moissard
    2 mins ago
















  • Oh cool ! This is brilliant ! Thank you a lot jfbu =)
    – Clément Moissard
    37 mins ago










  • @ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
    – jfbu
    31 mins ago










  • Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
    – Clément Moissard
    27 mins ago











  • Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
    – Clément Moissard
    2 mins ago















Oh cool ! This is brilliant ! Thank you a lot jfbu =)
– Clément Moissard
37 mins ago




Oh cool ! This is brilliant ! Thank you a lot jfbu =)
– Clément Moissard
37 mins ago












@ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
– jfbu
31 mins ago




@ClémentMoissard glad it helps. I realize that compared to French Cursive the Augie font has glyphs for +, -, =, which is satisfying here. As explained by mathastext doc, big symbols however (sums, products, integrals) of course remain the ones specified by other packages.
– jfbu
31 mins ago












Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
– Clément Moissard
27 mins ago





Yep, that is why I am trying to get the Chalkduster to work (which does have cool big symbols), but still without success. Quite frustratingly, when I add usepackagefontspec newfontfamilyChalk[Chalkduster.ttf] just at the beginning of your code, even the augie formatting disappears
– Clément Moissard
27 mins ago













Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
– Clément Moissard
2 mins ago




Just to really push the idea, I found that it is quite easy to add a background color to the environment, for example : definecolorfloralwhitergb1.0, 0.98, 0.94 newenvironmentHandwriting MTversionaugie beginmdframed[backgroundcolor=floralwhite] par endmdframed But would it be possible to add lines ? The idea would be for the text to look as if it was handwritten on a school-type sheet of paper, with lines. tex.stackexchange.com/questions/188164/… answers for the full document
– Clément Moissard
2 mins ago










Clément Moissard is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Clément Moissard is a new contributor. Be nice, and check out our Code of Conduct.












Clément Moissard is a new contributor. Be nice, and check out our Code of Conduct.











Clément Moissard is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453429%2fcreate-a-handwriting-environment-for-both-text-and-math%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

Confectionery