일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 코틀린 시작하기
- NumPy
- Big-Oh 예제
- Big-Oh notation
- 알고리즘 분석의 실례
- homogeneous linear system
- Big Omega
- linear dependence
- 배열 섞기
- 빅오메가
- 코틀린 Hello World!
- nonhomogeneous linear system
- nontrivial solution
- recursive algorithms
- 이진 탐색
- 빅오 표기법
- Big-O 예제
- one-to-one
- matrix trnasformations
- includepdf
- itertools
- 재귀함수
- matrix fo a linear transformation
- 페이지 겹칩
- 빅세타
- trivial solution
- Big Theta
- python
- 일차변환
- 랜덤 순서 배열
- Today
- Total
목록LaTeX (23)
코딩 연습
\includepdf 를 사용하여 pdf 를 삽입하는 경우, 다음 페이와 겹쳐 보이는 경우가 발생한다.이럴 때는 다음과 같이 해 주면 페이지를 겹치지 않게 나타낼 수 있다. \includepdf[pages={{}, -}]{파일이름.pdf}

\documentclass{article}\usepackage{cancel}\begin{document}$\dfrac{a \cancel{b}}{\cancel{b}}=a$\end{document} 결과는 다음과 같다. \cancel 대신 다음 것들도 사용이 가능하다. \bcancel : 역슬래쉬로 지우기\xcancel : X 로 지우기
enumerate 의 시작 번호를 2 로 하고 싶을 때는 \begin{enuerate}[start=2]\item 어쩌구 저쩌구\end{enumerate} 과 같이 start=(원하는 번호)를 추가하면 된다.

\documentclass{article} \usepackage{graphicx} \makeatletter \DeclareFontFamily{U}{tipa}{} \DeclareFontShape{U}{tipa}{m}{n}{tipa10}{} \newcommand{\arc@char}{{\usefont{U}{tipa}{m}{n}\symbol{62}}}% \newcommand{\arc}[1]{\mathpalette\arc@arc{#1}} \newcommand{\arc@arc}[2]{% \sbox0{\m@th#1#2}% \vbox{ \hbox{\resizebox{\wd0}{\height}{\arc@char}} \nointerlineskip \box0 }% } \makeatother \begin{document}..
일단 패키지 추가 \usepackage{endnotes} 미주 넣고자 하는 위치에 \endnote{내용} 미주가 들어갈 파일의 맨 마지막 \end{document} 전에 \newpage \theendnotes 미주의 번호가 윗첨자로 들어가는 것이 짜증날 때 \usepackage{xpatch} 를 추가한 후, \makeatletter \xpretocmd{\theendnotes}{% \xpatchcmd{\@makeenmark}{\hbox{\@textsuperscript{\normalfont\@theenmark}}}{% \hbox{\normalfont\theenmark.\space}% }{}{}% }{}{} \makeatother 미주 제목(?) "Note" 를 다른 것으로 바꾸고 싶을 때 \renewcomm..
\setlength{\parindent}{0pt}

\usepackage{multicol} \setlength\columnsep{10mm} \setlength\columnseprule{0.4pt} 을 사용하여 다단을 나누게 되면 단 구분선이 아래 그림 처럼 내용에 맞게 잘려 나온다. 이 구분선을 페이지의 끝까지 나오게 하려면 \usepackage{multicolrule} 로 바꾼 후, \begin{document} 윗 줄에 \SetMCRule{width=0.5pt,line-style=solid,extend-fill, extend-reserve=10pt} 을 넣어주면 된다. 이때 extend-reserve = 10pt 는 페이지 아래쪽에서 10pt 떨어진 지점까지만 구분선을 넣겠다는 뜻이다.

f(x) = \begin{cases} \dfrac{x^2-a}{x-2} & (x \ne 2) \\ b & (x=2) \end{cases} 라고 했을 때, 다음과 같이 b의 위치가 왼쪽 정렬이 된 것을 볼 수 있다. b의 위치를 중앙으로 바꾸기 위해서는 b 앞에 /hfil 을 적어주면 된다. f(x) = \begin{cases} \dfrac{x^2-a}{x-2} & (x \ne 2) \\ \hfil b & (x=2) \end{cases}

\left (a^{m} \right )^{n} = \underbrace{ \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}} \times \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}} \times \cdots \times \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}}}_{\text{괄호가 }n\text{개} } =\underbrace{a \times a \times \cdots \times a}_{mn\text{개}} =a^{mn}

TeX 에서 \textcircled{1} 을 사용하면 다음과 같이 원문자가 이상하게 나온다. 이때는 다음의 방법을 사용하면 된다. \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=1pt] (char) {#1};}} \begin{document} \circled{1} \circled{2} \circled{3} \end{document} 결과는 다음과 같다.