본문 바로가기

LaTeX

Business card with QR-code and vcard by using Latex \usepackage{pstricks} \usepackage{pst-barcode} \begin{pspicture}(30mm,30mm) \obeylines \psbarcode{% BEGIN:VCARD^^J VERSION:3.0^^J N:Lee;Jeong Han^^J FN:Jeong Han Lee^^J ORG:-^^J TITLE:-^^J URL:^^J EMAIL;TYPE=internet,pref:xxxx@xxx.xxx^^J TEL;TYPE=voice,cell,pref:+82 00 0000 0000^^J TEL;TYPE=voice,work:+82 11 1111 0000^^J TEL;TYPE=fax,work:+82 11 1111 0001^^J ADR;TYPE=intl,work,postal,parcel:;;0 .. 더보기
dvipdf with a4 paper size The margin of the output pdf file are incorrect, if I want to use a4paper instead of letter without any option like as dvipdf test.dviIn that case, the following command gives me a good margin pdf file. dvipdf -sPAPERSIZE=a4 test.dvi 더보기
Inkscape 0.46 with latex formular error apt-get install pstoedit skencil inkscape and python-xml (not sure) Problem: Effects -> Render -> LaTeX formula returns nothing. Solution: Ubuntu 8.04 Hardy has a bug as https://bugs.launchpad.net/inkscape/+bug/55273 This bug can be fixed by cd /usr/share/inkscape/extensions sudo curl -s 'http://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch' | sudo patch -p0 or wget -c http.. 더보기
How to install a new latex style file in the local directory (ubuntu) mkdir texmf mkdir texmf/tex mkdir texmf/tex/latex scp algorithms.zip texmf/tex/latex/ cd texmf/tex/latex/ unzip algorithms.zip Archive: algorithms.zip creating: algorithms/ inflating: algorithms/COPYING inflating: algorithms/README inflating: algorithms/THANKS inflating: algorithms/algorithm.sty inflating: algorithms/algorithmic.sty inflating: algorithms/algorithms.pdf inflating: algorithms/algo.. 더보기
How to make a stand alone eps file by using Feynmp Feynmp(Feynmf) is found on http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/ # emacs test.tex & \documentclass{article} \usepackage{feynmp} \pagestyle{empty} \begin{document} \unitlength = 1mm \begin{fmffile}{example1} \begin{fmfchar*}(40,25) \fmfleft{em,ep} \fmflabel{$e^+$}{ep} \fmflabel{$e^-$}{em} \fmf{fermion}{em,Zee,ep} \fmf{photon,label=$\gamma,,Z$}{Zee,Zff} \fmf{fermion}{fb,Zff,.. 더보기
Trouble eps file created by AutoCAD in LaTeX See the new post which might be what you want to find. 2008/01/30 - [computer] - eps file by AutoCAD -------------------------------------------------------------------------------------------------------------------------------------------- There is an blank page, which include the eps file that is created by AutoCAD, in ps file, which is created by LaTeX. I installed three different gs on my l.. 더보기
How to display mathematical formula on the site with the public mathTex service. [En] mathTex is the one of solutions to display mathematical formula on the web site. With the following source code, One can get the following result: [ko] 블로그에 수식을 넣고 싶을때가 있다. LaTeX으로 너무나 익숙한 수식 입력방법을 대체할 방법을 찾다보니 mathTex이라는 것을 찾았다. 뒤져보니 테터용 플러그인으로 누군가가 만들어 놓은 것도 있었지만 (mimeTex을 사용해서) 그냥 public 서비스를 사용하기로 했다. 아래와 같은 소스를 입력을 하면, 다음과 같은 식을 얻을 수 있다. 더보기