How to put sentences in table 4
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I was following the answer found in this question How to put sentences in table 3 and I just changed the contents of the table. I thought it's gonna be straightforward because I didn't touch the commands used there.
What happens is after I changed the sentences in the table without touching the commands used to generate the table, the PDF looks like this:
I really don't think the @ symbol is a very special character in Latex but why the email address' name didn't fit itself in the table? If I'm going to erase the @ symbol in the email address name, the name just fits in the table. I don't get it.
The code I used to generate the PDF is shown below...
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
noindent
centering
begintabularxtextwidthC3cm
hline
multirow2=[-.5cm]centering Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=[-0.5cm]centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
How will I correct this problem?
tables
add a comment |Â
up vote
2
down vote
favorite
I was following the answer found in this question How to put sentences in table 3 and I just changed the contents of the table. I thought it's gonna be straightforward because I didn't touch the commands used there.
What happens is after I changed the sentences in the table without touching the commands used to generate the table, the PDF looks like this:
I really don't think the @ symbol is a very special character in Latex but why the email address' name didn't fit itself in the table? If I'm going to erase the @ symbol in the email address name, the name just fits in the table. I don't get it.
The code I used to generate the PDF is shown below...
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
noindent
centering
begintabularxtextwidthC3cm
hline
multirow2=[-.5cm]centering Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=[-0.5cm]centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
How will I correct this problem?
tables
1
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I was following the answer found in this question How to put sentences in table 3 and I just changed the contents of the table. I thought it's gonna be straightforward because I didn't touch the commands used there.
What happens is after I changed the sentences in the table without touching the commands used to generate the table, the PDF looks like this:
I really don't think the @ symbol is a very special character in Latex but why the email address' name didn't fit itself in the table? If I'm going to erase the @ symbol in the email address name, the name just fits in the table. I don't get it.
The code I used to generate the PDF is shown below...
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
noindent
centering
begintabularxtextwidthC3cm
hline
multirow2=[-.5cm]centering Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=[-0.5cm]centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
How will I correct this problem?
tables
I was following the answer found in this question How to put sentences in table 3 and I just changed the contents of the table. I thought it's gonna be straightforward because I didn't touch the commands used there.
What happens is after I changed the sentences in the table without touching the commands used to generate the table, the PDF looks like this:
I really don't think the @ symbol is a very special character in Latex but why the email address' name didn't fit itself in the table? If I'm going to erase the @ symbol in the email address name, the name just fits in the table. I don't get it.
The code I used to generate the PDF is shown below...
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
noindent
centering
begintabularxtextwidthC3cm
hline
multirow2=[-.5cm]centering Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=[-0.5cm]centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
How will I correct this problem?
tables
tables
asked 3 hours ago
zZ_LateX_HaterZ_zZ
445
445
1
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago
add a comment |Â
1
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago
1
1
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
Assuming the definition of the C
column type is the same as in your earlier query, I would like to make the following suggestions:
Change the column type of the first column from
C
tol
. There is simply no good way to introduce line breaks in email addresses.Switch from
table
totable*
.Change
@
to@
to typeset "at" characters.Since you're loading the
booktabs
package, make use of its capabilities, i.e., replace all instances ofhline
withtoprule
,midrule
,addlinespace
, andbottomrule
. And, get rid of all vertical rules.Since you're using a sans-serif font for the body of the table, I think it would be a good idea to use sans-serif for the caption as well. Since you're loading the
caption
package, just issue a directive such ascaptionsetupfont=sf
.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagebooktabs,amssymb,array,tabularx
usepackageragged2e,booktabs,caption
% see https://tex.stackexchange.com/q/451660/ for def. of "C"
newcolumntypeC[1]>Centeringarraybackslashp#1
setlengthparindent0pt
begindocument
begintable* % since 'twocolumn' option is in use
captionsetupskip=0.5baselineskip,font=sf
sffamily%small
setlengthtabcolsep4pt
%setlengthextrarowheight2pt
%noindent
%centering
begintabularxtextwidth@
l
Cdimexpr1.5cm-tabcolseprelax
Cdimexpr1.5cm-tabcolseprelax
>RaggedRightarraybackslashX % left-alignment rather than full justification
@
toprule
Email addresses &
multicolumn2C3cmDid information get posted on Google Calendar?
& Notes\
cmidrule(lr)2-3
& Yes & No & \
midrule
rinshi246@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
devspecsniper@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
idislikeperiods@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
335basurahan@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
lubotsabaso@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
paltik357@gmail.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
storethefileshere@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
addlinespace
fitzmerlduron@outlook.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
screwelectronics@yahoo.com & & checkmark
& The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
addlinespace
gapalanay227@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
bottomrule
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable*
enddocument
add a comment |Â
up vote
3
down vote
Your example does not compile for me (C
column type undefined in the example) and the dimensions seemingly not calculated. In my understanding you do not even need this extra column type as array
provides w
. I also removed the overprinting of the cell in the middle.
Btw: As you are using twocolumn
you should consider using table*
because your table is too wide for one column.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
centering
begintabularxtextwidthwcdimexpr1.5cm-tabcolsep
hline
multirow2*Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
3
worth mentioning thatw
is new so you need anarray.sty
from this year.
– David Carlisle
57 mins ago
it will be more clear if you writewcdimexpr1.5cm-tabcolsep
instead ofwcdimexpr1.5cm-tabcolsep
:-). andnoindet
beforecentering
in table hasn't any sense .
– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of thearray
package) we keep the official syntax (i must confess that i understood your code after reading David comment).
– Zarko
9 mins ago
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Assuming the definition of the C
column type is the same as in your earlier query, I would like to make the following suggestions:
Change the column type of the first column from
C
tol
. There is simply no good way to introduce line breaks in email addresses.Switch from
table
totable*
.Change
@
to@
to typeset "at" characters.Since you're loading the
booktabs
package, make use of its capabilities, i.e., replace all instances ofhline
withtoprule
,midrule
,addlinespace
, andbottomrule
. And, get rid of all vertical rules.Since you're using a sans-serif font for the body of the table, I think it would be a good idea to use sans-serif for the caption as well. Since you're loading the
caption
package, just issue a directive such ascaptionsetupfont=sf
.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagebooktabs,amssymb,array,tabularx
usepackageragged2e,booktabs,caption
% see https://tex.stackexchange.com/q/451660/ for def. of "C"
newcolumntypeC[1]>Centeringarraybackslashp#1
setlengthparindent0pt
begindocument
begintable* % since 'twocolumn' option is in use
captionsetupskip=0.5baselineskip,font=sf
sffamily%small
setlengthtabcolsep4pt
%setlengthextrarowheight2pt
%noindent
%centering
begintabularxtextwidth@
l
Cdimexpr1.5cm-tabcolseprelax
Cdimexpr1.5cm-tabcolseprelax
>RaggedRightarraybackslashX % left-alignment rather than full justification
@
toprule
Email addresses &
multicolumn2C3cmDid information get posted on Google Calendar?
& Notes\
cmidrule(lr)2-3
& Yes & No & \
midrule
rinshi246@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
devspecsniper@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
idislikeperiods@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
335basurahan@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
lubotsabaso@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
paltik357@gmail.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
storethefileshere@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
addlinespace
fitzmerlduron@outlook.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
screwelectronics@yahoo.com & & checkmark
& The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
addlinespace
gapalanay227@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
bottomrule
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable*
enddocument
add a comment |Â
up vote
3
down vote
Assuming the definition of the C
column type is the same as in your earlier query, I would like to make the following suggestions:
Change the column type of the first column from
C
tol
. There is simply no good way to introduce line breaks in email addresses.Switch from
table
totable*
.Change
@
to@
to typeset "at" characters.Since you're loading the
booktabs
package, make use of its capabilities, i.e., replace all instances ofhline
withtoprule
,midrule
,addlinespace
, andbottomrule
. And, get rid of all vertical rules.Since you're using a sans-serif font for the body of the table, I think it would be a good idea to use sans-serif for the caption as well. Since you're loading the
caption
package, just issue a directive such ascaptionsetupfont=sf
.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagebooktabs,amssymb,array,tabularx
usepackageragged2e,booktabs,caption
% see https://tex.stackexchange.com/q/451660/ for def. of "C"
newcolumntypeC[1]>Centeringarraybackslashp#1
setlengthparindent0pt
begindocument
begintable* % since 'twocolumn' option is in use
captionsetupskip=0.5baselineskip,font=sf
sffamily%small
setlengthtabcolsep4pt
%setlengthextrarowheight2pt
%noindent
%centering
begintabularxtextwidth@
l
Cdimexpr1.5cm-tabcolseprelax
Cdimexpr1.5cm-tabcolseprelax
>RaggedRightarraybackslashX % left-alignment rather than full justification
@
toprule
Email addresses &
multicolumn2C3cmDid information get posted on Google Calendar?
& Notes\
cmidrule(lr)2-3
& Yes & No & \
midrule
rinshi246@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
devspecsniper@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
idislikeperiods@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
335basurahan@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
lubotsabaso@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
paltik357@gmail.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
storethefileshere@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
addlinespace
fitzmerlduron@outlook.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
screwelectronics@yahoo.com & & checkmark
& The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
addlinespace
gapalanay227@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
bottomrule
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable*
enddocument
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Assuming the definition of the C
column type is the same as in your earlier query, I would like to make the following suggestions:
Change the column type of the first column from
C
tol
. There is simply no good way to introduce line breaks in email addresses.Switch from
table
totable*
.Change
@
to@
to typeset "at" characters.Since you're loading the
booktabs
package, make use of its capabilities, i.e., replace all instances ofhline
withtoprule
,midrule
,addlinespace
, andbottomrule
. And, get rid of all vertical rules.Since you're using a sans-serif font for the body of the table, I think it would be a good idea to use sans-serif for the caption as well. Since you're loading the
caption
package, just issue a directive such ascaptionsetupfont=sf
.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagebooktabs,amssymb,array,tabularx
usepackageragged2e,booktabs,caption
% see https://tex.stackexchange.com/q/451660/ for def. of "C"
newcolumntypeC[1]>Centeringarraybackslashp#1
setlengthparindent0pt
begindocument
begintable* % since 'twocolumn' option is in use
captionsetupskip=0.5baselineskip,font=sf
sffamily%small
setlengthtabcolsep4pt
%setlengthextrarowheight2pt
%noindent
%centering
begintabularxtextwidth@
l
Cdimexpr1.5cm-tabcolseprelax
Cdimexpr1.5cm-tabcolseprelax
>RaggedRightarraybackslashX % left-alignment rather than full justification
@
toprule
Email addresses &
multicolumn2C3cmDid information get posted on Google Calendar?
& Notes\
cmidrule(lr)2-3
& Yes & No & \
midrule
rinshi246@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
devspecsniper@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
idislikeperiods@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
335basurahan@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
lubotsabaso@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
paltik357@gmail.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
storethefileshere@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
addlinespace
fitzmerlduron@outlook.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
screwelectronics@yahoo.com & & checkmark
& The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
addlinespace
gapalanay227@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
bottomrule
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable*
enddocument
Assuming the definition of the C
column type is the same as in your earlier query, I would like to make the following suggestions:
Change the column type of the first column from
C
tol
. There is simply no good way to introduce line breaks in email addresses.Switch from
table
totable*
.Change
@
to@
to typeset "at" characters.Since you're loading the
booktabs
package, make use of its capabilities, i.e., replace all instances ofhline
withtoprule
,midrule
,addlinespace
, andbottomrule
. And, get rid of all vertical rules.Since you're using a sans-serif font for the body of the table, I think it would be a good idea to use sans-serif for the caption as well. Since you're loading the
caption
package, just issue a directive such ascaptionsetupfont=sf
.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagebooktabs,amssymb,array,tabularx
usepackageragged2e,booktabs,caption
% see https://tex.stackexchange.com/q/451660/ for def. of "C"
newcolumntypeC[1]>Centeringarraybackslashp#1
setlengthparindent0pt
begindocument
begintable* % since 'twocolumn' option is in use
captionsetupskip=0.5baselineskip,font=sf
sffamily%small
setlengthtabcolsep4pt
%setlengthextrarowheight2pt
%noindent
%centering
begintabularxtextwidth@
l
Cdimexpr1.5cm-tabcolseprelax
Cdimexpr1.5cm-tabcolseprelax
>RaggedRightarraybackslashX % left-alignment rather than full justification
@
toprule
Email addresses &
multicolumn2C3cmDid information get posted on Google Calendar?
& Notes\
cmidrule(lr)2-3
& Yes & No & \
midrule
rinshi246@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
devspecsniper@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
idislikeperiods@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
335basurahan@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
lubotsabaso@gmail.com & & checkmark
& The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
addlinespace
paltik357@gmail.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
storethefileshere@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
addlinespace
fitzmerlduron@outlook.com & checkmark &
& The information gets posted on Google Calendar. \
addlinespace
screwelectronics@yahoo.com & & checkmark
& The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
addlinespace
gapalanay227@gmail.com & & checkmark
& The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
bottomrule
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable*
enddocument
edited 25 mins ago
answered 30 mins ago


