Mar*_*ski 7 latex r r-markdown
我想在RMarkdown v2中写下我的硕士论文,如果我能使用准备好的LaTeX课程,我会很高兴.
此外,我想在标题中添加一些行,并以某种方式添加一个摘要.
any1可以知道怎么做吗?
我以前很乐意拥有的线\begin{document}通常是:
\usepackage[utf8]{inputenc}
\usepackage{polski}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{tikz}
\usepackage{float} %pakiet do obs?ugi obrazków
\usepackage{graphicx} %pakiet do dodawania obrazków
\usepackage{tabularx} %pakiet do utrzymywania szeroko?ci tabel równo z szeroko?ci? tekstu
\usepackage[T1]{fontenc} %prze??czamy sie na fonty EC
\usepackage{dsfont}
% \usepackage[latin2]{inputenc} %kodowania polskich znakow ISO-8859-2 - mamy utf wyzej
\usepackage{xcolor} %pakiet do nadawania kolorów w \definecolor
\usepackage{listings} %pakiet do robienia t?a jak w programie R
\lstset{language=R,%
% numbers=left,%
tabsize=3,%
numberstyle=\footnotesize,%
basicstyle=\ttfamily \footnotesize \color{black},%
escapeinside={(*@}{@*)}}
\usepackage{longtable}
\definecolor{ListingBackground}{rgb}{0.95,0.95,0.95}
\definecolor{ListingRule}{rgb}{0.7,0.7,0.7}
\lstdefinestyle{incode} %definiowanie stylu t?a dla pisania kodu w R
{
basicstyle={\ttfamily\footnotesize},
backgroundcolor={\color{ListingBackground}},
frame={lr},
rulecolor={\color{ListingRule}},
framerule={2pt}
}
\usepackage{hyperref} %pakiet do dodawania hiper??cz
\hypersetup{colorlinks=true,
linkcolor=blue,
citecolor=blue,
urlcolor=blue}
%------------------------------------------------------------------------------%
\title{ o }
\author{Marcin Kosi?ski}
\supervisor{prof. dr hab. Micha? Nowak}
\type{magisters}
\discipline{matematyka}
\monthyear{lipiec 2015}
\date{\today}
\album{123456}
Run Code Online (Sandbox Code Playgroud)
如果可能的话\begin{document}.
\begin{abstract}
some text
\end{abstract}
\tableofcontents
\listoffigures
\listoftables
Run Code Online (Sandbox Code Playgroud)
在此先感谢您的帮助:)!我知道我需要在Rmarkdown v2文档的乞讨中以某种方式指定设置
---
title: "Magisterka"
author: "Marcin Kosi?ski"
date: "Tuesday, July 29, 2014"
output: pdf_document
documentclass: mini
includes:
in_header: headerMgr.tex
---
Run Code Online (Sandbox Code Playgroud)
编辑:
灵魂是良好的YAML规范:
---
title: "Magisterka"
author: "Marcin Kosi?ski"
date: "Tuesday, July 29, 2014"
output:
pdf_document:
includes:
in_header: header.tex
before_body: doc_prefix.tex
---
Run Code Online (Sandbox Code Playgroud)
基于此http://rmarkdown.rstudio.com/pdf_document_format.html,您需要包含以下行:
---
title: "Magisterka"
author: "Marcin Kosi?ski"
date: "Tuesday, July 29, 2014"
output:
pdf_document:
includes:
in_header: header.tex
before_body: doc_prefix.tex
---
Run Code Online (Sandbox Code Playgroud)
您需要记住将所有文件(.Rmd和所有.tex)放在同一个文件夹中.
| 归档时间: |
|
| 查看次数: |
2908 次 |
| 最近记录: |