<?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-timed</id>
		<title>Xfig/C2/Feedback-diagram-with-Maths/English-timed - 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-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Xfig/C2/Feedback-diagram-with-Maths/English-timed&amp;action=history"/>
		<updated>2026-04-11T19:08:15Z</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-timed&amp;diff=44096&amp;oldid=prev</id>
		<title>Nancyvarkey: Created page with &quot;{|Border=1 |'''Time''' |'''Narration''' |- |00:00 |Welcome to the '''spoken tutorial''' on embedding mathematics in '''Xfig'''. |- |00:05  |In this tutorial, I shall explain h...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Xfig/C2/Feedback-diagram-with-Maths/English-timed&amp;diff=44096&amp;oldid=prev"/>
				<updated>2018-08-21T04:19:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{|Border=1 |&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; |&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039; |- |00:00 |Welcome to the &amp;#039;&amp;#039;&amp;#039;spoken tutorial&amp;#039;&amp;#039;&amp;#039; on embedding mathematics in &amp;#039;&amp;#039;&amp;#039;Xfig&amp;#039;&amp;#039;&amp;#039;. |- |00:05  |In this tutorial, I shall explain h...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{|Border=1&lt;br /&gt;
|'''Time'''&lt;br /&gt;
|'''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|00:00&lt;br /&gt;
|Welcome to the '''spoken tutorial''' on embedding mathematics in '''Xfig'''.&lt;br /&gt;
|-&lt;br /&gt;
|00:05 &lt;br /&gt;
|In this tutorial, I shall explain how to create this figure. &lt;br /&gt;
|-&lt;br /&gt;
|00:11&lt;br /&gt;
|Observe the mathematical expression in the second block. &lt;br /&gt;
|-&lt;br /&gt;
|00:16&lt;br /&gt;
|You can embed any mathematical expression after learning this tutorial. &lt;br /&gt;
|-&lt;br /&gt;
|00:23&lt;br /&gt;
|We shall create the figure in the previous slide, starting from this figure, which was created in the spoken tutorial on '''“Feedback Diagrams through Xfig”'''. &lt;br /&gt;
|-&lt;br /&gt;
|00:36&lt;br /&gt;
|You should learn this tutorial before starting the current one. &lt;br /&gt;
|-&lt;br /&gt;
|00:42&lt;br /&gt;
|Let me now explain, what all you need to learn the material taught in this course. &lt;br /&gt;
|-&lt;br /&gt;
|00:48&lt;br /&gt;
|I am using '''Xfig''' Version '''3.2''', '''patch level 5'''. &lt;br /&gt;
|-&lt;br /&gt;
|00:52&lt;br /&gt;
|You also need '''LaTeX''' and a familiarity with it. &lt;br /&gt;
|-&lt;br /&gt;
|00:56&lt;br /&gt;
|You also need '''image cropping software'''. &lt;br /&gt;
|-&lt;br /&gt;
|01:01&lt;br /&gt;
|'''pdfcrop''' works on '''Linux''' and '''Mac OS X'''. We will cover it in this tutorial. &lt;br /&gt;
|-&lt;br /&gt;
|01:09&lt;br /&gt;
|'''Briss''' is said to work on '''Windows''' also, but not covered in this tutorial. &lt;br /&gt;
|-&lt;br /&gt;
|01:15&lt;br /&gt;
|Let us go to '''Xfig'''.&lt;br /&gt;
|-&lt;br /&gt;
|01:19&lt;br /&gt;
|Let us choose the '''File''', then '''Open'''. &lt;br /&gt;
|-&lt;br /&gt;
|01:26&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”. Let us click it. &lt;br /&gt;
|-&lt;br /&gt;
|01:42&lt;br /&gt;
|We will see the figure inside this box. &lt;br /&gt;
|-&lt;br /&gt;
|01:45&lt;br /&gt;
|Let us open it. &lt;br /&gt;
|-&lt;br /&gt;
|01:53&lt;br /&gt;
|Let us bring it inside. &lt;br /&gt;
|-&lt;br /&gt;
|02:01&lt;br /&gt;
|Let us also zoom it. &lt;br /&gt;
|-&lt;br /&gt;
|02:05&lt;br /&gt;
|Using the '''Save as''' option on '''“File”''', we will save this figure as '''maths'''. &lt;br /&gt;
|-&lt;br /&gt;
|02:20&lt;br /&gt;
|Let us '''save''' it. &lt;br /&gt;
|-&lt;br /&gt;
|02:24&lt;br /&gt;
|We now have the file '''&amp;quot;maths.fig&amp;quot;'''. &lt;br /&gt;
|-&lt;br /&gt;
|02:27&lt;br /&gt;
|Let us select '''“Edit”''' and click the text '''“Plant”'''. &lt;br /&gt;
|-&lt;br /&gt;
|02:34&lt;br /&gt;
|Let me take the '''mouse''' here. Let me delete this and enter &lt;br /&gt;
'''$G(z) = \frac z{z-1}$''' &lt;br /&gt;
|-&lt;br /&gt;
|02:50&lt;br /&gt;
|Make sure that the mouse stays within the box while typing. &lt;br /&gt;
|-&lt;br /&gt;
|02:56&lt;br /&gt;
|The default value for '''“Flag”''' is '''“Normal”''' - change it to '''“Special”''. &lt;br /&gt;
|-&lt;br /&gt;
|03:01&lt;br /&gt;
|Click '''“Done”'''. &lt;br /&gt;
|-&lt;br /&gt;
|03:07&lt;br /&gt;
|As the text is long, it overlaps with other entries. &lt;br /&gt;
|-&lt;br /&gt;
|03:12&lt;br /&gt;
|Let us move the text outside the box and work with it. &lt;br /&gt;
|-&lt;br /&gt;
|03:23&lt;br /&gt;
|Let me click here. &lt;br /&gt;
|-&lt;br /&gt;
|03:26&lt;br /&gt;
|Let me choose '''Grid Mode'''. &lt;br /&gt;
|-&lt;br /&gt;
|03:31&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;
|03:39&lt;br /&gt;
|Let us save this file. &lt;br /&gt;
|-&lt;br /&gt;
|03:44&lt;br /&gt;
|Let us '''export''' using combined '''pdf''' and '''Latex''' files. &lt;br /&gt;
|-&lt;br /&gt;
|03:51&lt;br /&gt;
|File &amp;gt; Export &amp;gt; Combined pdf/LaTeX. Let us '''Export'''. &lt;br /&gt;
|-&lt;br /&gt;
|04:03&lt;br /&gt;
|There is an error message that I get. But let us not worry about this. &lt;br /&gt;
|-&lt;br /&gt;
|04:11&lt;br /&gt;
|Let me go to the '''terminal'''. &lt;br /&gt;
|-&lt;br /&gt;
|04:13&lt;br /&gt;
|Let me type '''ls -lrt'''. &lt;br /&gt;
|-&lt;br /&gt;
|04:21&lt;br /&gt;
|We get a list of files, with the last one being the most recent. &lt;br /&gt;
|-&lt;br /&gt;
|04:26&lt;br /&gt;
|The last two files are '''maths.pdf_t''' and '''maths.pdf'''. &lt;br /&gt;
|-&lt;br /&gt;
|04:33&lt;br /&gt;
|Let us give the command '''open maths.pdf'''. &lt;br /&gt;
|-&lt;br /&gt;
|04:42&lt;br /&gt;
|Let us bring it inside. &lt;br /&gt;
|-&lt;br /&gt;
|04:45&lt;br /&gt;
|We can see the block diagram without the mathematical expression. &lt;br /&gt;
|-&lt;br /&gt;
|04:50&lt;br /&gt;
|Let me close this. &lt;br /&gt;
|-&lt;br /&gt;
|04:52&lt;br /&gt;
|Let us see '''maths.pdf_t''' in '''emacs editor''' that I have already opened. &lt;br /&gt;
|-&lt;br /&gt;
|05:01&lt;br /&gt;
|It is here. Let me open it. &lt;br /&gt;
|-&lt;br /&gt;
|05:14&lt;br /&gt;
|Please note that you do NOT have to use '''emacs'''. &lt;br /&gt;
|-&lt;br /&gt;
|05:17&lt;br /&gt;
|You can use WHATEVER editor that you are comfortable with. &lt;br /&gt;
|-&lt;br /&gt;
|05:22&lt;br /&gt;
|You can see  that the “picture” environment is used. &lt;br /&gt;
|-&lt;br /&gt;
|05:26&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;
|05:41&lt;br /&gt;
|Let me now open the file '''maths-bp.tex'''; I have already created for this tutorial. &lt;br /&gt;
|-&lt;br /&gt;
|05:59&lt;br /&gt;
|I have used '''article''' '''class'''. &lt;br /&gt;
|-&lt;br /&gt;
|06:02&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;
|06:15&lt;br /&gt;
|I want empty '''pagestyle''' as I do not want the page number. &lt;br /&gt;
|-&lt;br /&gt;
|06:20&lt;br /&gt;
|Finally, I want to include the file '''maths.pdf_t'''. &lt;br /&gt;
|-&lt;br /&gt;
|06: 27&lt;br /&gt;
|Let us invoke the command '''pdflatex maths-bp''' in the terminal. &lt;br /&gt;
|-&lt;br /&gt;
|06:42&lt;br /&gt;
|We get the message that the '''maths-bp.pdf''' is created. &lt;br /&gt;
|-&lt;br /&gt;
|06:48&lt;br /&gt;
|Let us open it with the command '''open maths-bp.pdf'''. &lt;br /&gt;
|-&lt;br /&gt;
|06:58&lt;br /&gt;
|We have the file we want. Let me zoom it. &lt;br /&gt;
|-&lt;br /&gt;
|07:07&lt;br /&gt;
|Now that we know that the mathematical expression is working, let us move the text inside the block. &lt;br /&gt;
|-&lt;br /&gt;
|07:30&lt;br /&gt;
|Let us '''save''' and '''export'''. It is already in the required language. '''Export'''. &lt;br /&gt;
|-&lt;br /&gt;
|07:38&lt;br /&gt;
|Let us dismiss this warning. &lt;br /&gt;
|-&lt;br /&gt;
|07:41&lt;br /&gt;
|Let me compile it again. &lt;br /&gt;
|-&lt;br /&gt;
|07:44&lt;br /&gt;
|Let us click the '''pdf''' browser that has the file. &lt;br /&gt;
|-&lt;br /&gt;
|07: 49&lt;br /&gt;
|Now you see the mathematical expression inside the box, the way we want. &lt;br /&gt;
|-&lt;br /&gt;
|07:56&lt;br /&gt;
|Let us now see what happens if we do not choose the '''Special''' flag. &lt;br /&gt;
|-&lt;br /&gt;
|08:01&lt;br /&gt;
|Let me come here. &lt;br /&gt;
|-&lt;br /&gt;
|08:04&lt;br /&gt;
|Let me edit the text, change the '''Special Flag''' to '''Normal'''. Done. &lt;br /&gt;
|-&lt;br /&gt;
|08:25&lt;br /&gt;
|'''File &amp;gt; Save'''. Let me '''export'''. &lt;br /&gt;
|-&lt;br /&gt;
|08:37&lt;br /&gt;
|Let me compile. Let me come here. &lt;br /&gt;
|-&lt;br /&gt;
|08:41&lt;br /&gt;
|The formula is no longer in the form we want. &lt;br /&gt;
|-&lt;br /&gt;
|08:46&lt;br /&gt;
|Let us change the “Special Flag” back to “Special”.&lt;br /&gt;
|-&lt;br /&gt;
|09:03&lt;br /&gt;
|'''Save, Export'''. &lt;br /&gt;
|-&lt;br /&gt;
|09:12&lt;br /&gt;
|Recompile. You see that the file is in the form we want.&lt;br /&gt;
|-&lt;br /&gt;
|09:18&lt;br /&gt;
|Let us now improve the appearance of this formula.&lt;br /&gt;
|-&lt;br /&gt;
|09:22&lt;br /&gt;
|In this case, the use of 'dfrac' will make the fraction look better. &lt;br /&gt;
|-&lt;br /&gt;
|09:28&lt;br /&gt;
|In view of this, let us change 'frac' to 'dfrac'. &lt;br /&gt;
|-&lt;br /&gt;
|09:38&lt;br /&gt;
|Let me click here. Keep the '''mouse''' inside the box. &lt;br /&gt;
|-&lt;br /&gt;
|09:43 &lt;br /&gt;
|Put 'd' here. Done. '''Save, Export'''. &lt;br /&gt;
|-&lt;br /&gt;
|09:52&lt;br /&gt;
|Let us compile once again using '''pdflatex'''. &lt;br /&gt;
|-&lt;br /&gt;
|10:03&lt;br /&gt;
|We get the error message '''“Undefined control sequence”''' '''&amp;quot;\dfrac&amp;quot;'''. &lt;br /&gt;
|-&lt;br /&gt;
|10:11&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;
|10:21&lt;br /&gt;
|We need to include it in the file '''maths-bp.tex''''. &lt;br /&gt;
|-&lt;br /&gt;
|10:27&lt;br /&gt;
|Let us do it. Let us go to emacs. &lt;br /&gt;
|-&lt;br /&gt;
|10:35&lt;br /&gt;
|Enter “\usepackage{amsmath}”. &lt;br /&gt;
|-&lt;br /&gt;
|10:41&lt;br /&gt;
|Let us '''save''' the file. Let us compile once again. Let me first exit. &lt;br /&gt;
|-&lt;br /&gt;
|10:49&lt;br /&gt;
|Let me now recompile. Now it compiles. Let us click this. &lt;br /&gt;
|-&lt;br /&gt;
|10:59&lt;br /&gt;
|We see that the fraction has now come out nicely. &lt;br /&gt;
|-&lt;br /&gt;
|11:03&lt;br /&gt;
|We have now achieved our objective of learning how to embed mathematical expressions in '''Xfig'''. &lt;br /&gt;
|-&lt;br /&gt;
|11:11&lt;br /&gt;
|It is important to note that Xfig does not interpret the LaTeX commands at all. &lt;br /&gt;
|-&lt;br /&gt;
|11:16&lt;br /&gt;
|The interpretation is done by the “'''pdflatex'''” command. &lt;br /&gt;
|-&lt;br /&gt;
|11:20&lt;br /&gt;
|The LaTeX commands have to be correct and consistent at the time of compilation. &lt;br /&gt;
|-&lt;br /&gt;
|11:25&lt;br /&gt;
|We will now explain how to remove the white space around the figure. &lt;br /&gt;
|-&lt;br /&gt;
|11:31&lt;br /&gt;
|Let me go to the terminal. &lt;br /&gt;
|-&lt;br /&gt;
|11:33&lt;br /&gt;
|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;
|11:53&lt;br /&gt;
|'''Pdfcrop''' says, one page written on this file. &lt;br /&gt;
|-&lt;br /&gt;
|11:57&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;
|12:09&lt;br /&gt;
| “'''pdfcrop'''” is already installed in my system. &lt;br /&gt;
|-&lt;br /&gt;
|12:12&lt;br /&gt;
|If you do not have it, you need to install it first. &lt;br /&gt;
|-&lt;br /&gt;
|12:15&lt;br /&gt;
|Let us view this output file by the command, '''“open maths-out.pdf”'''. &lt;br /&gt;
|-&lt;br /&gt;
|12:29&lt;br /&gt;
|Let me bring it inside. &lt;br /&gt;
|-&lt;br /&gt;
|12:31&lt;br /&gt;
|The figure has now become extremely compact. &lt;br /&gt;
|-&lt;br /&gt;
|12:34&lt;br /&gt;
|The white space that was here has been completely removed. &lt;br /&gt;
|-&lt;br /&gt;
|12:38&lt;br /&gt;
|We can now insert this into documents. &lt;br /&gt;
|-&lt;br /&gt;
|12:42&lt;br /&gt;
|Let me close this. Let me close this also. Let me close this also.&lt;br /&gt;
|-&lt;br /&gt;
|12:52&lt;br /&gt;
|Let me come back to the '''slide'''s. &lt;br /&gt;
|-&lt;br /&gt;
|12:57&lt;br /&gt;
|The software “briss” can also be used to crop the white space. &lt;br /&gt;
|-&lt;br /&gt;
|13:01&lt;br /&gt;
|It is supposed to work on '''Linux, Mac OS X''' and also on '''Windows'''. &lt;br /&gt;
|-&lt;br /&gt;
|13:08&lt;br /&gt;
|I have checked its working on '''Mac OS X'''. But we will not demonstrate it here. &lt;br /&gt;
|-&lt;br /&gt;
|13:17&lt;br /&gt;
|We have now come to the end of this tutorial.&lt;br /&gt;
|-&lt;br /&gt;
|13:20&lt;br /&gt;
|We have an assignment for you. Make the diagram created in this tutorial more symmetric and beautiful. &lt;br /&gt;
|-&lt;br /&gt;
|13:27&lt;br /&gt;
|Try out different mathematical expressions. &lt;br /&gt;
|-&lt;br /&gt;
|13:30&lt;br /&gt;
|Try out other options such as '''flip''' and '''rotate''', not covered in the spoken tutorial. &lt;br /&gt;
|-&lt;br /&gt;
|13:36&lt;br /&gt;
|Try to build different diagrams. Explore the '''library'''. &lt;br /&gt;
|-&lt;br /&gt;
|13:41&lt;br /&gt;
|Do an internet search and locate information relevant to '''Xfig'''. &lt;br /&gt;
|-&lt;br /&gt;
|13:47&lt;br /&gt;
|Useful learning material is available at '''spoken-tutorial.org'''. It is here. &lt;br /&gt;
|-&lt;br /&gt;
|14:02&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;
|14:09&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;
|14:19&lt;br /&gt;
|The tutorial on '''Mathematical Typesetting''' explains how to create maths in LaTeX. &lt;br /&gt;
|-&lt;br /&gt;
|14:29&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;
|14:38&lt;br /&gt;
|This website has a lot of information, including '''Xfig''' tutorials. Come back to the '''slide'''s. &lt;br /&gt;
|-&lt;br /&gt;
|14:53&lt;br /&gt;
|'''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;
|15:03&lt;br /&gt;
|More information on this mission is available at:spoken-tutorial.org/NMEICT-Intro. &lt;br /&gt;
|-&lt;br /&gt;
|15:12&lt;br /&gt;
|We welcome your participation and also feedback. &lt;br /&gt;
|-&lt;br /&gt;
|15:16&lt;br /&gt;
|This is Kannan Moudgalya, signing off. Thanks for joining.&lt;/div&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	</feed>