Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
    • 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
    • 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
    • 최소 예제는 "Minimal working example"을 읽어 보세요.
  • 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
  • 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 사용하는 편집기는 CKeditor입니다.
    • 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
    • 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
    • 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.

캡션에 대한 질문

2011.11.09 18:03

강병욱 조회 수:7663

안녕하세요. 캡션에 대해서 질문드리겠습니다.

아래 첨부한 pdf 파일(pdf1.pdf)에서처럼, caption을 표의 제목으로 쓰고 있습니다. 표에 대한 긴 설명은 표의 아래 따로 넣고 있구요..

그런데, 표의 제목이 길어지면 두번째 첨부한 pdf 파일(pdf2.pdf)에서 처럼, "TABLE 6"와 캡션 이 모두 왼쪽으로 쏠려 버리는데요..

이를 해결할 방법이 있을까요? 표의 제목이 길어지더라도  "TABLE 6" 와 표의 제목을 항상 가운데로 유지시키고 싶습니다.

 

참고로 아래는 제가 사용하는 package들과, 표를 그리는 코드입니다. 

 

 =============================================================================== 

\documentclass[12pt, leqno, times, amssymb, letterpaper]{article}

\textwidth=6.5in
\textheight=9.0in
\headheight=0.0in
\headsep=0in
\oddsidemargin=0.0in
\topmargin=0.0in

\usepackage{amsmath,amssymb,amsthm}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{bm}
\usepackage{epsfig}
\usepackage{rotating}
\usepackage{longtable,ltcaption}
\usepackage{lscape}
\usepackage[tablename=TABLE, figurename=FIGURE]{caption}
\usepackage{setspace}
\usepackage{tabularx}
\usepackage{multirow}

\doublespacing

 

\begin{document}

 

\clearpage
\begin{table}[tbp]
\captionsetup{labelsep=newline, textfont=bf}
\caption{Cross-Sectional Regressions Including the Remaining Part of the Betas}
\begin{center}
{\scriptsize
\begin{tabularx}{11.5cm}{l Cc C}
\hline
\vspace{-2mm}\\
&\multicolumn{3}{c}{Unrestricted: $E(R_{i,t})=\bm{\lambda}_{1}^{\prime}\, \bm{\beta}_{i,\bullet}\,+\,\bm{\lambda}_{2}^{\prime}\, \bm{\beta}_{i,\bullet}^{\,\bot}$}\\
\vspace{-3mm}\\
\cline{2-4}
\vspace{-2mm}\\
& Restricted: $E(R_{i,t})=\bm{\lambda}_{2}^{\prime}\, \bm{\beta}_{i,\bullet}^{\,\bot}$&& Restricted: $E(R_{i,t})=\bm{\lambda}_{1}^{\prime}\, \bm{\beta}_{i,\bullet}$\\
\vspace{-3mm}\\
\cline{2-2} \cline{4-4}
\vspace{-1.5mm}\\
&\multicolumn{3}{c}{$\bullet=d_1$}\\
\emph{F}-statistic&  3.228&&  6.320 \\
\emph{p}-value&  0.046&&  0.004 \\
Bootstrap-\emph{p}&  0.080&&  0.013 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_2$}\\
\emph{F}-statistic&  1.941&&  2.439 \\
\emph{p}-value&  0.157&&  0.096 \\
Bootstrap-\emph{p}&  0.239&&  0.092 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_3$}\\
\emph{F}-statistic&  2.904&&  0.699 \\
\emph{p}-value&  0.062&&  0.564 \\
Bootstrap-\emph{p}&  0.039&&  0.538 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_4$}\\
\emph{F}-statistic&  0.411&&  0.233 \\
\emph{p}-value&  0.747&&  0.872 \\
Bootstrap-\emph{p}&  0.815&&  0.911 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_5$}\\
\emph{F}-statistic&  1.100&&  1.377 \\
\emph{p}-value&  0.373&&  0.280 \\
Bootstrap-\emph{p}&  0.477&&  0.426 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_6$}\\
\emph{F}-statistic&  6.851&&  8.927 \\
\emph{p}-value&  0.003&&  0.001 \\
Bootstrap-\emph{p}&  0.018&&  0.068 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=s_6$}\\
\emph{F}-statistic&  5.663&&  7.158 \\
\emph{p}-value&  0.006&&  0.002 \\
Bootstrap-\emph{p}&  0.081&&  0.306 \\
\vspace{-2mm}\\
\hline
\end{tabularx}
}
\end{center}
\label{tab6}
{\footnotesize Table \ref{tab6} implements (\ref{return-beta_decomp_exp}) in the context of the Fama-French three-factor model using the excess returns on 25 portfolios sorted by size and book-to-market. The first column reports $F$-tests for the null hypothesis that $\bm{\lambda}_1$ is the zero vector. The second column reports $F$-tests for the null hypothesis that $\bm{\lambda}_2$ is the zero vector. The first set of $p$-values is based on the $F$ distribution. The second set, indicated by Boostrap-$p$, is based on empirical distributions obtained from a bootstrap procedure designed to incorporate time-series dependence as well as estimation errors in details or smooths and the factor loadings. The data are monthly and cover the period from July 1963 to June 2008.}
\end{table}

 

\end{document}

 

 ===========================================================================

번호 제목 글쓴이 날짜 조회 수
공지 Minimal Working Example을 첨부해주세요 [4] nanim 2015.06.23 230233
552 컴파일된 파일에서 위치를 찾는 명령어? [6] 불변의진리 2012.10.27 9793
551 페이지의 특정부분에서 남은 부분의 길이를 알 수 있을까요? [3] file 불변의진리 2012.10.26 4377
550 oblivoir 클래스에서 제목에 각주를 달고 싶어요. [3] 제목에각주 2012.09.14 19728
549 한글텍과 일어텍을 동시에 쓰고 싶은데요 [3] 일어텍사용자 2012.10.24 5936
548 tikz로 그린 그림을 pdf파일로 추출? [2] yoonju 2012.10.24 5138
547 Appendices 와 word breaking [1] xelloss 2012.10.12 7474
546 특정 cls파일에서 paper size에 관한 질문드립니다 [3] file 강병욱 2012.10.22 4920
545 여러개의 파일중 Random하게 선택 선택하여 컴파일하는 방법이 궁금합니다. [6] 김종열 2012.10.22 10234
544 terminal에서 latex command할 경우 kotex.sty을 못찾네요. [2] tejeho 2012.10.19 14198
543 xetex에서 mylatexformat을 만드는 법????? [2] 불변의진리 2012.10.15 4369
542 [Beamer 예제 활용] 예제 파일에서 한글 사용하는 방법을 알고 싶습니다. [5] file quasar25 2012.08.03 12096
541 \newenvironment 에서 이런 일이 가능할까요? [2] 불변의진리 2012.10.13 5643
540 figure* 의 위치지정 [1] tsana 2012.10.14 9801
539 TnXTeX, Beamer의 첨자 폰트 [4] saangkim 2012.10.13 8403
538 링크자료 소스 구하기.. [1] 우육탕 2012.10.11 4296
537 oblivoir 부록 각주 번호 [3] file 한스 2012.08.29 8282
536 oblivoir 에서 장 절 바꾸기 [6] 생탁 2012.10.01 6742
535 한글 불러오기 및 컴파일 오류 [3] file 항상초보 2012.09.29 8858
534 Mac OS에서 MacTex 2012와 kotex 설치중입니다만.. [5] hyunsan 2012.09.27 9123
533 texmaker 관련 문의드립니다 ㅜ [2] 슈나 2012.09.27 21315



XE Login