# 括弧が上付き文字を正しく処理しません

**URL:** https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649
**Category:** Support
**Tags:** math
**Created:** [2020 年 8 月 15 日午後 3:38 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649 "2020-08-15T15:38:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [2020 年 8 月 15 日午後 3:38 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/1 "2020-08-15T15:38:20Z")

</div>

丸括弧が上付き文字を正しく表示しないことに気づきました。例えば、

```plaintext
$2^(ceil(ln(N)))$

```

は以下のように表示されます：

2^(ceil(ln(N)))

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [2020 年 8 月 15 日午後 3:50 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/2 "2020-08-15T15:50:03Z")

</div>

`(ceil(ln(N))`

対応する括弧を確認してください。

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [2020 年 8 月 15 日午後 4:02 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/3 "2020-08-15T16:02:17Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/0/3/03d224014c1ffa725af6a6e4f2b2e812604f2a55.png)

括弧が一致していても、これが表示されます。

---

<div class="post-metadata">

### Author: ![mcmcclur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcmcclur/32/115456_2.png) [@mcmcclur](https://meta.discourse.org/u/mcmcclur)
#### Post date: [2020 年 8 月 15 日午後 4:05 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/4 "2020-08-15T16:05:59Z")

</div>

> [@AntiMetaman](#):
>
> 丸括弧が上付き文字を正しく機能させていないことに気づきました。例えば、
> 
> `$2^(ceil(ln(N))$`

LaTeX 区切り文字で囲まれた AsciiMath を入力しています。AsciiMath を使用するには、以下を試してください：

```
%2^(ceil(ln(N)))%

```

LaTeX で同じ結果を得るには、以下を試してください：

```
$2^{\lceil \ln(N) \rceil}$

```

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [2020 年 8 月 15 日午後 4:08 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/5 "2020-08-15T16:08:12Z")

</div>

ありがとうございます、うまくいきました。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2023 年 2 月 1 日午前 10:06 UTC](https://meta.discourse.org/t/parenthesis-don-t-do-the-superscript-correctly/253649/6 "2023-02-01T10:06:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
