Header

  1. View current page

    노이쉬*^^*의 노트

Profile_img_60x60_01
0

Latex on WordPress : A Primer

Translation Log

  • 워드프레스에서 Latex를 사용하는 방법을 간단하게 소개!!!
  • 심심해서... 건드려 봄...
  • 쩝-_- 이건 머... 몇번 했는데 발전이 없다냐 ㅠㅠ
  • 영어와 한글 같이 보는 것 추천!!!

--------------------------------------------------------------------------------------------------

Latex on WordPress : A Primer
출처 : http:// jalaj.net/2007/03/23/latex-on-wordress-a-primer

Yesterday I came across a post Math for the Masses on Wordpress.com, announcing the avaibility of Latex on Wordpress.com . I should learn it, I thought, and started searching for good tutorials to get me started. I got good ones, particularly Short Math Guide for Latex by Michael Downes, that helped me to start. However all sources were not relevant for Latex as implemented on Wordpress.com, (i.e. most of codes on beginning pages did not work on Wordpress.com). I searched hard to find a tutorial that could start from start, and couldn’t. Now that I have started learning successfully, I though if I could fill this gap.

어제 워드프레스 닷켐에 Math for Masses라는 제목으로된 글을 봤고 워드프레스에서는 Latex를 이용할 수 있다고 발표했다. 나는 Latex를 배워야만 한다는 생각을 했다. 그리고 내가 그것을 시작하기에 좋은 튜토리얼을 검색하기 시작했다. 나는 좋은 것을 구했는데 Michael Downes가 작성한 Short Math Guide 이다. 이 문서는 내가 시작하는 도움을 주었다. 그러나 모든 소스는 워드프레스에서 구현되어 있는 Latex와 관련이 없었다. (예를 들면 시작 페이지의 대부분의 코드는 워드프레스에서 작동하지 않는다.) 나는 시작하기 위한 튜토리얼을 찾기 위해 힙겹게 검색했다. 내 생각에 만약 내가 이 갭을 채울 수 있다면, 지금 나는 성공적으로 배우기 시작했다.

Latex is designed to help authors write the content without much worrying of how it would reproduce on page. If I had to write constantly on a single line, as I have been doing till now on this post then there is not concern but what if I need to go above or below the line. Of course HTML tags for SubScript and SuperScript would have helped but Latex does more so lets get started with Latex, the SubScript and SuperScript.

Latex는 작성자가 페이지에서 어떻게 하면 다시 만들 수 있는지에 대해서 많이 걱정하는 것이 없이 컨텐츠를 작성하는데 도움을 주게 설계되었다. 만 약 내가 자주 한줄로 작성한다면, (as I have been doing till now on this post then there is not concern but what if I need to go above or below the line. 왜그리 복잡하냐-_-).물론 윗첨자와 아래첨자를 위한 HTML 태그는 도와줄 것이지만 Latex는 조금 더 도와줄 것이며 그래서 윗첨자, 아래첨자를 Latex로 시작할 수 있게 해준다--?

Latex code on Wordpress.com post should start with $latex and end with a $. To make a character Subscript or Superscript you can add an underscore “_” or an accent “^” respectively. See codes below and their respective Latex rendering.

워드프레스 글에서 Latex는  $latex로 시작하고 끝은 $로 끝난다. 윗첨자 또는 아래첨자를 만들기 위해서는 각각 "_" 또는 "^"를 추가하면 된다. 아래의 코드를 보고 그리고 각각 그것들의 Latex가 보여주는 것을 보시면 됩니다.

$latex H_2O$

$latex 2^n+1$


You might have noticed that only one character that immediately follows the “_” or “^” is shifted from its position. What if you wanted it to do it for more than one character say whole of n+1 above? You can achieve that by enclosing them between curly braces { } which can be used everywhere you need to group a particular set of characters and can be nested.

(You might have noticed that only one character that immediately follows the “_” or “^” is shifted from its position.) 만약에 하나의 문자가 위의 n+1의 정수를 표현하는 것 보다 더 그것이 그것을 행하기 위해서 원하냐? 넌 { }을 사이에 그 것들을 가까이 둠으로서 얻을 수 있을 있는데 이 것은 문자들을 부분적으로 묶기를 원하거나 또는 복잡하게 엉키(?nested)어 질 수 있는 곳 어디에서든 사용이 되어질 수 있다.

