<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Xfig%2FC2%2FFeedback-diagram-with-Maths%2FEnglish</id>
		<title>Xfig/C2/Feedback-diagram-with-Maths/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Xfig%2FC2%2FFeedback-diagram-with-Maths%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Xfig/C2/Feedback-diagram-with-Maths/English&amp;action=history"/>
		<updated>2026-04-30T21:41:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Xfig/C2/Feedback-diagram-with-Maths/English&amp;diff=44092&amp;oldid=prev</id>
		<title>Nancyvarkey: Created page with &quot;'''Title of script''': '''Embedding Mathematics in Xfig'''  '''Author: Kannan Moudgalya'''  '''Keywords: Xfig, LaTeX, pdflatex, pdfcrop, briss'''   [http://spoken-tutorial.org...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Xfig/C2/Feedback-diagram-with-Maths/English&amp;diff=44092&amp;oldid=prev"/>
				<updated>2018-08-21T04:10:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of script&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;&amp;#039;Embedding Mathematics in Xfig&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Author: Kannan Moudgalya&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: Xfig, LaTeX, pdflatex, pdfcrop, briss&amp;#039;&amp;#039;&amp;#039;   [http://spoken-tutorial.org...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of script''': '''Embedding Mathematics in Xfig'''&lt;br /&gt;
&lt;br /&gt;
'''Author: Kannan Moudgalya'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: Xfig, LaTeX, pdflatex, pdfcrop, briss'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://spoken-tutorial.org/wiki/index.php/File:Maths.zip Resources for the tutorial]&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-top:0.035cm solid #000000;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Visual Cue'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border:0.035cm solid #000000;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 1&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Welcome to the spoken tutorial on embedding mathematics in Xfig&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| In this tutorial, I shall explain how to Create this Figure &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Observe the mathematical expression in the second block &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can embed any mathematical expression after learning this tutorial &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 3&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We shall create the figure in the previous slide, starting from this figure &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
which was created in the spoken tutorial on “Feedback Diagrams through Xfig”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should learn this tutorial before starting the current one &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 4&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me now explain what all you need to learn the material taught in this tutorial &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am using Xfig, Version 3.2, patch level 5 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You also need LaTeX, and a familiarity with it &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You also need image cropping software&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pdfcrop works on Linux and Mac OS X &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will cover it in this tutorial &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Briss is said to work on Windows also, but not covered in this tutorial &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 5&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us go to Xfig&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Open file&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us choose file, then open. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we scroll through the list, we will see the file “feedback.fig”, created in the spoken tutorial on “Feedback Diagrams through Xfig”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us click it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will see the figure inside this box&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us open it. Let us bring it inside. Let us also zoom it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Save file&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Using the “save as” option on “file”, we will save this figure as maths.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us save it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We now have the file maths.fig&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Edit&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us select “Edit” and click the text “Plant”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me take the mouse here. Let me delete this and enter&lt;br /&gt;
&lt;br /&gt;
$G(z) = \frac z{z-1}$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that the mouse stays within the box while typing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default value for “Flag” is “normal” - change it to “special”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click “done”&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| As the text is long, it overlaps with other entries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us move the text outside the box and work with it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me click here. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me choose grid mode. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once we are satisfied with any changes that we may want here, we can put it back inside the box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us save the file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us export using combined pdf and latex files. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
File. Export. Combined pdf and LaTeX. Let us export. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is an error message I get. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But let us not worry about this. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me go to the terminal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me type “ls -lrt”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We get a list of files, with the last one being the most recent&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last two files are maths.pdf_t and maths.pdf&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Open maths.pdf&lt;br /&gt;
&lt;br /&gt;
on terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us give the command “open maths.pdf”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us bring it inside.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can see the block diagram without the mathematical expression&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me close this&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| C-X, C-f in emacs&lt;br /&gt;
&lt;br /&gt;
type maths.pdf_t&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us see maths.pdf_t in emacs editor that I have already opened&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is here. Let me open it.&lt;br /&gt;
&lt;br /&gt;
Please note that you do NOT have to use emacs &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can use WHATEVER editor that you are comfortable with&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Highlight includegraphics&lt;br /&gt;
&lt;br /&gt;
highlight color&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| You can see see that the “picture” environment is used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It also makes use of “includegraphics” and “color” packages – we need to tell LaTeX to take care of this requirement&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| C-X, C-f in emacs&lt;br /&gt;
&lt;br /&gt;
type maths-bp.tex&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me now open the file maths-bp.tex, I have already created for this tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have used article class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have used color and graphicx packages as these are used in the file pdf_t, the one we saw earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I want empty pagestyle, as I do not want the page number&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, I want to include the file maths.pdf_t&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| pdflatex maths-bp &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
open maths-bp.pdf&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us invoke the command “pdflatex maths-bp” in the terminal&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We get the message that the maths-bp.pdf is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us open it with the command “open maths-bp.pdf”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have the file we want. Let me zoom it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Move text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pdflatex maths-bp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
click maths-bp.pdf&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Now that we know that the mathematical expression is working, let us move the text inside the block&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us save and export. It is already in the required language.&lt;br /&gt;
&lt;br /&gt;
Export. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us dismiss this warning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me compile it again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us click the pdf browser that has the file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you see the mathematical expression inside the box, the way we want&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us now see what happens if we do not choose the special flag. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me come here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Xfig&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me edit the text, change the “Special Flag” to “normal”. Done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
File, save. Let me export&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me compile. Let me come here. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The formula is no longer in the form we want&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Xfig&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us change the “special flag” back to “special”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save, export&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Recompile. See that the file is in the form we want.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us now improve the appearance of this formula&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Xfig&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| In this case, the use of dfrac will make the fraction look better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In view of this, let us change frac to dfrac. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me click here. Keep the mouse inside the box. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Put d here. Done. Save, export.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us compile once again using “pdflatex”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We get the error message “Undefined control sequence” \dfrac&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LaTeX complains because the command \dfrac is defined in the package “Amsmath” but we have not included it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We need to include it in the file maths-bp.tex. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us do it. Let us go to emacs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Emacs&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Enter “\usepackage{amsmath}”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us save the file. Let us compile once again. Let me first exit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Terminal&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me now recompile. Now it compiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let us click this. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We see that the fraction has now come out nicely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have now achieved our objective of learning how to embed mathematical expressions in Xfig&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| It is important to note that Xfig does not interpret the LaTeX commands at all.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interpretation is done by the “pdflatex” command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The LaTeX commands have to be correct and consistent at the time of compilation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We will now explain how to remove the white space around the figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me go to the terminal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Pdfcrop&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Let me type the command “pdfcrop maths-bp.pdf” - this is the file we created, into “maths-out.pdf”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pdfcrop says one page written on this file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
“pdfcrop” takes an input file, trims the space around the figure and writes out the cropped file in the output file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
“pdfcrop” is already installed in my system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not have it, you need to install it first.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us view this output file by the command, “open maths-out.pdf”. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me bring it inside.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The figure has now become extremely compact. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The white space that was here has been completely removed. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can now insert this into documents. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me close this. Let me close this also. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me come back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| The software “briss” can also be used to crop the white space.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is supposed to work on Linux, Mac OS X and also on Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have checked its working on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But we will not demonstrate it here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We have now come to the end of this tutorial&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 6&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We have an assignment for you&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Make the diagram created in this tutorial more symmetric and beautiful&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try out different mathematical expressions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try out other options, such as flip and rotate, not covered in the spoken tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try to build different diagrams&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Explore the library&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do an internet search and locate information relevant to Xfig&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 7&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Useful learning material is available at [http://spoken-tutorial.org/ spoken-tutorial.org]. It is here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The concept of spoken tutorials is explained in &amp;quot;What is a Spoken Tutorial&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may learn LaTeX using the spoken tutorials available here, which I have downloaded in this tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tutorial on Mathematical Typesetting explains how to create maths in LaTeX &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tutorial on Tables and Figures explains how to place figures, of the type created in this tutorial, into documents &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This website has a lot of useful information, including, Xfig tutorials. Come back to the slides. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 8&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Spoken Tutorial is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT (NMEICT), MHRD, Government of India. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More information on this mission is available at &lt;br /&gt;
&lt;br /&gt;
spoken-tutorial.org/NMEICT-Intro &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 9&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We welcome your participation and also feedback. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is Kannan Moudgalya signing off. Thanks for joining. Goodbye.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	</feed>