mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-06 04:51:36 +00:00
Added whole documents to the Translation, Grammar & Spelling, and Rewrite & Improve assistants (#1179)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f7666861f1
commit
918572c158
150 files changed
+12850
-302
No files matched your search
@@ -0,0 +1,42 @@
|
||||
namespace AIStudio.Tools.DocumentSegments.Latex;
|
||||
|
||||
/// <summary>
|
||||
/// What a command means for the segments of a document.
|
||||
/// </summary>
|
||||
internal enum LatexCommandRole
|
||||
{
|
||||
/// <summary>
|
||||
/// Marks up words, e.g., \textbf or \footnote: its text argument becomes a pair of tags.
|
||||
/// </summary>
|
||||
WORDS,
|
||||
|
||||
/// <summary>
|
||||
/// A heading or a caption, e.g., \section: its text argument and its optional arguments are segments of their own.
|
||||
/// </summary>
|
||||
HEADING,
|
||||
|
||||
/// <summary>
|
||||
/// An item of a list, which starts a segment; its optional argument is its label, a segment of its own.
|
||||
/// </summary>
|
||||
ITEM,
|
||||
|
||||
/// <summary>
|
||||
/// Ends a paragraph, as \par does.
|
||||
/// </summary>
|
||||
PARAGRAPH,
|
||||
|
||||
/// <summary>
|
||||
/// Breaks a line, as \\ does: within a table, it ends a row and so a segment; elsewhere, it is layout.
|
||||
/// </summary>
|
||||
LINE_BREAK,
|
||||
|
||||
/// <summary>
|
||||
/// Layout without words, e.g., \label or \centering: a tag of its own, which stays outside of a segment at its edges.
|
||||
/// </summary>
|
||||
LAYOUT,
|
||||
|
||||
/// <summary>
|
||||
/// Anything else, e.g., \ref or \cite: a tag of its own within the words, since it stands for something a reader sees.
|
||||
/// </summary>
|
||||
INLINE,
|
||||
}
|
||||
Reference in new issue
Block a user