更改位置以在同一级别获得图形和方程式-RMarkdown / .tex

问题描述

我正在RMarkdown中创建演示文稿,在下面的幻灯片中,我想将图形放在左侧(标题在“ Graph”上方),将几个方程式放在右侧,而不是在下方(滴定“ Equations”) - 这该怎么做?再问几个问题,M:应该首先出现在中间,然后是4个方程式。

这是当前输出幻灯片

enter image description here

这是该特定幻灯片在RMarkdown中的代码

---
title: title

author: name
        
date: "`r format(Sys.time(),'%d %B %Y')`"

output:
  beamer_presentation:
    theme: Szeged
    slide_level: 2
    includes:
      in_header: header.tex
    keep_tex: true

linkcolor: false
---

## Model

\small
\justify
A line of text goes here:

\begin{tikzpicture}[>=triangle 45,font=\footnotesize]
\node[fill,circle,inner sep=0pt,minimum size=5pt,label={above:{T}}] (T) at (0,0) {};
\node[fill,label={above:{Y}}] (Y) at (4,label={below:{X}}] (X) at (2,1) {};
\node[fill,label={above:{W}}] (W) at (0,1.5) {};
\node[fill,label={below:{$U_T$}}] (UT) at (0,-1) {};
\node[fill,label={below:{$U_Y$}}] (UY) at (4,label={above:{$U_X$}}] (UX) at (2,2) {};
\node[fill,label={below:{$U_W$}}] (UW) at (-1,1.5) {};
\draw[->,shorten >= 1pt] (X)--(T);
\draw[->,shorten >= 1pt] (X)--(Y);
\draw[->,shorten >= 1pt] (W)--(X);
\draw[->,shorten >= 1pt] (UT)--(T);
\draw[->,shorten >= 1pt] (UY)--(Y);
\draw[->,shorten >= 1pt] (UX)--(X);
\draw[->,shorten >= 1pt] (UW)--(W);
\end{tikzpicture}

$M:$
$W := f_W (\epsilon_W)$  
$X := f_X (W,\epsilon_X)$  
$T := f_T (X,\epsilon_T)$  
$Y := f_Y (X,\epsilon_Y)$  

\small
\justify
A final line of text here.

这是header.tex的代码

\definecolor{mycolorlightblue}{RGB}{103,153,200}
\definecolor{mycolordarkblue}{RGB}{0,70,127}
% add packages
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{tcolorBox}
\usepackage{ragged2e}
% remove 2nd section from header
\makeatletter
\beamer@theme@subsectionfalse
\makeatother
% change colour of lines
\setbeamercolor{separation line}{bg=mycolorlightblue}
% text title
\setbeamercolor{title}{fg=mycolordarkblue}
\setbeamercolor{frametitle}{fg=mycolordarkblue}
% text colour
\setbeamercolor{frametitle}{fg=mycolordarkblue}
% item colour
\setbeamercolor{structure}{fg=mycolordarkblue}
% no header or footer on first page
\thispagestyle{empty}
% remove title slides at beginning of sections
\AtBeginSection{}
% add page counter to the footer
\setbeamertemplate{footline}[frame number]
% logo of my university
\titlegraphic{%
  \begin{picture}(0,0)
    \put(155,0){\makeBox(0,0)[rt]{\includegraphics[]{ALL-ICONS.png}}}
  \end{picture}}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...