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 230349
314 \tableofcontents 차례를 출력할 때 질문드립니다. [4] 진필 2011.12.13 3610
313 Q의 모양 문제 [2] file 김종열 2011.12.12 3874
312 windows7 에서 맑은고딕체에서 에러가 납니다. [1] 하이스트 2011.12.11 4908
311 여백관련 [1] 김이도 2011.12.11 4397
310 \@makefntext 문의를 드립니다. [2] 오세성 2011.12.10 3327
309 ledmac 패키지에서 각주 기호의 변경 문의 [2] 오세성 2011.12.08 3805
308 marginpar에 관해서 질문 드립니다. [2] 오세성 2011.12.08 3761
307 MIKTEX 관련 질문입니다 [1] sjg524 2011.12.08 9955
306 winedt & 영문 window & 한글 사용 [4] 김종복 2011.03.07 17954
305 subsubsection 설정 질문드려요~ [1] 세션 2011.12.07 3769
304 원문자 [5] sporty 2011.12.01 8631
303 어디가 잘못되었는지 좀 봐 주셔요~ ^^ [2] file 하이스트 2011.12.05 3269
302 footnote번호 초기화 방법에 대해서 문의 드립니다. [1] 오세성 2011.12.03 4409
301 LATEX으로 그린 그림은 caption을 달 수 없나요? [3] 이병찬 2011.12.01 6598
300 \textwidth-1cm [4] 김종열 2011.12.02 5533
299 각주(footnote) 문의를 드립니다. [4] 오세성 2011.12.01 4835
298 적분에서 증분 기호 [2] sporty 2011.12.01 4493
297 다단 편집과 주석에 대한 질문입니다.. [2] 이재철 2011.11.30 5678
296 논문을 쓰는데 Tex에 관해서 질문을 드리려고 합니다. [1] file 1년차 2011.11.30 4282
295 단락 모양 정의 방법을 여쭤 봅니다. [1] file 오세성 2011.11.30 4088



XE Login