KTUG마당은 KTUG를 방문하는 모든 이용자가 대화를 나누고 소식을 전하는 곳입니다.
- 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
- Team Blog의 글을 이곳 게시판의 "정보글"로 모았습니다. Team blog는 기고자가 올린 글에 질문을 받는 부담을 줄이기 위하여 댓글을 허용하지 않았습니다. 그러나 이곳 게시판으로 모으면서 댓글을 달 수 있습니다. 게시물을 작성하실 때 댓글을 원하지 않으시면 댓글을 허용하시지 않으시기를 바랍니다. 또한 불필요한 소모성 댓글을 달지 않도록 주의하여 주시기를 바랍니다.
- TeX과 관련된 질문이나 답변은 QnA 마당을 이용하십시오. TeX과 관련된 질문은 지웁니다
- MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
- 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
- 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
- 사용하는 편집기는 CKeditor입니다. 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한줄을 비웁니다. 글줄만 바꾸려면 shift-enter 를 누르시면 <BR>가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
정보글 매크로 또는 파일이 존재한다면
2015.06.23 11:23
\Ifexist*{\accessories}{accessories}{\pinput{accessories}}
- \accessories가 정의되어 있다면 그 내용이 식자된다.
- 그것이 정의되어 있지 않다면---현재 디렉토리에 accessories.tex 파일이 있다면 그것을 삽입한다.
- 그 파일이 존재하지 않는다면, 특정한 경로에서 accessories.tex 파일을 가져온다.
\newcommand\Ifexist{\@ifstar{\IfFileExist}{\IfMacroExist}}
\newcommand\IfMacroExist[2]{\ifthenelse{\isundefined{#1}}{#2}{#1}}
\newcommand\IfFileExist[3]{%
\ifthenelse{\isundefined{#1}}%
{\InputIfFileExists{#2}{}{#3}}%
{#1}}
\NewEnviron{IfExist}[1]{\IfMacroExist{#1}{\BODY} }
\NewEnviron{IfExist*}[2]{\IfFileExist{#1}{#2}{\BODY} }
\newcommand\rootpath{../../Common/}
\newcommand\setrootpath[1]{\renewcommand\rootpath{#1}}
\newcommand\langpath{}
\newcommand\setlangpath[1]{\renewcommand\langpath{\rootpath#1}}
\newcommand\pinput{\@ifstar{\rootinput}{\langinput}}
\newcommand\rootinput[1]{\input{\rootpath#1}}
\newcommand\langinput[1]{\input{\langpath#1}}
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
668 | TeX Live 2015 설치하기, Windows [7] | nanim | 2015.06.26 | 5901 |
667 | 퀴즈: 이 그리스 고전은 무엇일까요? [5] | yihoze | 2015.06.25 | 4252 |
666 | 스토리보드 만들기 | yihoze | 2015.06.24 | 5822 |
665 | 아름다운 사인 곡선 [21] | nanim | 2015.06.23 | 6632 |
664 | pdf 문서의 특정 페이지에 사용된 폰트 알아내기 | Progress | 2015.06.23 | 13126 |
663 | 하이퍼링크 색 | yihoze | 2015.06.23 | 4818 |
662 | 텍신디를 쓸 때 색인 표제어를 PDF 책갈피에 넣기 | yihoze | 2015.06.23 | 5629 |
» | 매크로 또는 파일이 존재한다면 | yihoze | 2015.06.23 | 4698 |
660 | Simplified Hangulize | nanim | 2015.06.21 | 3933 |
659 | TeX Live 2015 설치 안내 [12] | nanim | 2015.06.19 | 19018 |
658 | KTUG 정체성? [20] | 세벌 | 2015.06.19 | 4119 |
657 | 익명인과 실명인의 논쟁 [1] | 메타 | 2015.06.18 | 3823 |
656 | 패키지를 만듭시다: 애프터서비스 [5] | nanim | 2015.06.18 | 4119 |
655 | 당신은 어떤 사용자입니까? [15] | yihoze | 2015.06.18 | 4096 |
654 | 국어의 로마자 표기법, 마지막 [7] | nanim | 2015.06.17 | 4238 |
653 | 국어의 로마자 표기법, 전자법 [12] | nanim | 2015.06.16 | 78898 |
652 | luajittex으로 무엇을 할 수 있을까? [4] | JangNa | 2015.06.16 | 3713 |
651 | 한글 TeX 사용자 분들께 감사드립니다. [1] | 예노바르가 | 2015.06.15 | 3589 |
650 | 폰트 글리프 보기 [2] | yihoze | 2015.06.15 | 4126 |
649 | 게임 트리 그리기 1-2 [17] | ischo | 2015.06.15 | 11987 |