Display texting












5















I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this enter image description here



Maybe align?










share|improve this question




















  • 1





    Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

    – Partha D.
    Feb 7 at 10:41






  • 1





    Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

    – Marijn
    Feb 7 at 11:47











  • @ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

    – Vladimir
    Feb 7 at 11:52











  • I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

    – Steven B. Segletes
    Feb 7 at 12:03


















5















I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this enter image description here



Maybe align?










share|improve this question




















  • 1





    Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

    – Partha D.
    Feb 7 at 10:41






  • 1





    Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

    – Marijn
    Feb 7 at 11:47











  • @ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

    – Vladimir
    Feb 7 at 11:52











  • I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

    – Steven B. Segletes
    Feb 7 at 12:03
















5












5








5








I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this enter image description here



Maybe align?










share|improve this question
















I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this enter image description here



Maybe align?







displaystyle displaybreak






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 7 at 11:52







Vladimir

















asked Feb 7 at 9:59









VladimirVladimir

984




984








  • 1





    Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

    – Partha D.
    Feb 7 at 10:41






  • 1





    Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

    – Marijn
    Feb 7 at 11:47











  • @ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

    – Vladimir
    Feb 7 at 11:52











  • I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

    – Steven B. Segletes
    Feb 7 at 12:03
















  • 1





    Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

    – Partha D.
    Feb 7 at 10:41






  • 1





    Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

    – Marijn
    Feb 7 at 11:47











  • @ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

    – Vladimir
    Feb 7 at 11:52











  • I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

    – Steven B. Segletes
    Feb 7 at 12:03










1




1





Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

– Partha D.
Feb 7 at 10:41





Welcome to TeX.Stackexchange-- the place where TeX lovers meet. To better interest enthusiasts, could you please break this down into two different questions and post them separately (with suitable titles)? Finally, it would be great to get a starting code from you-- showing how you tried to do them (or saw them done somewhere), and want an improvement. That would save contributors a lot of hard labour and increase your possibility of getting appropriate answers.

– Partha D.
Feb 7 at 10:41




1




1





Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

– Marijn
Feb 7 at 11:47





Welcome to TeX.SE! The first example looks like a table, you could try using tabularx to get the right margins and line breaking.

– Marijn
Feb 7 at 11:47













@ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

– Vladimir
Feb 7 at 11:52





@ParthaD. tex.stackexchange.com/questions/473745/… for the second question.

– Vladimir
Feb 7 at 11:52













I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

– Steven B. Segletes
Feb 7 at 12:03







I think the title of your question is inaccurate, as "texting" implies messages on handheld phones. You might consider editing it.

– Steven B. Segletes
Feb 7 at 12:03












3 Answers
3






active

oldest

votes


















7














An itemized list would be, in my mind, canonical. I say this because the math is all inline...things like align might be appropriate were the math displaystyle without surrounding text, but not here in this example.



documentclass[a4paper]{article}
usepackage{enumitem}
begin{document}
noindent the fibre or fibre category...
begin{itemize}[leftmargin=1.2in,labelsep=.2in]
item[bfseries objects] $X inmathcal{E}$ with $pX = I$
item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
on $I$ in $mathcal{B}$.
end{itemize}
An object ...
end{document}


enter image description here



If you really wanted left-aligned labels, you can use the itemize option align=left. I also zeroed itemsep so that the inter-item vertical gap is smaller.



documentclass[a4paper]{article}
usepackage{enumitem}
begin{document}
noindent the fibre or fibre category...
begin{itemize}[leftmargin=1.2in,labelwidth=.8in,labelsep=.2in,itemsep=0pt,align=left]
item[bfseries objects] $X inmathcal{E}$ with $pX = I$
item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
on $I$ in $mathcal{B}$.
end{itemize}
An object ...
end{document}


enter image description here






share|improve this answer


























  • Thank you very much!!

    – Vladimir
    Feb 7 at 15:41











  • Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

    – Vladimir
    Feb 7 at 15:45













  • @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

    – Steven B. Segletes
    Feb 7 at 16:49





















4














Assuming you have several of these descriptions, it is convenient to define a suitable environment:



documentclass[a4paper]{article}
usepackage{amsmath,amssymb}

