<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>atppp&#039;s Blog &#187; latex</title>
	<atom:link href="http://blog.wuxinan.net/archives/tag/latex/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.wuxinan.net</link>
	<description></description>
	<lastBuildDate>Tue, 08 Dec 2009 08:20:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>德国人的形式主义</title>
		<link>http://blog.wuxinan.net/archives/319</link>
		<comments>http://blog.wuxinan.net/archives/319#comments</comments>
		<pubDate>Sat, 08 Mar 2008 04:35:33 +0000</pubDate>
		<dc:creator>atppp</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.wuxinan.net/archives/319</guid>
		<description><![CDATA[下面这个材料转载自 Guide to LaTeX（第四版 146 页 7.5.1 节）。如果你直接看第三列，可能会觉得有点别扭，但又不一定说的上来哪里别扭；事实上，别扭的是有些符号之间的水平间距不理想。而第二列则是微调过水平间距的，看起来比第三列好看一些。熟悉 LaTeX 的可以仔细看第一列里相应的水平间距微调命令（这材料很有名，很多 LaTeX 书里都有，如果你看见过不要说我 TOOOOOLD！）。举例来说，第一行根号 2 和后面那个 x 之间需要稍微有点空隙；如果不留空隙（如第三列所示） ，看起来就比较难看。 如果你没觉得第二列比第三列好看，甚至没看出来两列有什么不一样，这很正常，不要觉得自己有问题！即便是每年成千上万屁挨着地用 LaTeX 生产出来的博士论文里，也只有极少数专门美化了这个水平间距问题，而这里面德国人占了大多数。为什么德国人这么注重形式？我也不知道，可能和他们民族严谨的作风有关。事实上，上面那本葵花宝典 Guide to LaTeX 的作者 Helmut Kopka 和 Patrick W. Daly 就是俩德国人。 说起德国人的严谨，我倒也认识一位严谨的德国物理学家。他光是让别人设计个 FPGA，就要专门写一个 RFC。这可不是拿 RFC 做个标题而已，而是严格按照标准 RFC 格式和风格书写，并且写完了那个 XHTML Strict 文档他还专门去 W3C 通过了验证。他把这个 RFC 发给同事们，结果半个月过去还没有人理他。于是他召集开会，说我老早就 request for comments，你们怎么一点 comments 都没有？你想啊，这么一群笨蛋物理学家，有谁会知道他电子邮件标题里的缩写 RFC 就是要 comments 的意思啊。 [...]]]></description>
			<content:encoded><![CDATA[<p>下面这个材料转载自 <em>Guide to LaTeX</em>（第四版 146 页 7.5.1 节）。如果你直接看第三列，可能会觉得有点别扭，但又不一定说的上来哪里别扭；事实上，别扭的是有些符号之间的水平间距不理想。而第二列则是微调过水平间距的，看起来比第三列好看一些。熟悉 LaTeX 的可以仔细看第一列里相应的水平间距微调命令（这材料很有名，很多 LaTeX 书里都有，如果你看见过不要说我 TOOOOOLD！）。举例来说，第一行根号 2 和后面那个 x 之间需要稍微有点空隙；如果不留空隙（如第三列所示） ，看起来就比较难看。</p>
<p><img src="http://blog.wuxinan.net/wp-content/uploads/2008/03/format.png" alt="format.png" /></p>
<p>如果你没觉得第二列比第三列好看，甚至没看出来两列有什么不一样，这很正常，不要觉得自己有问题！即便是每年成千上万屁挨着地用 LaTeX 生产出来的博士论文里，也只有极少数专门美化了这个水平间距问题，而这里面德国人占了大多数。为什么德国人这么注重形式？我也不知道，可能和他们民族严谨的作风有关。事实上，上面那本葵花宝典 <em>Guide to LaTeX</em> 的作者 Helmut Kopka 和 Patrick W. Daly 就是俩德国人。</p>
<p>说起德国人的严谨，我倒也认识一位严谨的德国物理学家。他光是让别人设计个 FPGA，就要专门写一个 RFC。这可不是拿 RFC 做个标题而已，而是严格按照标准 RFC 格式和风格书写，并且写完了那个 XHTML Strict 文档他还专门去 W3C 通过了验证。他把这个 RFC 发给同事们，结果半个月过去还没有人理他。于是他召集开会，说我老早就 request for comments，你们怎么一点 comments 都没有？你想啊，这么一群笨蛋物理学家，有谁会知道他电子邮件标题里的缩写 RFC 就是要 comments 的意思啊。</p>
<p>该德国仁兄给实验组建了一个内部 wiki，服务器装的是 Debian。在那个 wiki 的某个小角落里，他写了一大段使用 Debian 的理由，其中的废话包括：我最爱 Debian；Debian stable 很 stable；我装的，当然我选！等等……是因为有人和他争论哪个 Linux 发行版好的无聊问题么？不，事实上，整个实验组只有他一个人懂 Linux……</p>
<p>是严谨？还是形式主义呢？</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wuxinan.net/archives/319/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Microsoft Visio save as EPS</title>
		<link>http://blog.wuxinan.net/archives/282</link>
		<comments>http://blog.wuxinan.net/archives/282#comments</comments>
		<pubDate>Fri, 08 Feb 2008 22:04:29 +0000</pubDate>
		<dc:creator>atppp</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[eps]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lang:en]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[visio]]></category>

		<guid isPermaLink="false">http://blog.wuxinan.net/archives/282</guid>
		<description><![CDATA[I wrote the following procedure on 2008.02.08: To convert a Microsoft Visio document to EPS without losing scalable vector format (and without installing 3rd-party software&#8230;): Install Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office programs (only available for Office 2007?). Save Visio document as PDF in Visio 2007. Convert PDF to Postscript [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote the following procedure on 2008.02.08:</p>
<blockquote><p>To convert a Microsoft Visio document to EPS without losing scalable vector format (and without installing 3rd-party software&#8230;):</p>
<ol>
<li>Install <a href="http://r.office.microsoft.com/r/rlidMSAddinPDFXPS">Microsoft Save as PDF or XPS Add-in for 2007 Microsoft Office programs</a> (only available for Office 2007?).</li>
<li>Save Visio document as PDF in Visio 2007.</li>
<li>Convert PDF to Postscript (.ps) with pdf2ps utility.</li>
<li>Open .ps file with gsview, and select File -&gt; PS to EPS, be sure to check &#8220;Automatically calculate Bounding Box&#8221;.</li>
</ol>
<p>Now you have an EPS file to be embedded into your LaTeX document. Many other converting methods exist, see also <a href="http://www.itee.uq.edu.au/~emmerik/visioeps.html">Visio and EPS</a>.</p></blockquote>
<p>Here are some updates (edited on 2009.01.30):</p>
<ol>
<li>In theory, you should be able to open that saved PDF directly in gsview and convert to EPS, but gsview either crashes or refuses to accept the PDF.</li>
<li>In some cases, e.g. when you compile LaTeX directly to PDF using pdflatex, you just need a PDF figure with correct size. In that case, you can set the document size in Visio: File -&gt; Page Setup -&gt; Page Size (tab) -&gt; Size to fit drawing contents, and then save the Visio document to PDF, which will then be in correct size ready to be embedded into LaTeX.</li>
<li>To create a Postscript file, you don&#8217;t necessarily need to save as PDF and convert to .ps using pdf2ps. All you need to do is to use a postscript printer (most modern printers are, including most PDF writers) and print to file. That would create a postscript file which can then be passed to gsview and converted to EPS by adding a bounding box. Note: this is in fact a generic way of converting anything to (vector-format) EPS/PDF with bounding box.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.wuxinan.net/archives/282/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>LaTeX quick start</title>
		<link>http://blog.wuxinan.net/archives/271</link>
		<comments>http://blog.wuxinan.net/archives/271#comments</comments>
		<pubDate>Sat, 13 Jan 2007 06:00:34 +0000</pubDate>
		<dc:creator>atppp</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lang:en]]></category>
		<category><![CDATA[latex]]></category>

		<guid isPermaLink="false">http://blog.wuxinan.net/archives/271</guid>
		<description><![CDATA[There are many different ways to compile a LaTeX source file to a PDF. Following is one of the many ways to create a such LaTeX working environment on a completely new Windows box: Without saying, you need a PDF viewer, e.g. Adobe Reader. Install Ghostscript and GSview Install MiKTeX. A basic MiKTeX system is [...]]]></description>
			<content:encoded><![CDATA[<p>There are many different ways to compile a LaTeX source file to a PDF. Following is one of the many ways to create a such LaTeX working environment on a  completely new Windows box:</p>
<ol>
<li>Without saying, you need a PDF viewer, e.g. Adobe Reader.</li>
<li>Install <a href="http://pages.cs.wisc.edu/~ghost/">Ghostscript and GSview</a></li>
<li>Install <a href="http://miktex.org/">MiKTeX</a>. A basic MiKTeX system is enough for most purpose.</li>
<li>Install <a href="http://www.toolscenter.org/">TeXnicCenter</a>. This is an integrated LaTeX editor, by which you will compile your LaTeX source and view result using tools installed above.</li>
<li>When you start TeXnicCenter:
<ol>
<li>A configuration wizard may ask for a LaTeX distribution location, select where file latex.exe is. In my case, it&#8217;s &#8220;C:\Program Files\MiKTeX 2.6\miktex\bin&#8221;.</li>
<li>Next, wizard may ask PDF viewer location, select your viewer. Mine is &#8220;C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe&#8221;.</li>
<li>Wizard will then create output profiles (compile/view commands) for DVI/PS/PDF.</li>
</ol>
</li>
<li>Compile your first LaTeX:
<ol>
<li>Create a new file and save to a new directory.</li>
<li>Type in a simple document, like:
<pre>\documentclass{article}
\begin{document}
\[
x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.
\]
I can do math!
\end{document}</pre>
</li>
<li>In the toolbar, select &#8220;LaTeX =&gt; PDF&#8221; output profile, and click &#8220;Build current file&#8221; right next to it.</li>
<li>Click &#8220;View Output&#8221; in the same toolbar. You should have math in your PDF. Congratulation!</li>
</ol>
</li>
</ol>
<p>LaTeX: easy to start, hard to master&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wuxinan.net/archives/271/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

