-
Notifications
You must be signed in to change notification settings - Fork 12
/docs/reference/math/underover
の翻訳
#250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+31
−34
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,156 +1,154 @@ | ||
use crate::foundations::{elem, Content}; | ||
use crate::math::Mathy; | ||
|
||
/// A horizontal line under content. | ||
/// コンテンツの下にある水平方向の線。 | ||
/// | ||
/// ```example | ||
/// $ underline(1 + 2 + ... + 5) $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct UnderlineElem { | ||
/// The content above the line. | ||
/// 線の上にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
} | ||
|
||
/// A horizontal line over content. | ||
/// コンテンツの上にある水平方向の線。 | ||
/// | ||
/// ```example | ||
/// $ overline(1 + 2 + ... + 5) $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct OverlineElem { | ||
/// The content below the line. | ||
/// 線の下にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
} | ||
|
||
/// A horizontal brace under content, with an optional annotation below. | ||
/// コンテンツの下にある水平方向の波括弧。その下にオプションで注釈ができます。 | ||
/// | ||
/// ```example | ||
/// $ underbrace(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct UnderbraceElem { | ||
/// The content above the brace. | ||
/// 波括弧の上にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content below the brace. | ||
/// 波括弧の下にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal brace over content, with an optional annotation above. | ||
/// コンテンツの上にある水平方向の波括弧。その上にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ overbrace(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct OverbraceElem { | ||
/// The content below the brace. | ||
/// 波括弧の下にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content above the brace. | ||
/// 波括弧の上にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal bracket under content, with an optional annotation below. | ||
/// コンテンツの下にある水平方向の角括弧。その下にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ underbracket(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct UnderbracketElem { | ||
/// The content above the bracket. | ||
/// 角括弧の上にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content below the bracket. | ||
/// 角括弧の下にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal bracket over content, with an optional annotation above. | ||
/// コンテンツの上にある水平方向の角括弧。その上にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ overbracket(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct OverbracketElem { | ||
/// The content below the bracket. | ||
/// 角括弧の下にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content above the bracket. | ||
/// 角括弧の上にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal parenthesis under content, with an optional annotation below. | ||
/// コンテンツの下にある水平方向の丸括弧。その下にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ underparen(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct UnderparenElem { | ||
/// The content above the parenthesis. | ||
/// 丸括弧の上にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content below the parenthesis. | ||
/// 丸括弧の下にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal parenthesis over content, with an optional annotation above. | ||
/// コンテンツの上にある水平方向の丸括弧。その上にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ overparen(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct OverparenElem { | ||
/// The content below the parenthesis. | ||
/// 丸括弧の下にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content above the parenthesis. | ||
/// 丸括弧の上にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal tortoise shell bracket under content, with an optional | ||
/// annotation below. | ||
/// コンテンツの下にある水平方向の亀甲括弧。その下にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ undershell(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct UndershellElem { | ||
/// The content above the tortoise shell bracket. | ||
/// 亀甲括弧の上にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content below the tortoise shell bracket. | ||
/// 亀甲括弧の下にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} | ||
|
||
/// A horizontal tortoise shell bracket over content, with an optional | ||
/// annotation above. | ||
/// コンテンツの上にある水平方向の亀甲括弧。その上にオプションで注釈ができます。 | ||
ultimatile marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/// | ||
/// ```example | ||
/// $ overshell(1 + 2 + ... + 5, "numbers") $ | ||
/// ``` | ||
#[elem(Mathy)] | ||
pub struct OvershellElem { | ||
/// The content below the tortoise shell bracket. | ||
/// 亀甲括弧の下にあるコンテンツ。 | ||
#[required] | ||
pub body: Content, | ||
|
||
/// The optional content above the tortoise shell bracket. | ||
/// 亀甲括弧の上にあるオプションのコンテンツ。 | ||
#[positional] | ||
pub annotation: Option<Content>, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.