Mico
264k30355731
264k30355731
add a comment |Â
add a comment |Â
up vote
3
down vote
Your example does not compile for me (C
column type undefined in the example) and the dimensions seemingly not calculated. In my understanding you do not even need this extra column type as array
provides w
. I also removed the overprinting of the cell in the middle.
Btw: As you are using twocolumn
you should consider using table*
because your table is too wide for one column.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
centering
begintabularxtextwidthwcdimexpr1.5cm-tabcolsep
hline
multirow2*Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
3
worth mentioning thatw
is new so you need anarray.sty
from this year.
– David Carlisle
57 mins ago
it will be more clear if you writewcdimexpr1.5cm-tabcolsep
instead ofwcdimexpr1.5cm-tabcolsep
:-). andnoindet
beforecentering
in table hasn't any sense .
– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of thearray
package) we keep the official syntax (i must confess that i understood your code after reading David comment).
– Zarko
9 mins ago
add a comment |Â
up vote
3
down vote
Your example does not compile for me (C
column type undefined in the example) and the dimensions seemingly not calculated. In my understanding you do not even need this extra column type as array
provides w
. I also removed the overprinting of the cell in the middle.
Btw: As you are using twocolumn
you should consider using table*
because your table is too wide for one column.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
centering
begintabularxtextwidthwcdimexpr1.5cm-tabcolsep
hline
multirow2*Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
3
worth mentioning thatw
is new so you need anarray.sty
from this year.
– David Carlisle
57 mins ago
it will be more clear if you writewcdimexpr1.5cm-tabcolsep
instead ofwcdimexpr1.5cm-tabcolsep
:-). andnoindet
beforecentering
in table hasn't any sense .
– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of thearray
package) we keep the official syntax (i must confess that i understood your code after reading David comment).
– Zarko
9 mins ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Your example does not compile for me (C
column type undefined in the example) and the dimensions seemingly not calculated. In my understanding you do not even need this extra column type as array
provides w
. I also removed the overprinting of the cell in the middle.
Btw: As you are using twocolumn
you should consider using table*
because your table is too wide for one column.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
centering
begintabularxtextwidthwcdimexpr1.5cm-tabcolsep
hline
multirow2*Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
Your example does not compile for me (C
column type undefined in the example) and the dimensions seemingly not calculated. In my understanding you do not even need this extra column type as array
provides w
. I also removed the overprinting of the cell in the middle.
Btw: As you are using twocolumn
you should consider using table*
because your table is too wide for one column.
documentclass[a4paper,twocolumn]article
usepackage[margin=1in]geometry
usepackagemultirow,booktabs
usepackageamssymb
usepackagearray
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackageragged2e,booktabs,caption
usepackagetabularx
setlengthparindent0pt
begindocument
begintable
sffamilysmall
setlengthtabcolsep4pt
setlengthextrarowheight2pt
centering
begintabularxtextwidthwcdimexpr1.5cm-tabcolsep
hline
multirow2*Email addresses & multicolumn2Did the information gets posted on the Google Calendar? & multirow2=centering Notes\
cline2-3
& Yes & No & \
hline
rinshi246@ gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
devspecsniper@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
idislikeperiods@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
335basurahan@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
lubotsabaso@gmail.com & & checkmark & The time is not specified whether it is am or pm, so it does not appear on Google Calendar. \
hline
paltik357@gmail.com & checkmark & & The information gets posted on Google Calendar. \
hline
storethefileshere@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if it was a time interval. It should be corrected. \
hline
fitzmerlduron@outlook.com & checkmark & & The information gets posted on Google Calendar. \
hline
screwelectronics@yahoo.com & & checkmark & The information didn't plot on the Google Calendar even if it is a weekday and time is mentioned. It should be corrected. \
hline
gapalanay227@gmail.com & & checkmark & The information didn't plot on the Google Calendar even if the information is enough. The information shown in this context must be recognized by the app and should be corrected.\
hline
endtabularx
captionGoogle Calendar's responses to different email accounts.
labeltable-test6
endtable
vspace60mm
enddocument
edited 15 mins ago
answered 3 hours ago