$latex 2^{n+1}$


So these were the most basic things about latex. Latex have a number of commands that start with a backslash “\”. Here is the first command that shows the Latex logo.

그래서 이러한 것은 latex에서 조금 더 기본적인 것이다. Latex는 "\"로 시작하는 많은 명령어들을 가진다. 여기에서는 Latex 로고를 보여주는 첫 명령어를 보여준다.

$latex \LaTeX$


All the Latex command are case sensitive. So if you make any mistake in that, you will end up with a error note, like below, instead of the desired and expected rendering.

모든 Latex 명령어는 아주 민감한 경우가 있다. 그래서 만약에 명령어에서 어떠한 실수를 하게 되면 요구한 그리고 예상한 결과 대신에 아래 처럼 에러 메세지를 보게 될 것 이다.


Let’s get on to next command “\frac” which will help you render fractions. This command expects two values to be passed just after it. If you need to render 1/2 the command can be either of the below commands, both will render identically.

다음 명령어는 "\frac"인데 이 것은 당신이 분수를 표현하는데 도와줄 것 입니다. 이 명령어는 "\frac" 이후에 바로 다음에 2개의 값이 오게 됩니다. 만약에 1/2를 표현하고자 하면, 명령어는 아래의 명령어 처럼할 수 있습니다.
$latex \frac12$
$latex \frac{1}{2}$ (For clarity) // 명쾌한 방법!


You can use frac command to create more complex fractions as the one below:

frac 명령어를 아래 처럼 조금 더 복잡한 분로 만들어서 사용할 수 있습니다.
$latex \frac{a+b}{c+d}$


Now let’s add up all above to form the Compound Interest Formula.

위에 것에 Compound Interest Formula를 만들어서 추가 시킬 수 있습니다.
$latex A=P(1+\frac{R}{100})^t$


Using “\sqrt” command you can render the Square root sign as below

"\sqrt" 명령어를 사용함으로서 아래 처럼 루트를 표현할 수 있습니다.
$latex h = \sqrt{l^2 + b^2}$


sqrt command in extended form can be used to form Cube root and others too

확장된 형태의 sqrt 명령어는 세제곱 루트를 형성하여 사용할 수 있고, 다른 것 역시 만들어서 사용할 수 있습니다.
$latex sqrt[3]{xyz}$


If you want to render trigonomertical formulas then “\alpha”, “\beta”, “\theta”, “\sin”, “\cos”, “\tan” etc. commands can help you get them

만약! 삼각함수(?)를 사용하고자하면 “\alpha”, “\beta”, “\theta”, “\sin”, “\cos”, “\tan”, 기타 등등 명령어는 그 것들을 표현하는데 도와줄 것 입니다.

$latex \sin\alpha \cos\beta \tan\theta$


Found interesting? then read the PDF file link given on the top of post or visit the Latex Project site. The discussion here is sufficient to get you started with Latex and for more of advanced feature I may post sometime later, as I said the post is related to latex on Wordpress.com and I cannot just blindly post all feature of Latex without confirming the working on wordpress.com Blog.

흥미롭지 않습니까? 본 글의 맨 위에서 알려드린 PDF 파일 링크에 있는 것을 읽어 보세요 또는 Latex Project에 방문해 보세요! 여기에서의 토론은 Latex를 시작하는데 충분합니다. 그리고 나중에 때때로 내가 포스트하는 고급의 기능들을 조금 더 보면 충분할 것 입니다.  그 글은 Wordpress.com에서의 Latex와 관련이 있습니다. 그리고 Wordpress.com 블로그에서 작동하는 것에 대해서 확인하는 것이 없이 Latex에 대한 모든 기능을 단지 무턱대고 포스팅하지 할 수 없 습니다.

History

Last edited on 03/27/2008 14:31 by noish

Comments (0)

You must log in to leave a comment. Please sign in.