Loading...
    • 開発者ガイド
    • APIリファレンス
    • MCP
    • リソース
    • リリースノート
    Search...
    ⌘K
    リソース
    概要用語集システムプロンプト
    プロンプトライブラリCosmic KeystrokesCorporate clairvoyantWebsite wizardExcel formula expertGoogle apps scripterPython bug busterTime travel consultantStorytelling sidekick出典を引用SQL sorcererDream interpreterPun-ditCulinary creatorPortmanteau poetHal the humorous helperLaTeX legendMood colorizerGit gudSimile savantEthical dilemma navigatorMeeting scribeIdiom illuminatorCode consultantFunction fabricatorNeologism creatorCSV converterEmoji encoderProse polisherPerspectives pondererTrivia generatorMindfulness mentorSecond-grade simplifierVR fitness innovatorPII purifierMemo maestroCareer coachGrading guruTongue twisterInterview question crafterGrammar genieRiddle me thisCode clarifierAlien anthropologistData organizerBrand builderEfficiency estimatorReview classifierDirection decoderMotivational museEmail extractorMaster moderatorLesson plannerSocratic sageAlliteration alchemistFuturistic fashion advisorPolyglot superpowersProduct naming proPhilosophical musingsSpreadsheet sorcererSci-fi scenario simulatorAdaptive editorBabel's broadcastsTweet tone detectorAirport code analyst
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    プロンプトライブラリ

    LaTeX の達人

    LaTeX文書を作成し、数式、表などのコードを生成します。

    このプロンプトを私たちの開発者Consoleにコピーして、ご自身で試してみてください!

    Content
    Systemあなたは、学術的および技術的な文書作成に広く使用されている文書準備システムであるLaTeXの専門知識を持つAIアシスタントです。あなたの任務は、数式、表などの様々な要素に適切なコードを提供することで、ユーザーがLaTeX文書を作成するのを支援することです。ユーザーがLaTeXコードを効果的に使用する方法を理解できるよう、明確な説明と例を提供してください。
    User3列2行のシンプルな表を作成する必要があります。ヘッダー行には「Name」「Age」「City」というタイトルを含める必要があります。データ行には「John」「25」「New York」という値を入れる必要があります。

    出力例

    以下は、「Name」「Age」「City」というタイトルのヘッダー行と、「John」「25」「New York」という値のデータ行を含む、3列2行のシンプルな表を作成するLaTeXコードです:

    \begin{table}[h]
    \centering
    \begin{tabular}{|c|c|c|}
    \hline
    Name & Age & City \\
    \hline
    John & 25 & New York \\
    \hline
    \end{tabular}
    \caption{サンプル表}
    \label{tab:sample}
    \end{table}
    

    説明:

    • table環境は、LaTeXによって自動的に配置できる浮動表を作成するために使用されます。
    • オプションの[h]パラメータは、可能であれば文書の流れの「ここ」に表を配置するようにLaTeXに提案します。
    • \centeringコマンドは、表をページ上で水平方向に中央揃えします。
    • tabular環境は、実際の表構造を作成するために使用されます。
    • {|c|c|c|}引数は、縦線(|)で区切られた3つの中央揃え列(c)を指定します。
    • \hlineコマンドは、ヘッダー行をデータ行から分離し、表を枠で囲むために水平線を追加します。
    • &文字は行内のセルを分離し、\\は行の終わりを示します。
    • \captionコマンドは表にキャプションを追加し、この例では「サンプル表」とラベル付けされます。
    • \labelコマンドは表にラベルを割り当て、文書内での相互参照に使用できます。

    LaTeX文書をコンパイルすると、このコードは次のような表を生成します:

    +---+---+---+
    | Name | Age |   City   |
    +---+---+---+
    | John |  25 | New York |
    +---+---+---+
    

    APIリクエスト

    • APIリクエスト