提问人:FranzGoogle 提问时间:11/24/2021 最后编辑:FranzGoogle 更新时间:11/24/2021 访问量:65
如何在 RMarkdown 中关闭报价后放置最后一个点
How to put final dot after closing quotes in RMarkdown
问:
我正在 RMarkdown 中写一篇文章,我想在句子末尾显示点。
我同时使用字符来打开和关闭报价。显然,我在结束引号后插入了点,但显示的是:"
这是我的序言:
\documentclass[12pt, a4paper, twoside, openright]{report}
\usepackage{sectsty}
\usepackage[style=authoryear, sorting=nyt, backend=bibtex]{biblatex}
\usepackage[italian]{babel}
\usepackage{float}
\usepackage{paralist}
\usepackage{setspace}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{dcolumn}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{subfiles}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{bm}
\usepackage{wasysym}
\usepackage{amstext}
\usepackage{array}
\usepackage{hhline}
\usepackage[labelfont=bf]{caption}
\usepackage{csquotes}
\renewcommand{\baselinestretch}{1.4}
\geometry{left = 3cm, right = 3cm, top = 3cm, bottom = 2.5cm}
\graphicspath{{img}}
\setcounter{chapter}{0}
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\titleformat{\chapter}[hang]{\normalfont\huge\bfseries\raggedright}{\thechapter}{40pt}{\huge}
\sectionfont{\bfseries\Large\raggedright}
\subsectionfont{\raggedright}
\subsubsectionfont{\itshape\raggedright}
\newcommand{\R}{\mathbb{R}}
\newcolumntype{L}{>{$}l<{$}}
\bibliography{bibliografia.bib}
这是我的代码(文本),显示了上图中报告的内容:
"...tutto sia correlato con tutto il resto, ma oggetti vicini siano più correlati di oggetti lontani".
我该如何解决?
答:
2赞
manro
11/24/2021
#1
请尝试以下解决方案:
---
title: "Test Table"
date: '2021-11-11'
header-includes:
- \usepackage{csquotes}
output:
pdf_document
---
\enquote{I love StackOverflow}.
加法
\setquotestyle[quotes]{french}
\enquote{I love StackOverflow}.
评论
0赞
FranzGoogle
11/24/2021
这有效,谢谢。但它用«...»改变了这种引号。
0赞
manro
11/24/2021
@FranzGoogle 看一个加法;)
1赞
FranzGoogle
11/24/2021
现在它很完美。非常感谢!
评论