TeXnician
21.8k52882
21.8k52882
3
worth mentioning thatw
is new so you need anarray.sty
from this year.
– David Carlisle
57 mins ago
it will be more clear if you writewcdimexpr1.5cm-tabcolsep
instead ofwcdimexpr1.5cm-tabcolsep
:-). andnoindet
beforecentering
in table hasn't any sense .
– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of thearray
package) we keep the official syntax (i must confess that i understood your code after reading David comment).
– Zarko
9 mins ago
add a comment |Â
3
worth mentioning thatw
is new so you need anarray.sty
from this year.
– David Carlisle
57 mins ago
it will be more clear if you writewcdimexpr1.5cm-tabcolsep
instead ofwcdimexpr1.5cm-tabcolsep
:-). andnoindet
beforecentering
in table hasn't any sense .
– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of thearray
package) we keep the official syntax (i must confess that i understood your code after reading David comment).
– Zarko
9 mins ago
3
3
worth mentioning that
w
is new so you need an array.sty
from this year.– David Carlisle
57 mins ago
worth mentioning that
w
is new so you need an array.sty
from this year.– David Carlisle
57 mins ago
it will be more clear if you write
wcdimexpr1.5cm-tabcolsep
instead of wcdimexpr1.5cm-tabcolsep
:-). and noindet
before centering
in table hasn't any sense .– Zarko
18 mins ago
it will be more clear if you write
wcdimexpr1.5cm-tabcolsep
instead of wcdimexpr1.5cm-tabcolsep
:-). and noindet
before centering
in table hasn't any sense .– Zarko
18 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@Zarko That might be, but being German wc simply sounds much more interesting ;)
– TeXnician
15 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of the
array
package) we keep the official syntax (i must confess that i understood your code after reading David comment).– Zarko
9 mins ago
@TeXnician, well, than in my language should write 00 :-). i still encourage that (at least at on beginning of new version of the
array
package) we keep the official syntax (i must confess that i understood your code after reading David comment).– Zarko
9 mins ago
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f452549%2fhow-to-put-sentences-in-table-4%23new-answer', 'question_page');
);
Post as a guest
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
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
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
1
If you want help with an error you should always show the exact error message from the log. Don't post (or even look at) the typeset output, TeX makes no attempt to make sensible typeset output after an error, its error recovery (if you scroll past the error) is designed to allow syntax checking of the rest of the document, not to make a usable document.
– David Carlisle
1 hour ago