Display texting
I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this 
Maybe align?
displaystyle displaybreak
add a comment |
I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this 
Maybe align?
displaystyle displaybreak
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 usingtabularxto 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
add a comment |
I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this 
Maybe align?
displaystyle displaybreak
I would like to learn what's the best way (most natural, canonical) to put in displayed form something like this 
Maybe align?
displaystyle displaybreak
displaystyle displaybreak
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 usingtabularxto 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
add a comment |
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 usingtabularxto 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
add a comment |
3 Answers
3
active
oldest
votes
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}

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}

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
add a comment |
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}

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
@Vladimirnewcommand{ring}{mathbf{Ring}}
– egreg
Feb 7 at 16:34
add a comment |
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}

add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}

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}

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
add a comment |
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}

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}

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
add a comment |
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}

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}

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}

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}

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
add a comment |
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
add a comment |
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}

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
@Vladimirnewcommand{ring}{mathbf{Ring}}
– egreg
Feb 7 at 16:34
add a comment |
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}

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
@Vladimirnewcommand{ring}{mathbf{Ring}}
– egreg
Feb 7 at 16:34
add a comment |
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}

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}

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
@Vladimirnewcommand{ring}{mathbf{Ring}}
– egreg
Feb 7 at 16:34
add a comment |
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
@Vladimirnewcommand{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
add a comment |
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}

add a comment |
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}

add a comment |
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}

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}

answered Feb 7 at 15:32
BernardBernard
169k773198
169k773198
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
tabularxto 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