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>처럼 입력하시면 좋습니다.

관리자

안녕하세요.

특정 저널 서식에 따라 조금씩 연습을 하는중인데, 예측할수 없는 컴파일 에러들이 발생하여 많은 시간을 소비하게 만듭니다.

어떤 이유에서인지 몰라도 현재 Tex 파일을 첨부할 수 없어서, 제가 관련 내용을 아래에다 paste 했습니다. 컴파일 해보시면 아시겠지만, 수많은 에러가 발생합니다. 그 중에서 공통적으로 "head_foot/DOI not found" 와 "head_foot/dates not found" 와 같은 에러들이 보이는데, 제가 작성한 서식을 보시면 아시겠지만, 실제로 "head_foot" 과 관련한 코멘트가 있습니다. \includegraphics{head_foot_DOI} 그리고 \includegraphics{head_foot_dates} 를 보시길 바랍니다. (본문에서 관련부분의 에러가 포함된 부분을 Bold Style로 표시를 했습니다!!!)

지금 File Not Found 라는 말 자체가 어떤 파일을 첨가하지 않았다는 것인지, 아니면 path를 지정하는데 문제가 생겼다는지 알수가 없네요. 참고로, 제가 보낸 서식은 해당저널의 Latex Template을 그대로 사용하고, 다만 특정부분을 첨가하거나 변경했을 뿐, 이러한 것들은 발생한 에러와는 전혀 관계가 없습니다.

그런데, 이러한  error message에도 불구하고 PDF 파일이 하나 만들어졌는데, 나름대로 체대로 출력이 된 것 같습니다. 

어떻게 된 일인지 잘 모르겠습니다. 한번 아래 내용을 컴파일해보시고 관련 에러를 해결할 수 있는 방법을 알려주시면 감사하겠습니다. 

 

\documentclass[twoside,twocolumn,9pt]{article}
\usepackage{extsizes}
\usepackage[super,sort&compress,comma]{natbib} 
\usepackage[version=3]{mhchem}
\usepackage[left=1.5cm, right=1.5cm, top=1.785cm, bottom=2.0cm]{geometry}
\usepackage{balance}
\usepackage{times,mathptmx}
\usepackage{sectsty}
\usepackage{lastpage}
\usepackage[format=plain,justification=justified,singlelinecheck=false,font={stretch=1.125,small,sf},labelfont=bf,labelsep=space]{caption}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{fnpos}
\usepackage[english]{babel}
\addto{\captionsenglish}{%
    \renewcommand{\refname}{References}
}
\usepackage{array}
\usepackage{droidsans}
\usepackage{charter}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{setspace}
\usepackage[compact]{titlesec}
%\usepackage{hyperref} % Do not use temporarily!
%\usepackage[latin1]{inputenc}  % Do not use this command!
%\usepackage{rsc}    % This command does not work!
\usepackage{multicol} % New command added to the existing format
\usepackage{mwe} % New command added to the existing format
\usepackage{rotating}   % New commands added to the existing format
\usepackage{graphicx,subfigure}  % New commands added to the existing format
%\usepackage[demo]{graphicx}   % Not used temporarily
%\usepackage{subfig} % Not used temporarily
%\usepackage{dblfloatfix} % Not used temporarily
%\usepackage{subcaption}  % It is used for "subfigure" command
\usepackage{graphicx}  % It is used for "subfigure" command

%%%Please don't disable any packages in the preamble, as this may cause the template to display incorrectly.%%%

\usepackage{epstopdf} %This line makes .eps figures into .pdf - please comment out if not required.
%\usepackage{placeins} % Use this command to place the position of figure (Added to the exsiting format}

\definecolor{cream}{RGB}{222,217,201}

