Baposter 클래스의 로고 위치

Baposter 클래스의 로고 위치

과학 포스터에 이 클래스를 사용하고 있는데 baposter로고 위치 때문에 어려움을 겪고 있습니다.

제목 왼쪽에 로고 3개, 오른쪽에 로고 3개를 넣고 싶습니다. 그러나 왼쪽의 마지막 로고와 제목 사이에는 항상 큰 공간이 있습니다. 오른쪽의 첫 번째 로고와 동일한 문제입니다.

사용해 보았 \hspace{}으나 아무런 변화가 없습니다. 저도 시도해 보았 minipage으나 로고와 제목 사이의 공간이 압축되지 않는 것처럼 제목이 오른쪽이나 왼쪽으로 이동했습니다.

누구든지 해결책이 있습니까?

내 제목 섹션은 다음과 같습니다.

%----------------------------------------------------------------------- 

%   TITLE SECTION 

%----------------------------------------------------------------------------------------


{ \includegraphics[height=6em]{logo1} \hspace{12pt} \includegraphics[height=4em]{logo2}  \hspace{12pt}  \includegraphics[height=4em]{logo3g}} % First university/lab logo on the left

{\bf Title of my poster \vspace{0.3em}} % Poster title

{\textcolor{blue3}{Authors  \hspace{12pt} \\ 
Institutions }} % Author names and institution

{ \includegraphics[height=5em]{logo4.jpg} \hspace{12pt} \includegraphics[height=6em]{logo5.png} \hspace{3pt} \includegraphics[height=5em]{logo6.png}} % Second university/lab logo on the right

답변1

로고는 표 형식 환경에 포함시켜 배치할 수 있습니다. 다음 MWE는 데모를 제공합니다. 다양한 baposter기능을 설명하기 위해 MWE는 다음을 수행합니다.

  1. 3개의 로고가 환경의 제목 양쪽에 배치됩니다 tabular. tabular로고 배치를 구성하는 데 사용됩니다 . 오른쪽의 로고 그룹화는 multicolumn두 번째 행의 로고가 두 열에 걸쳐 있도록 만드는 데 사용됩니다.
  2. 일부 기능을 더 완벽하게 설명하기 위해 baposter세 개의 상자가 생성됩니다. 상자 1은 포스터의 0열, 0행에 있습니다. 상자 2는 상자 1 아래에 있습니다. 상자 2에는 tabular환경에 배열된 세 개의 이미지가 포함되어 있으며, 이미지 중 하나는 를 사용하여 두 행에 걸쳐 있습니다 multirow. 상자 3은 열 2와 3에 걸쳐 있으며 상자 2와 아래쪽으로 정렬됩니다. 여기 에는 및 itemize기능을 사용하여 텍스트가 이미지를 감싸도록 만들어진 환경 목록이 포함되어 있습니다 .adjustboxwrapfig

코드는 다음과 같습니다.

\documentclass[a2paper,landscape,fontscale=0.8,margin=1cm]{baposter}
\usepackage[utf8]{inputenc} % Input encoding
\usepackage[T1]{fontenc} % Required for accented characters
\usepackage{graphicx}    % Required for including images
\usepackage{multicol}    % To demonstrate placement of example images across 2 columns
\usepackage{wrapfig}     % To demonstrate wrapping text around image
\usepackage{adjustbox}   % To demonstrate wrapping text around image
\usepackage{multirow}    % To demonstrate placement of example images across 2 rows
\usepackage{enumitem}    % To create customized list environment 
\usepackage{blindtext}   % Dummy text
\usepackage{arev}        % Sans serif font with heavy weight

\newlength{\strutheight} % for wrapping text around image
\settoheight{\strutheight}{\strut} % for wrapping text around image

\begin{document}

    \background{% this is a user specified background i.e. set background=user in general options (row 32 of code)
        \begin{tikzpicture}[remember picture,overlay]%
        %the poster background color
        \fill[fill=blue!10!white] (current page.north west) rectangle (current page.south east);
        %the header for the poster title and authors
        \fill [fill=blue!25!white] (current page.north west) rectangle ([yshift=-\headerheight] current page.north east);
        \end{tikzpicture}
    }

    \begin{poster}{
        %general options for the poster
        grid=false,
        columns=6, % how many columns 1-6
        colspacing=4.2mm, % spacing between the columns
        headerheight=0.15\textheight, % the height of the header as a proportion of the page height
        background=user, %user or none or plain
        eyecatcher=true, %turn logos on/off
        %posterbox options
        headerborder=closed, % see the baposter manual for the rest
        borderColor=darkgray,
        headershape=rectangle,
        headershade=plain,
        headerColorOne=darkgray,
        textborder=rectangle,
        boxshade=plain,
        boxColorOne=white,
        headerFontColor=white,
        headerfont=\large\bfseries,
        linewidth=1pt
        }
        %Do not change the layout of the following items, although title and author can span multiple lines
        {The logo on the left
            \begin{tabular}{lll}
              \includegraphics[width=2cm]{example-image-a} &
              \includegraphics[width=2cm]{example-image-a} &
              \includegraphics[width=2cm]{example-image-a}
            \end{tabular}
        }
        {Title} %the poster title
        {Authors} %the author(s)      
        {%The logo on the right
            \begin{tabular}{ll}
                \includegraphics[width=2cm]{example-image-a} &
                \includegraphics[width=2cm]{example-image-a} \\
                \multicolumn{2}{c}{\includegraphics[width=2cm]{example-image-a}}
            \end{tabular}
        }

    \begin{posterbox}[name=box1,span=1,column=0,row=0,boxheaderheight=2em]{%
        \begin{tabular}{p{7cm}}
            Box 1
        \end{tabular}
        }
        \blindtext[1]
    \end{posterbox}

    % Put 3 figures in a tabular environment. One figure spans 2 rows.
    \begin{posterbox}[name=box2,span=1,headerColorOne=blue,column=0,below=box1,boxheaderheight=2em]{%
        \begin{tabular}{p{7cm}}
            Box 2
        \end{tabular}
    }
    \begin{center}
        \begin{tabular}{ll}
            \includegraphics[height=1.5cm]{example-image-a} & \multirow[t]{2}{3cm}[-1cm]{\includegraphics[height=2cm]{example-image-a}} \\
            \includegraphics[height=1.5cm]{example-image-a} \\
        \end{tabular}
    \end{center}
    \end{posterbox}

    \begin{posterbox}[name=box3,span=2,column=1,row=0,bottomaligned=box2,boxheaderheight=4em]{%
        \begin{tabular}{p{14cm}}
            This is Box 3 with a very log header that requires boxheaderheight=4em. This box is bottom aligned with Box 2 and spans columns 2 and 3 (Column number starts at 0).
        \end{tabular}
    }
    % create an itemize list and insert a figure
        \begin{itemize}[leftmargin=6pt]
        \item \blindtext[1]
            \begin{adjustbox}{valign=T,raise=\strutheight,minipage={1.0\linewidth}}
                \begin{wrapfigure}{r}{3cm}
                    \centering
                    \includegraphics[width=2cm]{example-image-a}
                \end{wrapfigure}% 
                \strut{}
                \item \blindtext[1]
            \end{adjustbox}
        \end{itemize}
    \end{posterbox}

\end{poster}

\end{document}

출력은 다음과 같습니다. 여기에 이미지 설명을 입력하세요

이것이 시작하는 데 도움이 되기를 바라며 TeX.SE에 오신 것을 환영합니다.

관련 정보