더 작은 왼쪽 여백을 갖도록 항목화 및 열거 환경을 어떻게 조정합니까?

더 작은 왼쪽 여백을 갖도록 항목화 및 열거 환경을 어떻게 조정합니까?

저는 이 템플릿을 사용하는데 항목과 항목별 왼쪽 여백이 너무 커서 슬라이드에 그림을 삽입하면 다음과 같이 보입니다.

여기에 이미지 설명을 입력하세요

    \documentclass[dvipsnames,mathserif]{beamer}
    \setbeamertemplate{footline}[frame number]
    \setbeamercolor{footline}{fg=black}
    \setbeamerfont{footline}{series=\bfseries}
    \usepackage{tikz}
    \usepackage{graphicx}
    %\usetheme{Frankfurt}%1
    \usetheme{Darmstadt}%1
    \usepackage{multicol}
    % for RTL liste
    \makeatletter
    \newcommand{\RTListe}{\raggedleft\rightskip\leftm}
    \newcommand{\leftm}{\@totalleftmargin}
    \makeatother
    
    % RTL frame title
    \setbeamertemplate{frametitle}
    {\vspace*{-1mm}
      \nointerlineskip
        \begin{beamercolorbox}[sep=0.3cm,ht=2.2em,wd=\paperwidth]{frametitle}
            \vbox{}\vskip-2ex%
            \strut\hskip1ex\insertframetitle\strut
            \vskip-0.8ex%
        \end{beamercolorbox}
    }
    % align subsection in toc
    \makeatletter
    \setbeamertemplate{subsection in toc}
    {\leavevmode\rightskip=5ex%
      \llap{\raise0.1ex\beamer@usesphere{subsection number projected}{bigsphere}\kern1ex}%
      \inserttocsubsection\par%
    }
    \makeatother
    
    % RTL triangle for itemize
    \setbeamertemplate{itemize item}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleleft$}} 
    
    %\setbeamertemplate{itemize item}{\rule{4pt}{4pt}}
    
    \defbeamertemplate{enumerate item}{square2}
    {\LR{
        %
        \hbox{%
        \usebeamerfont*{item projected}%
        \usebeamercolor[bg]{item projected}%
        \vrule width2.25ex height1.85ex depth.4ex%
        \hskip-2.25ex%
        \hbox to2.25ex{%
          \hfil%
          {\color{fg}\insertenumlabel}%
          \hfil}%
      }%
    }}
    
    \setbeamertemplate{enumerate item}[square2]
    \setbeamertemplate{navigation symbols}{}
    
    
    \titlegraphic { 
    \begin{tikzpicture}[overlay,remember picture, opacity=0.1,]
    \node[] at (0, 5){
        \includegraphics[width=0.63\textwidth]{Conference Logo.png}
    };\end{tikzpicture}}
    \setbeamertemplate{caption}[numbered]
    \setbeamertemplate{itemize/enumerate body begin}{\vspace{-0.5ex}\leftskip=1ex}

\begin{frame}
\maketitle
\end{frame}

\begin{frame}{Summary} 
\footnotesize \tableofcontents 
\end{frame}

\section{Introduction}

\begin{frame}{Motivation}
\scriptsize
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize} [<+-| alert@+>]

\scriptsize
\item Curved beams are popular structural elements in various engineering fields
\begin{itemize}
\item They offer high stiffness-to-weight ratio, making them an efficient choice for load-bearing structures
\item they provide esthetic appeal and enable the creation of complex, free-form shapes in architectural designs
\item Their ability to distribute loads efficiently and resist bending moments makes them suitable for applications such as bridges, roofs, and aircraft structures
\end{itemize}

\item Curved beams often experience large deformations under various loading conditions, necessitating the use of nonlinear analysis calculation.
\item Developing accurate and efficient nonlinear beam elements for large deformation is challenging
\begin{itemize}
\item Capturing the accurate response of curved beams under large deformations is crucial for ensuring the safety and reliability of structures
\item Developing efficient and accurate nonlinear beam elements poses significant challenges due to the complex nature of the problem
\end{itemize}
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\includegraphics[width=\textwidth]
{curved2.jpg}
\end{column}
\end{columns}
\end{frame}

답변1

  • 환경 document이 부족하다

  • mathserif옵션은 더 이상 사용되지 않습니다 \usefonttheme[onlymath]{serif}. 대신 사용하세요. 로그 파일의 경고를 통해 이를 알 수 있습니다. 경고를 무시하지 마십시오.

  • 을 로드할 필요가 없습니다 graphicx. 비머가 이를 자동으로 수행합니다.

  • 패키지 를 로드하는 것은 별로 의미가 없습니다 multicol. Beamer에는 자체 컬럼 메커니즘이 있습니다.

  • 첫 번째 수준 항목의 글꼴 크기를 변경하면 두 번째(및 세 번째) 수준 항목의 글꼴 크기도 변경해야 합니다.

  • 전체 프레임을 두 개의 열로 설정하여 많은 공간을 낭비합니다.

  • 너무 많은 텍스트가 포함된 슬라이드를 청중에게 보여주고 싶다면 다시 생각해 보십시오.

... 그리고 실제로 질문한 내용에 대해서는 항목의 왼쪽 여백 \setlength{\leftmargini}{0cm}등을 변경할 수 있습니다.


\documentclass[dvipsnames]{beamer}
\usefonttheme[onlymath]{serif}

%\usepackage{graphicx}
\usetheme{Darmstadt}%1
%\usepackage{multicol}

% RTL triangle for itemize
\setbeamertemplate{itemize item}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleleft$}} 
\setbeamertemplate{navigation symbols}{}

\setlength{\leftmargini}{0cm}
\setlength{\leftmarginii}{0.5cm}

\begin{document}

\begin{frame}
\frametitle{Motivation}
\setbeamerfont{itemize/enumerate body}{size=\scriptsize}
\setbeamerfont{itemize/enumerate subbody}{size=\scriptsize}
\begin{itemize}[<+-| alert@+>]
\item Curved beams are popular structural elements in various engineering fields
\begin{itemize}
\item They offer high stiffness-to-weight ratio, making them an efficient choice for load-bearing structures
\item they provide esthetic appeal and enable the creation of complex, free-form shapes in architectural designs
\item Their ability to distribute loads efficiently and resist bending moments makes them suitable for applications such as bridges, roofs, and aircraft structures
\end{itemize}

\item Curved beams often experience large deformations under various loading conditions, necessitating the use of nonlinear analysis calculation.
\item Developing accurate and efficient nonlinear beam elements for large deformation is challenging
\end{itemize}
\vskip-.5\baselineskip
\begin{columns}[onlytextwidth,T]
\begin{column}{0.5\textwidth}
\begin{itemize}
\item[] 
\begin{itemize}[<+-| alert@+>]
\item Capturing the accurate response of curved beams under large deformations is crucial for ensuring the safety and reliability of structures
\item Developing efficient and accurate nonlinear beam elements poses significant challenges due to the complex nature of the problem
\end{itemize}
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\includegraphics[width=\textwidth]
{example-image-duck}
\end{column}
\end{columns}
\end{frame}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보