\begin{document}
    \pagestyle{fancy}
    \thispagestyle{plain}
    \fancypagestyle{plain}{
        
        %%%HEADER%%%
        \fancyhead[C]{\includegraphics[width=18.5cm]{head_foot/header_bar}}
        \fancyhead[L]{\hspace{0cm}\vspace{1.5cm}\includegraphics[height=30pt]{head_foot/journal_name}}
        \fancyhead[R]{\hspace{0cm}\vspace{1.7cm}\includegraphics[height=55pt]{head_foot/RSC_LOGO_CMYK}}
        \renewcommand{\headrulewidth}{0pt}
    }
    %%%END OF HEADER%%%
    
    %%%PAGE SETUP - Please do not change any commands within this section%%%
    \makeFNbottom
    \makeatletter
    \renewcommand\LARGE{\@setfontsize\LARGE{15pt}{17}}
    \renewcommand\Large{\@setfontsize\Large{12pt}{14}}
    \renewcommand\large{\@setfontsize\large{10pt}{12}}
    \renewcommand\footnotesize{\@setfontsize\footnotesize{7pt}{10}}
    \makeatother
    
    \renewcommand{\thefootnote}{\fnsymbol{footnote}}
    \renewcommand\footnoterule{\vspace*{1pt}% 
        \color{cream}\hrule width 3.5in height 0.4pt \color{black}\vspace*{5pt}} 
    \setcounter{secnumdepth}{5}
    
    \makeatletter 
    \renewcommand\@biblabel[1]{#1}            
    \renewcommand\@makefntext[1]% 
    {\noindent\makebox[0pt][r]{\@thefnmark\,}#1}
    \makeatother 
    \renewcommand{\figurename}{\small{Fig.}~}
    \sectionfont{\sffamily\Large}
    \subsectionfont{\normalsize}
    \subsubsectionfont{\bf}
    \setstretch{1.125} %In particular, please do not alter this line.
    \setlength{\skip\footins}{0.8cm}
    \setlength{\footnotesep}{0.25cm}
    \setlength{\jot}{10pt}
    \titlespacing*{\section}{0pt}{4pt}{4pt}
    \titlespacing*{\subsection}{0pt}{15pt}{1pt}
    %%%END OF PAGE SETUP%%%
    
    %%%FOOTER%%%
    \fancyfoot{}
    \fancyfoot[LO,RE]{\vspace{-7.1pt}\includegraphics[height=9pt]{head_foot/LF}}
    \fancyfoot[CO]{\vspace{-7.1pt}\hspace{13.2cm}\includegraphics{head_foot/RF}}
    \fancyfoot[CE]{\vspace{-7.2pt}\hspace{-14.2cm}\includegraphics{head_foot/RF}}
    \fancyfoot[RO]{\footnotesize{\sffamily{1--\pageref{LastPage} ~\textbar  \hspace{2pt}\thepage}}}
    \fancyfoot[LE]{\footnotesize{\sffamily{\thepage~\textbar\hspace{3.45cm} 1--\pageref{LastPage}}}}
    \fancyhead{}
    \renewcommand{\headrulewidth}{0pt} 
    \renewcommand{\footrulewidth}{0pt}
    \setlength{\arrayrulewidth}{1pt}
    \setlength{\columnsep}{6.5mm}
    \setlength\bibsep{1pt}
    %%%END OF FOOTER%%%
    
    %%%FIGURE SETUP - please do not change any commands within this section%%%
    \makeatletter 
    \newlength{\figrulesep} 
    \setlength{\figrulesep}{0.5\textfloatsep} 
    
    \newcommand{\topfigrule}{\vspace*{-1pt}% 
        \noindent{\color{cream}\rule[-\figrulesep]{\columnwidth}{1.5pt}} }
    
    \newcommand{\botfigrule}{\vspace*{-2pt}% 
        \noindent{\color{cream}\rule[\figrulesep]{\columnwidth}{1.5pt}} }
    
    \newcommand{\dblfigrule}{\vspace*{-1pt}% 
        \noindent{\color{cream}\rule[-\figrulesep]{\textwidth}{1.5pt}} }
    
    \makeatother
    %%%END OF FIGURE SETUP%%%
    
        
    %%%TITLE, AUTHORS AND ABSTRACT%%%
    \twocolumn [
    \begin{@twocolumnfalse}
        \vspace{3cm}
        \sffamily
        \begin{tabular}{m{4.5cm} p{13.5cm}}
            
            \includegraphics{head_foot/DOI} & \noindent\LARGE{\textbf{test}} \\%Article title goes here instead of the text "This is the title"
            \vspace{0.3cm} & \vspace{0.3cm} \\                            
            
            & \noindent\large{First Author\textit{$^{\ast}$$^{a}$} and Second Author\textit{$^{a}$$^{b}$}} \\%Author names go here instead of "Full name", etc.
            \includegraphics{head_foot/dates} & \noindent\normalsize{Abstract will be shown here.} \\
            
        \end{tabular}
        
    \end{@twocolumnfalse} \vspace{0.6cm}
]    
    
    %%%END OF TITLE, AUTHORS AND ABSTRACT%%%
    
    %%%FONT SETUP - please do not change any commands within this section
    \renewcommand*\rmdefault{bch}\normalfont\upshape
    \rmfamily
    \section*{}
    \vspace{-1cm}
    
    
    %%%FOOTNOTES%%%
%\newcommand\nnfootnote[1]{%
%    \begin{NoHyper}
%        \renewcommand\thefootnote{}\footnote{#1}%
%        \addtocounter{footnote}{-1}%
%    \end{NoHyper}
%}
%The NoHyper environment additionally ensures that there is no hyperlink from the text to the footnote.

\footnotetext{\textit{$^{a}$~Department of A1, ABC University}} 
\footnotetext{\textit{$^{b}$~Department of A2, ABC University}} 

% Use \nnfootnote instead of \footnotetext when \usepackage{hyperref} is used!


    
    %%%END OF FOOTNOTES%%%
    
    %%%MAIN TEXT%%%%
    % The main text of the article\cite{Mena2000} should appear here.   % Temporarily not used!
    
\section{Introduction}
\indent Introduction will be provided. \\
    

\begin{figure}[h]
\begin{multicols}{2}
    \centering
    \includegraphics[width=\linewidth]{EF} 
    \includegraphics[width=\linewidth]{EF_3D} 
    \caption{test1}
\end{multicols}
\end{figure}


\begin{figure*}[h] 
    \subfigure[]{
        \includegraphics[width=0.46\textwidth]{EF}      
    }
    \quad
    \subfigure[]{
        \includegraphics[width=0.46\textwidth]{EF_3D} \\            
    }
    \caption{\textit{test2}}            
\end{figure*}

%\FloatBarrier
%\begin{thebibliography}{3}
%    \bibitem{1} U.Alon   \textit{Chapman and Hall/CRC}, 2017.   
%    \bibitem{2} J.J.Hopfield, \textit{Proc. Nat. Acad. Sci. USA}, \textbf{71}, 1974, 4135-4139   
%    \bibitem{3} J.Ninio, \textit{Biochimie}, 1975, \textbf{57}, 587-595.
%\end{thebibliography}   
** 이 질문글과 연관된 질문으로 판단되어 별도의 글을 이글의 댓글로 옮깁니다. (관리자) **



XE Login