newlength{categorywd}

newenvironment{category}
{%
settowidth{categorywd}{textbf{morphisms}}%
addtolength{categorywd}{2em}%
begin{list}{}{%
setlength{leftmargin}{categorywd}%
setlength{labelwidth}{categorywd}%
setlength{labelsep}{0pt}%
setlength{itemsep}{0pt}%
}%
}
{end{list}}

newcommand{objects}{categorytype{objects}}
newcommand{morphisms}{categorytype{morphisms}}
newcommand{categorytype}[1]{%
item[{makebox[categorywd][l]{quadtextbf{#1}}}]%
}


begin{document}

noindent
the textbf{fibre} or textbf{fibre category} $mathbb{E}_f=p^{-1}(I)$ over~$I$
is the category with
begin{category}
objects $X inmathbb{E}$ with $pX = I$.

morphisms $Xrightarrow Y$ in $mathbb{E}_f$ are morphisms
$fcolon Xrightarrow Y$ in $mathbb{E}$ for which $pf$ is the identity map
on $I$ in $mathbb{B}$.
end{category}
An object blah blah

end{document}


enter image description here






share|improve this answer
























  • Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

    – Vladimir
    Feb 7 at 15:39













  • @Vladimir newcommand{ring}{mathbf{Ring}}

    – egreg
    Feb 7 at 16:34



















1














A tabularx environment is another solution:



documentclass[a4paper]{article}
usepackage{tabularx}

begin{document}

noindent the textbf{fibre} or textbf{fibre category}… medskip

noindentbegin{tabularx}{linewidth}{@{quad} >{bfseries}rX@{}}%
objects & $X inmathcal{E}$ with $pX = I$ \
morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
on $I$ in $mathcal{B}$.
end{tabularx}
An object ...bigskip

noindentbegin{tabularx}{linewidth}{@{quad}>{bfseries}lX@{}}%
objects & $X inmathcal{E}$ with $pX = I$ \
morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
on $I$ in $mathcal{B}$.
end{tabularx}

end{document}


enter image description here






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473735%2fdisplay-texting%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    An itemized list would be, in my mind, canonical. I say this because the math is all inline...things like align might be appropriate were the math displaystyle without surrounding text, but not here in this example.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelsep=.2in]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here



    If you really wanted left-aligned labels, you can use the itemize option align=left. I also zeroed itemsep so that the inter-item vertical gap is smaller.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelwidth=.8in,labelsep=.2in,itemsep=0pt,align=left]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here






    share|improve this answer


























    • Thank you very much!!

      – Vladimir
      Feb 7 at 15:41











    • Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

      – Vladimir
      Feb 7 at 15:45













    • @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

      – Steven B. Segletes
      Feb 7 at 16:49


















    7














    An itemized list would be, in my mind, canonical. I say this because the math is all inline...things like align might be appropriate were the math displaystyle without surrounding text, but not here in this example.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelsep=.2in]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here



    If you really wanted left-aligned labels, you can use the itemize option align=left. I also zeroed itemsep so that the inter-item vertical gap is smaller.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelwidth=.8in,labelsep=.2in,itemsep=0pt,align=left]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here






    share|improve this answer


























    • Thank you very much!!

      – Vladimir
      Feb 7 at 15:41











    • Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

      – Vladimir
      Feb 7 at 15:45













    • @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

      – Steven B. Segletes
      Feb 7 at 16:49
















    7












    7








    7







    An itemized list would be, in my mind, canonical. I say this because the math is all inline...things like align might be appropriate were the math displaystyle without surrounding text, but not here in this example.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelsep=.2in]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here



    If you really wanted left-aligned labels, you can use the itemize option align=left. I also zeroed itemsep so that the inter-item vertical gap is smaller.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelwidth=.8in,labelsep=.2in,itemsep=0pt,align=left]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here






    share|improve this answer















    An itemized list would be, in my mind, canonical. I say this because the math is all inline...things like align might be appropriate were the math displaystyle without surrounding text, but not here in this example.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelsep=.2in]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here



    If you really wanted left-aligned labels, you can use the itemize option align=left. I also zeroed itemsep so that the inter-item vertical gap is smaller.



    documentclass[a4paper]{article}
    usepackage{enumitem}
    begin{document}
    noindent the fibre or fibre category...
    begin{itemize}[leftmargin=1.2in,labelwidth=.8in,labelsep=.2in,itemsep=0pt,align=left]
    item[bfseries objects] $X inmathcal{E}$ with $pX = I$
    item[bfseries morphisms] $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{itemize}
    An object ...
    end{document}


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 7 at 12:44

























    answered Feb 7 at 12:02









    Steven B. SegletesSteven B. Segletes

    155k9199407




    155k9199407













    • Thank you very much!!

      – Vladimir
      Feb 7 at 15:41











    • Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

      – Vladimir
      Feb 7 at 15:45













    • @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

      – Steven B. Segletes
      Feb 7 at 16:49





















    • Thank you very much!!

      – Vladimir
      Feb 7 at 15:41











    • Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

      – Vladimir
      Feb 7 at 15:45













    • @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

      – Steven B. Segletes
      Feb 7 at 16:49



















    Thank you very much!!

    – Vladimir
    Feb 7 at 15:41





    Thank you very much!!

    – Vladimir
    Feb 7 at 15:41













    Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

    – Vladimir
    Feb 7 at 15:45







    Is clicking the up arrow the best way to show appreciation for an answer? What's the difference in clicking the checkmark? I'm sorry for the trivial questions, maybe I'm just too lazy to look for community regulations right now... If you could redirect me to such place I'd appreciate. Thanks again!!

    – Vladimir
    Feb 7 at 15:45















    @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

    – Steven B. Segletes
    Feb 7 at 16:49







    @Vladimir You can click the up arrow on any question or answer on this site that you find "useful." For questions that you yourself ask, once you have the possibly multiple answers to your question, you can also consider clicking the check mark to the left of the one answer that best answers your particular question. This will help other readers to know which of the many answers were most helpful to the questioner.

    – Steven B. Segletes
    Feb 7 at 16:49













    4














    Assuming you have several of these descriptions, it is convenient to define a suitable environment:



    documentclass[a4paper]{article}
    usepackage{amsmath,amssymb}

    newlength{categorywd}

    newenvironment{category}
    {%
    settowidth{categorywd}{textbf{morphisms}}%
    addtolength{categorywd}{2em}%
    begin{list}{}{%
    setlength{leftmargin}{categorywd}%
    setlength{labelwidth}{categorywd}%
    setlength{labelsep}{0pt}%
    setlength{itemsep}{0pt}%
    }%
    }
    {end{list}}

    newcommand{objects}{categorytype{objects}}
    newcommand{morphisms}{categorytype{morphisms}}
    newcommand{categorytype}[1]{%
    item[{makebox[categorywd][l]{quadtextbf{#1}}}]%
    }


    begin{document}

    noindent
    the textbf{fibre} or textbf{fibre category} $mathbb{E}_f=p^{-1}(I)$ over~$I$
    is the category with
    begin{category}
    objects $X inmathbb{E}$ with $pX = I$.

    morphisms $Xrightarrow Y$ in $mathbb{E}_f$ are morphisms
    $fcolon Xrightarrow Y$ in $mathbb{E}$ for which $pf$ is the identity map
    on $I$ in $mathbb{B}$.
    end{category}
    An object blah blah

    end{document}


    enter image description here






    share|improve this answer
























    • Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

      – Vladimir
      Feb 7 at 15:39













    • @Vladimir newcommand{ring}{mathbf{Ring}}

      – egreg
      Feb 7 at 16:34
















    4














    Assuming you have several of these descriptions, it is convenient to define a suitable environment:



    documentclass[a4paper]{article}
    usepackage{amsmath,amssymb}

    newlength{categorywd}

    newenvironment{category}
    {%
    settowidth{categorywd}{textbf{morphisms}}%
    addtolength{categorywd}{2em}%
    begin{list}{}{%
    setlength{leftmargin}{categorywd}%
    setlength{labelwidth}{categorywd}%
    setlength{labelsep}{0pt}%
    setlength{itemsep}{0pt}%
    }%
    }
    {end{list}}

    newcommand{objects}{categorytype{objects}}
    newcommand{morphisms}{categorytype{morphisms}}
    newcommand{categorytype}[1]{%
    item[{makebox[categorywd][l]{quadtextbf{#1}}}]%
    }


    begin{document}

    noindent
    the textbf{fibre} or textbf{fibre category} $mathbb{E}_f=p^{-1}(I)$ over~$I$
    is the category with
    begin{category}
    objects $X inmathbb{E}$ with $pX = I$.

    morphisms $Xrightarrow Y$ in $mathbb{E}_f$ are morphisms
    $fcolon Xrightarrow Y$ in $mathbb{E}$ for which $pf$ is the identity map
    on $I$ in $mathbb{B}$.
    end{category}
    An object blah blah

    end{document}


    enter image description here






    share|improve this answer
























    • Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

      – Vladimir
      Feb 7 at 15:39













    • @Vladimir newcommand{ring}{mathbf{Ring}}

      – egreg
      Feb 7 at 16:34














    4












    4








    4







    Assuming you have several of these descriptions, it is convenient to define a suitable environment:



    documentclass[a4paper]{article}
    usepackage{amsmath,amssymb}

    newlength{categorywd}

    newenvironment{category}
    {%
    settowidth{categorywd}{textbf{morphisms}}%
    addtolength{categorywd}{2em}%
    begin{list}{}{%
    setlength{leftmargin}{categorywd}%
    setlength{labelwidth}{categorywd}%
    setlength{labelsep}{0pt}%
    setlength{itemsep}{0pt}%
    }%
    }
    {end{list}}

    newcommand{objects}{categorytype{objects}}
    newcommand{morphisms}{categorytype{morphisms}}
    newcommand{categorytype}[1]{%
    item[{makebox[categorywd][l]{quadtextbf{#1}}}]%
    }


    begin{document}

    noindent
    the textbf{fibre} or textbf{fibre category} $mathbb{E}_f=p^{-1}(I)$ over~$I$
    is the category with
    begin{category}
    objects $X inmathbb{E}$ with $pX = I$.

    morphisms $Xrightarrow Y$ in $mathbb{E}_f$ are morphisms
    $fcolon Xrightarrow Y$ in $mathbb{E}$ for which $pf$ is the identity map
    on $I$ in $mathbb{B}$.
    end{category}
    An object blah blah

    end{document}


    enter image description here






    share|improve this answer













    Assuming you have several of these descriptions, it is convenient to define a suitable environment:



    documentclass[a4paper]{article}
    usepackage{amsmath,amssymb}

    newlength{categorywd}

    newenvironment{category}
    {%
    settowidth{categorywd}{textbf{morphisms}}%
    addtolength{categorywd}{2em}%
    begin{list}{}{%
    setlength{leftmargin}{categorywd}%
    setlength{labelwidth}{categorywd}%
    setlength{labelsep}{0pt}%
    setlength{itemsep}{0pt}%
    }%
    }
    {end{list}}

    newcommand{objects}{categorytype{objects}}
    newcommand{morphisms}{categorytype{morphisms}}
    newcommand{categorytype}[1]{%
    item[{makebox[categorywd][l]{quadtextbf{#1}}}]%
    }


    begin{document}

    noindent
    the textbf{fibre} or textbf{fibre category} $mathbb{E}_f=p^{-1}(I)$ over~$I$
    is the category with
    begin{category}
    objects $X inmathbb{E}$ with $pX = I$.

    morphisms $Xrightarrow Y$ in $mathbb{E}_f$ are morphisms
    $fcolon Xrightarrow Y$ in $mathbb{E}$ for which $pf$ is the identity map
    on $I$ in $mathbb{B}$.
    end{category}
    An object blah blah

    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 7 at 13:24









    egregegreg

    719k8719083206




    719k8719083206













    • Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

      – Vladimir
      Feb 7 at 15:39













    • @Vladimir newcommand{ring}{mathbf{Ring}}

      – egreg
      Feb 7 at 16:34



















    • Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

      – Vladimir
      Feb 7 at 15:39













    • @Vladimir newcommand{ring}{mathbf{Ring}}

      – egreg
      Feb 7 at 16:34

















    Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

    – Vladimir
    Feb 7 at 15:39







    Thank you Professor. I couldn't ask for a more complete answer. Being aware of your expertise in the field I think I'd like to ask you tons of questions in order to improve my document. I'll take the liberty to ask you here the following question: in order to define a command for the symbol to denote a category with, is it better to do it this way DeclareMathOperator{ring}{mathbf{Ring}} or this way newcommand{ring}{textbf{Ring}}, and why? At my level of knowledge I cannot spot any differences. Thank you in advance.

    – Vladimir
    Feb 7 at 15:39















    @Vladimir newcommand{ring}{mathbf{Ring}}

    – egreg
    Feb 7 at 16:34





    @Vladimir newcommand{ring}{mathbf{Ring}}

    – egreg
    Feb 7 at 16:34











    1














    A tabularx environment is another solution:



    documentclass[a4paper]{article}
    usepackage{tabularx}

    begin{document}

    noindent the textbf{fibre} or textbf{fibre category}… medskip

    noindentbegin{tabularx}{linewidth}{@{quad} >{bfseries}rX@{}}%
    objects & $X inmathcal{E}$ with $pX = I$ \
    morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{tabularx}
    An object ...bigskip

    noindentbegin{tabularx}{linewidth}{@{quad}>{bfseries}lX@{}}%
    objects & $X inmathcal{E}$ with $pX = I$ \
    morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
    in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
    on $I$ in $mathcal{B}$.
    end{tabularx}

    end{document}


    enter image description here






    share|improve this answer




























      1














      A tabularx environment is another solution:



      documentclass[a4paper]{article}
      usepackage{tabularx}

      begin{document}

      noindent the textbf{fibre} or textbf{fibre category}… medskip

      noindentbegin{tabularx}{linewidth}{@{quad} >{bfseries}rX@{}}%
      objects & $X inmathcal{E}$ with $pX = I$ \
      morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
      in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
      on $I$ in $mathcal{B}$.
      end{tabularx}
      An object ...bigskip

      noindentbegin{tabularx}{linewidth}{@{quad}>{bfseries}lX@{}}%
      objects & $X inmathcal{E}$ with $pX = I$ \
      morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
      in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
      on $I$ in $mathcal{B}$.
      end{tabularx}

      end{document}


      enter image description here






      share|improve this answer


























        1












        1








        1







        A tabularx environment is another solution:



        documentclass[a4paper]{article}
        usepackage{tabularx}

        begin{document}

        noindent the textbf{fibre} or textbf{fibre category}… medskip

        noindentbegin{tabularx}{linewidth}{@{quad} >{bfseries}rX@{}}%
        objects & $X inmathcal{E}$ with $pX = I$ \
        morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
        in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
        on $I$ in $mathcal{B}$.
        end{tabularx}
        An object ...bigskip

        noindentbegin{tabularx}{linewidth}{@{quad}>{bfseries}lX@{}}%
        objects & $X inmathcal{E}$ with $pX = I$ \
        morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
        in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
        on $I$ in $mathcal{B}$.
        end{tabularx}

        end{document}


        enter image description here






        share|improve this answer













        A tabularx environment is another solution:



        documentclass[a4paper]{article}
        usepackage{tabularx}

        begin{document}

        noindent the textbf{fibre} or textbf{fibre category}… medskip

        noindentbegin{tabularx}{linewidth}{@{quad} >{bfseries}rX@{}}%
        objects & $X inmathcal{E}$ with $pX = I$ \
        morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
        in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
        on $I$ in $mathcal{B}$.
        end{tabularx}
        An object ...bigskip

        noindentbegin{tabularx}{linewidth}{@{quad}>{bfseries}lX@{}}%
        objects & $X inmathcal{E}$ with $pX = I$ \
        morphisms & $xrightarrow Y$ in $mathcal{E}_f$ are morphisms
        in $f: Xrightarrow Y$ in $mathcal{E}$ for which $pf$ is the identity map
        on $I$ in $mathcal{B}$.
        end{tabularx}

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 7 at 15:32









        BernardBernard

        169k773198




        169k773198






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473735%2fdisplay-texting%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?