小型天花板支架

小型天花板支架

我需要找到一种方法在文本中插入小的天花板括号,但我找不到任何命令来执行此操作。我需要括号看起来像第二行 MES 和 MU.36 周围的括号:

在此处输入图片描述

我尝试使用 \textuperscript{\lceil{MES}},但它不起作用(顺便说一句,我很确定我也弄错了括号 {} 的位置),它将整个文本作为上标。

我将我的 MWE 附加到我的序言中:我从用于文本的数据库中复制了括号,但它们没有显示在 pdf 中。

梅威瑟:

\documentclass[a4paper, 12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage[backend=biber,style=philosophy-verbose,latinemph,singletitle=true]{biblatex}
\usepackage[a4paper,top=1.5cm,bottom=1.5cm,left=1.5cm,right=1.5cm]{geometry}
\pretolerance=10000
\tolerance=2000 
\emergencystretch=10pt


%%%%

%%%%

\renewcommand{\baselinestretch}{1.5} %INTERLINEA

%%%%

\DeclareLanguageMapping{italian}{italian-philosophy} %MAPPING LINGUA





%%%%%

\usepackage{fontspec}

\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{paralist}
\usepackage{verbatim}
\usepackage{caption}

\usepackage{tabularx}
\usepackage{multirow}

%%%%

\usepackage{polyglossia}
\newfontfamily\italianfont[Script=Latin]{Times New Roman}
\newfontfamily\greekfont[Script=Greek]{Gentium Plus}
\setmainlanguage{italian}
\setotherlanguages{greek}
\PolyglossiaSetup{italian}{indentfirst=false} %NO INDENT PRIMA RIGA DOPO CHAPTER O SECTION


%%%%



%%%%%%%

\usepackage{blindtext}   
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}


\makeatletter

\DeclareCiteCommand{\textcite}
  {\iffootnote{\usebibmacro{cite:init}}{}%
   \usebibmacro{prenote}}%
  {\usebibmacro{citeindex}%
   \iffootnote
     {\global\booltrue{cbx@mlafootnotes}%
      \renewcommand*{\newunitpunct}{\addcomma\space}%
      \usebibmacro{cite:mla:foot}}
     {\usebibmacro{cite:mla}}}
  {}
  {\usebibmacro{mla:foot:postnote}}

\makeatother


%%%%%%
\bibliography{contratti.bib}

%%%%%

\newcommand{\cmd}[1]{\texttt{\textbackslash #1}}

%%%%%

\setlength{\parindent}{24pt}    %INDENT PARAGRAFI


%%%%%%
%TOGLIE "" AI TITOLI DI TUTTE LE ENTRY
\DeclareFieldFormat*{title}{#1}

\DeclareFieldFormat[article]{citetitle}{#1}
\DeclareFieldFormat[article]{title}{#1} 


%%%%%%%

%TOGLIE PARENTESI A DATE
\renewbibmacro*{issue+date}{%
  \setunit{\addcomma\space}% NEW
%  \printtext[parens]{% DELETED
    \iffieldundef{issue}
      {\usebibmacro{date}}
      {\printfield{issue}%
       \setunit*{\addspace}%
%       \usebibmacro{date}}}% DELETED
       \usebibmacro{date}}% NEW
  \newunit}

%%%%%%

%TOGLIE "P." ALLE PAGINE DI TUTTE LE ENTRY
\DeclareFieldFormat*{pages}{#1}

%%%%%%%
\renewbibmacro*{cite:title}{%
  \ifsingletitle{\usebibmacro{cite:opcit}}{%
    \printtext[bibhyperlink]{%
      \printfield[citetitle]{labeltitle}%
      \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
      {\setunit{\addspace\midsentence}}}}}

\usepackage{amstext}
\newcommand{\textunderscript}[1]{$_{\text{#1}}$} %underscript per numeri accadico

\begin{document}

MU.37.KAM\textsubscript{2} man-ti u mse-lu ITU.ŠE 9 LU\textsubscript{2}.mu-ma-'i-ir 
KUR URI.KI u LU\textsubscript{2}.paq-du. ⸢MEŠ⸣  
ša\textsubscript{2} LUGAL ša\textsubscript{2} ina ⸢MU.36⸣.KAM\textsubscript{2} ana KUR sa-par-du ana 
UGU LUGAL GIN-uʾ

\end{document}

答案1

分隔符被命名为右上角/左角:

\ulcorner\urcorner

从包中amssymb

偶然发现:https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols

答案2

下面是一个解决方案,它使用amsmath\ensuremath\text)、amssymb(for\lceil\rceil)和bm(for \bm)包来创建一个名为的宏\ceilbrackets

在此处输入图片描述

\documentclass{article}
\usepackage{xcolor} % for "\textcolor" macro
\usepackage{amsmath,amssymb,bm}
\newcommand\ceilbrackets[1]{\ensuremath{%
   {}^{\scriptscriptstyle\bm{\lceil}}\mkern-1mu%
   \text{#1}%
   {}^{\scriptscriptstyle\bm{\rceil}}}}

\begin{document}
\textcolor{blue}{\ceilbrackets{ME\v S}}, \ceilbrackets{MU.36}
\end{document}

相关内容