How do I align tablenotes in a threeparttableFormatting tablenotesMissing } inserted. endtablenotesUsing threeparttable with tabuSet width of tablenotesWidth of tablenotes and caption (threeparttable)Tablenotes overlapping with page numberLet tablenotes in threeparttable appear as justified text blockText in tablenotes going beyond marginHow to change the tablenotes using threeparttableIssues with footnotes using wrapping parbox with longtable, threeparttable and tablenotes

Can I take the the bonus-action attack from Two-Weapon Fighting without taking the Attack action?

Was it really inappropriate to write a pull request for the company I interviewed with?

What is the "determinant" of two vectors?

Why aren't there more Gauls like Obelix?

What is Tony Stark injecting into himself in Iron Man 3?

How can I portion out frozen cookie dough?

Will expression retain the same definition if particle is changed?

Does an unused member variable take up memory?

When an outsider describes family relationships, which point of view are they using?

Too soon for a plot twist?

Is it a Cyclops number? "Nobody" knows!

Giving a career talk in my old university, how prominently should I tell students my salary?

Can't make sense of a paragraph from Lovecraft

Playing a 7-string guitar song on a 6-string guitar

Origin of the word “pushka”

Is divide-by-zero a security vulnerability?

Create chunks from an array

Translation of 答えを知っている人はいませんでした

I can't die. Who am I?

Is there a math expression equivalent to the conditional ternary operator?

Is it appropriate to ask a former professor to order a book for me through an inter-library loan?

What would be the most expensive material to an intergalactic society?

Smooth vector fields on a surface modulo diffeomorphisms

What should I do when a paper is published similar to my PhD thesis without citation?



How do I align tablenotes in a threeparttable


Formatting tablenotesMissing } inserted. endtablenotesUsing threeparttable with tabuSet width of tablenotesWidth of tablenotes and caption (threeparttable)Tablenotes overlapping with page numberLet tablenotes in threeparttable appear as justified text blockText in tablenotes going beyond marginHow to change the tablenotes using threeparttableIssues with footnotes using wrapping parbox with longtable, threeparttable and tablenotes













5















Edit: Now I realize there is a issue with very long notes, specially because I am working with A5 paper.
Using Mica's solution:



Long note



Having the tablenotes flushleft however works just fine.



Two questions in one:



  • How do I align the tablenotes to start at the left of the table and figure? (The flushleft option of threeparttable does affect the whole threeparttable and creates inconsistency)

  • Why my code displays this difference in the tablenotes, when comparing figure and table?

tablenotes misalignment



documentclassmemoir
usepackagelmodern % Usa a fonte Latin Modern
usepackage[T1]fontenc % Selecao de codigos de fonte.
usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
usepackage[brazil]babel
usepackage[range-phrase=,a,]siunitx
sisetup
group-digits=true,
group-four-digits=true,
group-separator=,,
output-decimal-marker=,

usepackagecaption
captionsetup
justification=justified,
%labelsep=quad,
labelsep=endash, %% ABNT q manda
position=above,
skip=onelineskip,
width=0.95linewidth,

setfloatadjustmenttablecentering
setfloatadjustmentfigurecentering
setfloatadjustmentthreeparttablecentering
usepackagetikz
usepackagepgfplots
usepackage[]threeparttable


begindocument
beginfigure[]
captionoffigurePressão
labelfig:pvapor2
beginthreeparttable
begintikzpicture[]
beginaxis[grid=both,trim axis left, trim axis right,
xlabel=Something else, ylabel=Something,
xmin= 1150,
xmax=1550,
ymin=-0.02
]
addplot+[ultra thick] coordinates
(1300-273,101325*4.278*10^-11)
(1400-273,101325*8.133*10^-10)
(1500-273,101325*1.040*10^-8)
(1600-273,101325*9.636*10^-8)
(1687-273,101325*5.377*10^-7)
(1700-273,101325*6.662*10^-7)
(1800-273,101325*3.117*10^-6)
(1900-273,101325*1.238*10^-5)
;
endaxis
endtikzpicture
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endfigure

begintable
captionoftablePlanejamento
labeltab:planejamentoexperimental
beginthreeparttable[t]
begintabular@SSSS @
toprule
textOrdem & textEnsaio & textFator A & textFator B \
midrule
12 & 1 & 0 & 0\
5 & 2 & -1.41421 & 0\
2 & 3 & 1 & -1\
11 & 4 & 0 & 0\
13 & 5 & 0 & 0\
10 & 6 & 0 & 0\
8 & 7 & 0 & 1.41421\
1 & 8 & -1 & -1\
9 & 9 & 0 & 0\
7 & 10 & 0 & -1.41421\
3 & 11 & -1 & 1\
4 & 12 & 1 & 1\
6 & 13 & 1.414214 & 0\
bottomrule
endtabular
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endtable
enddocument









share|improve this question



















  • 1





    Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

    – sheß
    yesterday











  • I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

    – sheß
    yesterday















5















Edit: Now I realize there is a issue with very long notes, specially because I am working with A5 paper.
Using Mica's solution:



Long note



Having the tablenotes flushleft however works just fine.



Two questions in one:



  • How do I align the tablenotes to start at the left of the table and figure? (The flushleft option of threeparttable does affect the whole threeparttable and creates inconsistency)

  • Why my code displays this difference in the tablenotes, when comparing figure and table?

tablenotes misalignment



documentclassmemoir
usepackagelmodern % Usa a fonte Latin Modern
usepackage[T1]fontenc % Selecao de codigos de fonte.
usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
usepackage[brazil]babel
usepackage[range-phrase=,a,]siunitx
sisetup
group-digits=true,
group-four-digits=true,
group-separator=,,
output-decimal-marker=,

usepackagecaption
captionsetup
justification=justified,
%labelsep=quad,
labelsep=endash, %% ABNT q manda
position=above,
skip=onelineskip,
width=0.95linewidth,

setfloatadjustmenttablecentering
setfloatadjustmentfigurecentering
setfloatadjustmentthreeparttablecentering
usepackagetikz
usepackagepgfplots
usepackage[]threeparttable


begindocument
beginfigure[]
captionoffigurePressão
labelfig:pvapor2
beginthreeparttable
begintikzpicture[]
beginaxis[grid=both,trim axis left, trim axis right,
xlabel=Something else, ylabel=Something,
xmin= 1150,
xmax=1550,
ymin=-0.02
]
addplot+[ultra thick] coordinates
(1300-273,101325*4.278*10^-11)
(1400-273,101325*8.133*10^-10)
(1500-273,101325*1.040*10^-8)
(1600-273,101325*9.636*10^-8)
(1687-273,101325*5.377*10^-7)
(1700-273,101325*6.662*10^-7)
(1800-273,101325*3.117*10^-6)
(1900-273,101325*1.238*10^-5)
;
endaxis
endtikzpicture
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endfigure

begintable
captionoftablePlanejamento
labeltab:planejamentoexperimental
beginthreeparttable[t]
begintabular@SSSS @
toprule
textOrdem & textEnsaio & textFator A & textFator B \
midrule
12 & 1 & 0 & 0\
5 & 2 & -1.41421 & 0\
2 & 3 & 1 & -1\
11 & 4 & 0 & 0\
13 & 5 & 0 & 0\
10 & 6 & 0 & 0\
8 & 7 & 0 & 1.41421\
1 & 8 & -1 & -1\
9 & 9 & 0 & 0\
7 & 10 & 0 & -1.41421\
3 & 11 & -1 & 1\
4 & 12 & 1 & 1\
6 & 13 & 1.414214 & 0\
bottomrule
endtabular
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endtable
enddocument









share|improve this question



















  • 1





    Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

    – sheß
    yesterday











  • I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

    – sheß
    yesterday













5












5








5








Edit: Now I realize there is a issue with very long notes, specially because I am working with A5 paper.
Using Mica's solution:



Long note



Having the tablenotes flushleft however works just fine.



Two questions in one:



  • How do I align the tablenotes to start at the left of the table and figure? (The flushleft option of threeparttable does affect the whole threeparttable and creates inconsistency)

  • Why my code displays this difference in the tablenotes, when comparing figure and table?

tablenotes misalignment



documentclassmemoir
usepackagelmodern % Usa a fonte Latin Modern
usepackage[T1]fontenc % Selecao de codigos de fonte.
usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
usepackage[brazil]babel
usepackage[range-phrase=,a,]siunitx
sisetup
group-digits=true,
group-four-digits=true,
group-separator=,,
output-decimal-marker=,

usepackagecaption
captionsetup
justification=justified,
%labelsep=quad,
labelsep=endash, %% ABNT q manda
position=above,
skip=onelineskip,
width=0.95linewidth,

setfloatadjustmenttablecentering
setfloatadjustmentfigurecentering
setfloatadjustmentthreeparttablecentering
usepackagetikz
usepackagepgfplots
usepackage[]threeparttable


begindocument
beginfigure[]
captionoffigurePressão
labelfig:pvapor2
beginthreeparttable
begintikzpicture[]
beginaxis[grid=both,trim axis left, trim axis right,
xlabel=Something else, ylabel=Something,
xmin= 1150,
xmax=1550,
ymin=-0.02
]
addplot+[ultra thick] coordinates
(1300-273,101325*4.278*10^-11)
(1400-273,101325*8.133*10^-10)
(1500-273,101325*1.040*10^-8)
(1600-273,101325*9.636*10^-8)
(1687-273,101325*5.377*10^-7)
(1700-273,101325*6.662*10^-7)
(1800-273,101325*3.117*10^-6)
(1900-273,101325*1.238*10^-5)
;
endaxis
endtikzpicture
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endfigure

begintable
captionoftablePlanejamento
labeltab:planejamentoexperimental
beginthreeparttable[t]
begintabular@SSSS @
toprule
textOrdem & textEnsaio & textFator A & textFator B \
midrule
12 & 1 & 0 & 0\
5 & 2 & -1.41421 & 0\
2 & 3 & 1 & -1\
11 & 4 & 0 & 0\
13 & 5 & 0 & 0\
10 & 6 & 0 & 0\
8 & 7 & 0 & 1.41421\
1 & 8 & -1 & -1\
9 & 9 & 0 & 0\
7 & 10 & 0 & -1.41421\
3 & 11 & -1 & 1\
4 & 12 & 1 & 1\
6 & 13 & 1.414214 & 0\
bottomrule
endtabular
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endtable
enddocument









share|improve this question
















Edit: Now I realize there is a issue with very long notes, specially because I am working with A5 paper.
Using Mica's solution:



Long note



Having the tablenotes flushleft however works just fine.



Two questions in one:



  • How do I align the tablenotes to start at the left of the table and figure? (The flushleft option of threeparttable does affect the whole threeparttable and creates inconsistency)

  • Why my code displays this difference in the tablenotes, when comparing figure and table?

tablenotes misalignment



documentclassmemoir
usepackagelmodern % Usa a fonte Latin Modern
usepackage[T1]fontenc % Selecao de codigos de fonte.
usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
usepackage[brazil]babel
usepackage[range-phrase=,a,]siunitx
sisetup
group-digits=true,
group-four-digits=true,
group-separator=,,
output-decimal-marker=,

usepackagecaption
captionsetup
justification=justified,
%labelsep=quad,
labelsep=endash, %% ABNT q manda
position=above,
skip=onelineskip,
width=0.95linewidth,

setfloatadjustmenttablecentering
setfloatadjustmentfigurecentering
setfloatadjustmentthreeparttablecentering
usepackagetikz
usepackagepgfplots
usepackage[]threeparttable


begindocument
beginfigure[]
captionoffigurePressão
labelfig:pvapor2
beginthreeparttable
begintikzpicture[]
beginaxis[grid=both,trim axis left, trim axis right,
xlabel=Something else, ylabel=Something,
xmin= 1150,
xmax=1550,
ymin=-0.02
]
addplot+[ultra thick] coordinates
(1300-273,101325*4.278*10^-11)
(1400-273,101325*8.133*10^-10)
(1500-273,101325*1.040*10^-8)
(1600-273,101325*9.636*10^-8)
(1687-273,101325*5.377*10^-7)
(1700-273,101325*6.662*10^-7)
(1800-273,101325*3.117*10^-6)
(1900-273,101325*1.238*10^-5)
;
endaxis
endtikzpicture
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endfigure

begintable
captionoftablePlanejamento
labeltab:planejamentoexperimental
beginthreeparttable[t]
begintabular@SSSS @
toprule
textOrdem & textEnsaio & textFator A & textFator B \
midrule
12 & 1 & 0 & 0\
5 & 2 & -1.41421 & 0\
2 & 3 & 1 & -1\
11 & 4 & 0 & 0\
13 & 5 & 0 & 0\
10 & 6 & 0 & 0\
8 & 7 & 0 & 1.41421\
1 & 8 & -1 & -1\
9 & 9 & 0 & 0\
7 & 10 & 0 & -1.41421\
3 & 11 & -1 & 1\
4 & 12 & 1 & 1\
6 & 13 & 1.414214 & 0\
bottomrule
endtabular
begintablenotes
item Fonte: Autor.
endtablenotes
endthreeparttable
endtable
enddocument






horizontal-alignment threeparttable tablenotes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







G. Bay

















asked yesterday









G. BayG. Bay

1,3401827




1,3401827







  • 1





    Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

    – sheß
    yesterday











  • I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

    – sheß
    yesterday












  • 1





    Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

    – sheß
    yesterday











  • I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

    – sheß
    yesterday







1




1





Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

– sheß
yesterday





Somehow threeparttable reads the last tables size, this does not work for your TikZ picture, which explains the difference in behaviour?

– sheß
yesterday













I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

– sheß
yesterday





I remember having head some luck with renewcommandTPTminimumlinewidth but dont know how exactly

– sheß
yesterday










2 Answers
2






active

oldest

votes


















4














In the following example, I have used the flushleft option to the individual tablenotes environments. I have also embedded the tikzpicture in a tabular environment to overcome the alignment issue there.



enter image description here



documentclassmemoir
usepackagelmodern % Usa a fonte Latin Modern
usepackage[T1]fontenc % Selecao de codigos de fonte.
usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
usepackage[brazil]babel
usepackage[range-phrase=,a,]siunitx
sisetup
group-digits=true,
group-four-digits=true,
group-separator=,,
output-decimal-marker=,

usepackagecaption
captionsetup
justification=justified,
%labelsep=quad,
labelsep=endash, %% ABNT q manda
position=above,
skip=onelineskip,
width=0.95linewidth,

setfloatadjustmenttablecentering
setfloatadjustmentfigurecentering
setfloatadjustmentthreeparttablecentering
usepackagetikz
usepackagepgfplots
usepackage[]threeparttable


begindocument
beginfigure[]
captionPressão
labelfig:pvapor2
beginthreeparttable
begintabular@c@
begintikzpicture[]
beginaxis[grid=both,trim axis left, trim axis right,
xlabel=Something else, ylabel=Something,
xmin= 1150,
xmax=1550,
ymin=-0.02
]
addplot+[ultra thick] coordinates
(1300-273,101325*4.278*10^-11)
(1400-273,101325*8.133*10^-10)
(1500-273,101325*1.040*10^-8)
(1600-273,101325*9.636*10^-8)
(1687-273,101325*5.377*10^-7)
(1700-273,101325*6.662*10^-7)
(1800-273,101325*3.117*10^-6)
(1900-273,101325*1.238*10^-5)
;
endaxis
endtikzpicture
endtabular
begintablenotes[flushleft]
item Fonte: Autor.
endtablenotes
endthreeparttable
endfigure

begintable
captionPlanejamento
labeltab:planejamentoexperimental
beginthreeparttable[t]
begintabular@SSSS @
toprule
textOrdem & textEnsaio & textFator A & textFator B \
midrule
12 & 1 & 0 & 0\
5 & 2 & -1.41421 & 0\
2 & 3 & 1 & -1\
11 & 4 & 0 & 0\
13 & 5 & 0 & 0\
10 & 6 & 0 & 0\
8 & 7 & 0 & 1.41421\
1 & 8 & -1 & -1\
9 & 9 & 0 & 0\
7 & 10 & 0 & -1.41421\
3 & 11 & -1 & 1\
4 & 12 & 1 & 1\
6 & 13 & 1.414214 & 0\
bottomrule
endtabular
begintablenotes[flushleft]
item Fonte: Autor.
endtablenotes
endthreeparttable
endtable
enddocument





share|improve this answer
































    4














    Given that you're not using any tnote directives, employing the threeparttable machinery and a tablenotes environment seems inappropriate or, at the least, like massive overkill. The simplest solution for your formatting objective would appear to consist of place the "Fonte" ("source", right?) line into the body of the tabular environment. In the code below, that's done by writing



    multicolumn4@lfootnotesize Fonte: Autor.


    While you're making ajdustments, you should be a bit more deliberate in the way you use the S column type, especially in view of the fact that the SSSS one-size-fits-all approach is ill advised.



    The same argument holds for the treatment of the material in the figure environment: There's no need for the threeparttable environment machinery. Just place the tikzpicture environment in a single-column tabular environment, with column type @l@, and let the second row consist of



    footnotesize Fonte: Autor. % second "row"


    enter image description here



    documentclassmemoir
    usepackagelmodern % Usa a fonte Latin Modern
    usepackage[T1]fontenc % Selecao de codigos de fonte.
    usepackage[utf8]inputenc
    usepackage[brazil]babel
    usepackagesiunitx
    sisetuprange-phrase=,a,,
    group-digits=true,
    group-four-digits=true,
    group-separator=,,
    output-decimal-marker=,

    usepackagecaption
    captionsetupjustification=justified,
    %labelsep=quad,
    labelsep=endash, %% ABNT q manda
    position=above,
    skip=1ex,
    %width=0.95linewidth,

    setfloatadjustmenttablecentering

    usepackagetikz
    usepackagepgfplots

    begindocument
    setcounterchapter2 % just for this example

    begintable
    captionPlanejamento
    labeltab:planejamentoexperimental
    begintabular@ *2S[table-format=2.0]
    *2S[table-format=-1.5] @
    toprule
    Ordem & Ensaio & Fator A & Fator B \
    midrule
    12 & 1 & 0 & 0\
    5 & 2 & -1.41421 & 0\
    2 & 3 & 1 & -1\
    11 & 4 & 0 & 0\
    13 & 5 & 0 & 0\
    10 & 6 & 0 & 0\
    8 & 7 & 0 & 1.41421\
    1 & 8 & -1 & -1\
    9 & 9 & 0 & 0\
    7 & 10 & 0 & -1.41421\
    3 & 11 & -1 & 1\
    4 & 12 & 1 & 1\
    6 & 13 & 1.414214 & 0\
    bottomrule
    addlinespace
    multicolumn4@lfootnotesize Fonte: Autor.
    endtabular
    endtable

    beginfigure[h!]
    centering
    captionPressão
    labelfig:pvapor2
    begintabular@l@
    begintikzpicture[]
    beginaxis[grid=both,trim axis left, trim axis right,
    xlabel=Something else, ylabel=Something,
    xmin= 1150,
    xmax=1550,
    ymin=-0.02
    ]
    addplot+[ultra thick] coordinates
    (1300-273,101325*4.278*10^-11)
    (1400-273,101325*8.133*10^-10)
    (1500-273,101325*1.040*10^-8)
    (1600-273,101325*9.636*10^-8)
    (1687-273,101325*5.377*10^-7)
    (1700-273,101325*6.662*10^-7)
    (1800-273,101325*3.117*10^-6)
    (1900-273,101325*1.238*10^-5)
    ;
    endaxis
    endtikzpicture\ % end of first "row"
    footnotesize Fonte: Autor. % second "row"
    endtabular
    endfigure
    enddocument





    share|improve this answer

























    • Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

      – G. Bay
      yesterday






    • 1





      @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

      – Mico
      yesterday











    • @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

      – Mico
      yesterday






    • 1





      @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

      – Mico
      yesterday






    • 1





      @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

      – Mico
      yesterday











    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%2f478435%2fhow-do-i-align-tablenotes-in-a-threeparttable%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    In the following example, I have used the flushleft option to the individual tablenotes environments. I have also embedded the tikzpicture in a tabular environment to overcome the alignment issue there.



    enter image description here



    documentclassmemoir
    usepackagelmodern % Usa a fonte Latin Modern
    usepackage[T1]fontenc % Selecao de codigos de fonte.
    usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
    usepackage[brazil]babel
    usepackage[range-phrase=,a,]siunitx
    sisetup
    group-digits=true,
    group-four-digits=true,
    group-separator=,,
    output-decimal-marker=,

    usepackagecaption
    captionsetup
    justification=justified,
    %labelsep=quad,
    labelsep=endash, %% ABNT q manda
    position=above,
    skip=onelineskip,
    width=0.95linewidth,

    setfloatadjustmenttablecentering
    setfloatadjustmentfigurecentering
    setfloatadjustmentthreeparttablecentering
    usepackagetikz
    usepackagepgfplots
    usepackage[]threeparttable


    begindocument
    beginfigure[]
    captionPressão
    labelfig:pvapor2
    beginthreeparttable
    begintabular@c@
    begintikzpicture[]
    beginaxis[grid=both,trim axis left, trim axis right,
    xlabel=Something else, ylabel=Something,
    xmin= 1150,
    xmax=1550,
    ymin=-0.02
    ]
    addplot+[ultra thick] coordinates
    (1300-273,101325*4.278*10^-11)
    (1400-273,101325*8.133*10^-10)
    (1500-273,101325*1.040*10^-8)
    (1600-273,101325*9.636*10^-8)
    (1687-273,101325*5.377*10^-7)
    (1700-273,101325*6.662*10^-7)
    (1800-273,101325*3.117*10^-6)
    (1900-273,101325*1.238*10^-5)
    ;
    endaxis
    endtikzpicture
    endtabular
    begintablenotes[flushleft]
    item Fonte: Autor.
    endtablenotes
    endthreeparttable
    endfigure

    begintable
    captionPlanejamento
    labeltab:planejamentoexperimental
    beginthreeparttable[t]
    begintabular@SSSS @
    toprule
    textOrdem & textEnsaio & textFator A & textFator B \
    midrule
    12 & 1 & 0 & 0\
    5 & 2 & -1.41421 & 0\
    2 & 3 & 1 & -1\
    11 & 4 & 0 & 0\
    13 & 5 & 0 & 0\
    10 & 6 & 0 & 0\
    8 & 7 & 0 & 1.41421\
    1 & 8 & -1 & -1\
    9 & 9 & 0 & 0\
    7 & 10 & 0 & -1.41421\
    3 & 11 & -1 & 1\
    4 & 12 & 1 & 1\
    6 & 13 & 1.414214 & 0\
    bottomrule
    endtabular
    begintablenotes[flushleft]
    item Fonte: Autor.
    endtablenotes
    endthreeparttable
    endtable
    enddocument





    share|improve this answer





























      4














      In the following example, I have used the flushleft option to the individual tablenotes environments. I have also embedded the tikzpicture in a tabular environment to overcome the alignment issue there.



      enter image description here



      documentclassmemoir
      usepackagelmodern % Usa a fonte Latin Modern
      usepackage[T1]fontenc % Selecao de codigos de fonte.
      usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
      usepackage[brazil]babel
      usepackage[range-phrase=,a,]siunitx
      sisetup
      group-digits=true,
      group-four-digits=true,
      group-separator=,,
      output-decimal-marker=,

      usepackagecaption
      captionsetup
      justification=justified,
      %labelsep=quad,
      labelsep=endash, %% ABNT q manda
      position=above,
      skip=onelineskip,
      width=0.95linewidth,

      setfloatadjustmenttablecentering
      setfloatadjustmentfigurecentering
      setfloatadjustmentthreeparttablecentering
      usepackagetikz
      usepackagepgfplots
      usepackage[]threeparttable


      begindocument
      beginfigure[]
      captionPressão
      labelfig:pvapor2
      beginthreeparttable
      begintabular@c@
      begintikzpicture[]
      beginaxis[grid=both,trim axis left, trim axis right,
      xlabel=Something else, ylabel=Something,
      xmin= 1150,
      xmax=1550,
      ymin=-0.02
      ]
      addplot+[ultra thick] coordinates
      (1300-273,101325*4.278*10^-11)
      (1400-273,101325*8.133*10^-10)
      (1500-273,101325*1.040*10^-8)
      (1600-273,101325*9.636*10^-8)
      (1687-273,101325*5.377*10^-7)
      (1700-273,101325*6.662*10^-7)
      (1800-273,101325*3.117*10^-6)
      (1900-273,101325*1.238*10^-5)
      ;
      endaxis
      endtikzpicture
      endtabular
      begintablenotes[flushleft]
      item Fonte: Autor.
      endtablenotes
      endthreeparttable
      endfigure

      begintable
      captionPlanejamento
      labeltab:planejamentoexperimental
      beginthreeparttable[t]
      begintabular@SSSS @
      toprule
      textOrdem & textEnsaio & textFator A & textFator B \
      midrule
      12 & 1 & 0 & 0\
      5 & 2 & -1.41421 & 0\
      2 & 3 & 1 & -1\
      11 & 4 & 0 & 0\
      13 & 5 & 0 & 0\
      10 & 6 & 0 & 0\
      8 & 7 & 0 & 1.41421\
      1 & 8 & -1 & -1\
      9 & 9 & 0 & 0\
      7 & 10 & 0 & -1.41421\
      3 & 11 & -1 & 1\
      4 & 12 & 1 & 1\
      6 & 13 & 1.414214 & 0\
      bottomrule
      endtabular
      begintablenotes[flushleft]
      item Fonte: Autor.
      endtablenotes
      endthreeparttable
      endtable
      enddocument





      share|improve this answer



























        4












        4








        4







        In the following example, I have used the flushleft option to the individual tablenotes environments. I have also embedded the tikzpicture in a tabular environment to overcome the alignment issue there.



        enter image description here



        documentclassmemoir
        usepackagelmodern % Usa a fonte Latin Modern
        usepackage[T1]fontenc % Selecao de codigos de fonte.
        usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
        usepackage[brazil]babel
        usepackage[range-phrase=,a,]siunitx
        sisetup
        group-digits=true,
        group-four-digits=true,
        group-separator=,,
        output-decimal-marker=,

        usepackagecaption
        captionsetup
        justification=justified,
        %labelsep=quad,
        labelsep=endash, %% ABNT q manda
        position=above,
        skip=onelineskip,
        width=0.95linewidth,

        setfloatadjustmenttablecentering
        setfloatadjustmentfigurecentering
        setfloatadjustmentthreeparttablecentering
        usepackagetikz
        usepackagepgfplots
        usepackage[]threeparttable


        begindocument
        beginfigure[]
        captionPressão
        labelfig:pvapor2
        beginthreeparttable
        begintabular@c@
        begintikzpicture[]
        beginaxis[grid=both,trim axis left, trim axis right,
        xlabel=Something else, ylabel=Something,
        xmin= 1150,
        xmax=1550,
        ymin=-0.02
        ]
        addplot+[ultra thick] coordinates
        (1300-273,101325*4.278*10^-11)
        (1400-273,101325*8.133*10^-10)
        (1500-273,101325*1.040*10^-8)
        (1600-273,101325*9.636*10^-8)
        (1687-273,101325*5.377*10^-7)
        (1700-273,101325*6.662*10^-7)
        (1800-273,101325*3.117*10^-6)
        (1900-273,101325*1.238*10^-5)
        ;
        endaxis
        endtikzpicture
        endtabular
        begintablenotes[flushleft]
        item Fonte: Autor.
        endtablenotes
        endthreeparttable
        endfigure

        begintable
        captionPlanejamento
        labeltab:planejamentoexperimental
        beginthreeparttable[t]
        begintabular@SSSS @
        toprule
        textOrdem & textEnsaio & textFator A & textFator B \
        midrule
        12 & 1 & 0 & 0\
        5 & 2 & -1.41421 & 0\
        2 & 3 & 1 & -1\
        11 & 4 & 0 & 0\
        13 & 5 & 0 & 0\
        10 & 6 & 0 & 0\
        8 & 7 & 0 & 1.41421\
        1 & 8 & -1 & -1\
        9 & 9 & 0 & 0\
        7 & 10 & 0 & -1.41421\
        3 & 11 & -1 & 1\
        4 & 12 & 1 & 1\
        6 & 13 & 1.414214 & 0\
        bottomrule
        endtabular
        begintablenotes[flushleft]
        item Fonte: Autor.
        endtablenotes
        endthreeparttable
        endtable
        enddocument





        share|improve this answer















        In the following example, I have used the flushleft option to the individual tablenotes environments. I have also embedded the tikzpicture in a tabular environment to overcome the alignment issue there.



        enter image description here



        documentclassmemoir
        usepackagelmodern % Usa a fonte Latin Modern
        usepackage[T1]fontenc % Selecao de codigos de fonte.
        usepackage[utf8]inputenc % Codificacao do documento (conv. auto. dos acentos)
        usepackage[brazil]babel
        usepackage[range-phrase=,a,]siunitx
        sisetup
        group-digits=true,
        group-four-digits=true,
        group-separator=,,
        output-decimal-marker=,

        usepackagecaption
        captionsetup
        justification=justified,
        %labelsep=quad,
        labelsep=endash, %% ABNT q manda
        position=above,
        skip=onelineskip,
        width=0.95linewidth,

        setfloatadjustmenttablecentering
        setfloatadjustmentfigurecentering
        setfloatadjustmentthreeparttablecentering
        usepackagetikz
        usepackagepgfplots
        usepackage[]threeparttable


        begindocument
        beginfigure[]
        captionPressão
        labelfig:pvapor2
        beginthreeparttable
        begintabular@c@
        begintikzpicture[]
        beginaxis[grid=both,trim axis left, trim axis right,
        xlabel=Something else, ylabel=Something,
        xmin= 1150,
        xmax=1550,
        ymin=-0.02
        ]
        addplot+[ultra thick] coordinates
        (1300-273,101325*4.278*10^-11)
        (1400-273,101325*8.133*10^-10)
        (1500-273,101325*1.040*10^-8)
        (1600-273,101325*9.636*10^-8)
        (1687-273,101325*5.377*10^-7)
        (1700-273,101325*6.662*10^-7)
        (1800-273,101325*3.117*10^-6)
        (1900-273,101325*1.238*10^-5)
        ;
        endaxis
        endtikzpicture
        endtabular
        begintablenotes[flushleft]
        item Fonte: Autor.
        endtablenotes
        endthreeparttable
        endfigure

        begintable
        captionPlanejamento
        labeltab:planejamentoexperimental
        beginthreeparttable[t]
        begintabular@SSSS @
        toprule
        textOrdem & textEnsaio & textFator A & textFator B \
        midrule
        12 & 1 & 0 & 0\
        5 & 2 & -1.41421 & 0\
        2 & 3 & 1 & -1\
        11 & 4 & 0 & 0\
        13 & 5 & 0 & 0\
        10 & 6 & 0 & 0\
        8 & 7 & 0 & 1.41421\
        1 & 8 & -1 & -1\
        9 & 9 & 0 & 0\
        7 & 10 & 0 & -1.41421\
        3 & 11 & -1 & 1\
        4 & 12 & 1 & 1\
        6 & 13 & 1.414214 & 0\
        bottomrule
        endtabular
        begintablenotes[flushleft]
        item Fonte: Autor.
        endtablenotes
        endthreeparttable
        endtable
        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited yesterday









        Bernard

        172k776204




        172k776204










        answered yesterday









        leandriisleandriis

        9,5451530




        9,5451530





















            4














            Given that you're not using any tnote directives, employing the threeparttable machinery and a tablenotes environment seems inappropriate or, at the least, like massive overkill. The simplest solution for your formatting objective would appear to consist of place the "Fonte" ("source", right?) line into the body of the tabular environment. In the code below, that's done by writing



            multicolumn4@lfootnotesize Fonte: Autor.


            While you're making ajdustments, you should be a bit more deliberate in the way you use the S column type, especially in view of the fact that the SSSS one-size-fits-all approach is ill advised.



            The same argument holds for the treatment of the material in the figure environment: There's no need for the threeparttable environment machinery. Just place the tikzpicture environment in a single-column tabular environment, with column type @l@, and let the second row consist of



            footnotesize Fonte: Autor. % second "row"


            enter image description here



            documentclassmemoir
            usepackagelmodern % Usa a fonte Latin Modern
            usepackage[T1]fontenc % Selecao de codigos de fonte.
            usepackage[utf8]inputenc
            usepackage[brazil]babel
            usepackagesiunitx
            sisetuprange-phrase=,a,,
            group-digits=true,
            group-four-digits=true,
            group-separator=,,
            output-decimal-marker=,

            usepackagecaption
            captionsetupjustification=justified,
            %labelsep=quad,
            labelsep=endash, %% ABNT q manda
            position=above,
            skip=1ex,
            %width=0.95linewidth,

            setfloatadjustmenttablecentering

            usepackagetikz
            usepackagepgfplots

            begindocument
            setcounterchapter2 % just for this example

            begintable
            captionPlanejamento
            labeltab:planejamentoexperimental
            begintabular@ *2S[table-format=2.0]
            *2S[table-format=-1.5] @
            toprule
            Ordem & Ensaio & Fator A & Fator B \
            midrule
            12 & 1 & 0 & 0\
            5 & 2 & -1.41421 & 0\
            2 & 3 & 1 & -1\
            11 & 4 & 0 & 0\
            13 & 5 & 0 & 0\
            10 & 6 & 0 & 0\
            8 & 7 & 0 & 1.41421\
            1 & 8 & -1 & -1\
            9 & 9 & 0 & 0\
            7 & 10 & 0 & -1.41421\
            3 & 11 & -1 & 1\
            4 & 12 & 1 & 1\
            6 & 13 & 1.414214 & 0\
            bottomrule
            addlinespace
            multicolumn4@lfootnotesize Fonte: Autor.
            endtabular
            endtable

            beginfigure[h!]
            centering
            captionPressão
            labelfig:pvapor2
            begintabular@l@
            begintikzpicture[]
            beginaxis[grid=both,trim axis left, trim axis right,
            xlabel=Something else, ylabel=Something,
            xmin= 1150,
            xmax=1550,
            ymin=-0.02
            ]
            addplot+[ultra thick] coordinates
            (1300-273,101325*4.278*10^-11)
            (1400-273,101325*8.133*10^-10)
            (1500-273,101325*1.040*10^-8)
            (1600-273,101325*9.636*10^-8)
            (1687-273,101325*5.377*10^-7)
            (1700-273,101325*6.662*10^-7)
            (1800-273,101325*3.117*10^-6)
            (1900-273,101325*1.238*10^-5)
            ;
            endaxis
            endtikzpicture\ % end of first "row"
            footnotesize Fonte: Autor. % second "row"
            endtabular
            endfigure
            enddocument





            share|improve this answer

























            • Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

              – G. Bay
              yesterday






            • 1





              @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

              – Mico
              yesterday











            • @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

              – Mico
              yesterday
















            4














            Given that you're not using any tnote directives, employing the threeparttable machinery and a tablenotes environment seems inappropriate or, at the least, like massive overkill. The simplest solution for your formatting objective would appear to consist of place the "Fonte" ("source", right?) line into the body of the tabular environment. In the code below, that's done by writing



            multicolumn4@lfootnotesize Fonte: Autor.


            While you're making ajdustments, you should be a bit more deliberate in the way you use the S column type, especially in view of the fact that the SSSS one-size-fits-all approach is ill advised.



            The same argument holds for the treatment of the material in the figure environment: There's no need for the threeparttable environment machinery. Just place the tikzpicture environment in a single-column tabular environment, with column type @l@, and let the second row consist of



            footnotesize Fonte: Autor. % second "row"


            enter image description here



            documentclassmemoir
            usepackagelmodern % Usa a fonte Latin Modern
            usepackage[T1]fontenc % Selecao de codigos de fonte.
            usepackage[utf8]inputenc
            usepackage[brazil]babel
            usepackagesiunitx
            sisetuprange-phrase=,a,,
            group-digits=true,
            group-four-digits=true,
            group-separator=,,
            output-decimal-marker=,

            usepackagecaption
            captionsetupjustification=justified,
            %labelsep=quad,
            labelsep=endash, %% ABNT q manda
            position=above,
            skip=1ex,
            %width=0.95linewidth,

            setfloatadjustmenttablecentering

            usepackagetikz
            usepackagepgfplots

            begindocument
            setcounterchapter2 % just for this example

            begintable
            captionPlanejamento
            labeltab:planejamentoexperimental
            begintabular@ *2S[table-format=2.0]
            *2S[table-format=-1.5] @
            toprule
            Ordem & Ensaio & Fator A & Fator B \
            midrule
            12 & 1 & 0 & 0\
            5 & 2 & -1.41421 & 0\
            2 & 3 & 1 & -1\
            11 & 4 & 0 & 0\
            13 & 5 & 0 & 0\
            10 & 6 & 0 & 0\
            8 & 7 & 0 & 1.41421\
            1 & 8 & -1 & -1\
            9 & 9 & 0 & 0\
            7 & 10 & 0 & -1.41421\
            3 & 11 & -1 & 1\
            4 & 12 & 1 & 1\
            6 & 13 & 1.414214 & 0\
            bottomrule
            addlinespace
            multicolumn4@lfootnotesize Fonte: Autor.
            endtabular
            endtable

            beginfigure[h!]
            centering
            captionPressão
            labelfig:pvapor2
            begintabular@l@
            begintikzpicture[]
            beginaxis[grid=both,trim axis left, trim axis right,
            xlabel=Something else, ylabel=Something,
            xmin= 1150,
            xmax=1550,
            ymin=-0.02
            ]
            addplot+[ultra thick] coordinates
            (1300-273,101325*4.278*10^-11)
            (1400-273,101325*8.133*10^-10)
            (1500-273,101325*1.040*10^-8)
            (1600-273,101325*9.636*10^-8)
            (1687-273,101325*5.377*10^-7)
            (1700-273,101325*6.662*10^-7)
            (1800-273,101325*3.117*10^-6)
            (1900-273,101325*1.238*10^-5)
            ;
            endaxis
            endtikzpicture\ % end of first "row"
            footnotesize Fonte: Autor. % second "row"
            endtabular
            endfigure
            enddocument





            share|improve this answer

























            • Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

              – G. Bay
              yesterday






            • 1





              @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

              – Mico
              yesterday











            • @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

              – Mico
              yesterday














            4












            4








            4







            Given that you're not using any tnote directives, employing the threeparttable machinery and a tablenotes environment seems inappropriate or, at the least, like massive overkill. The simplest solution for your formatting objective would appear to consist of place the "Fonte" ("source", right?) line into the body of the tabular environment. In the code below, that's done by writing



            multicolumn4@lfootnotesize Fonte: Autor.


            While you're making ajdustments, you should be a bit more deliberate in the way you use the S column type, especially in view of the fact that the SSSS one-size-fits-all approach is ill advised.



            The same argument holds for the treatment of the material in the figure environment: There's no need for the threeparttable environment machinery. Just place the tikzpicture environment in a single-column tabular environment, with column type @l@, and let the second row consist of



            footnotesize Fonte: Autor. % second "row"


            enter image description here



            documentclassmemoir
            usepackagelmodern % Usa a fonte Latin Modern
            usepackage[T1]fontenc % Selecao de codigos de fonte.
            usepackage[utf8]inputenc
            usepackage[brazil]babel
            usepackagesiunitx
            sisetuprange-phrase=,a,,
            group-digits=true,
            group-four-digits=true,
            group-separator=,,
            output-decimal-marker=,

            usepackagecaption
            captionsetupjustification=justified,
            %labelsep=quad,
            labelsep=endash, %% ABNT q manda
            position=above,
            skip=1ex,
            %width=0.95linewidth,

            setfloatadjustmenttablecentering

            usepackagetikz
            usepackagepgfplots

            begindocument
            setcounterchapter2 % just for this example

            begintable
            captionPlanejamento
            labeltab:planejamentoexperimental
            begintabular@ *2S[table-format=2.0]
            *2S[table-format=-1.5] @
            toprule
            Ordem & Ensaio & Fator A & Fator B \
            midrule
            12 & 1 & 0 & 0\
            5 & 2 & -1.41421 & 0\
            2 & 3 & 1 & -1\
            11 & 4 & 0 & 0\
            13 & 5 & 0 & 0\
            10 & 6 & 0 & 0\
            8 & 7 & 0 & 1.41421\
            1 & 8 & -1 & -1\
            9 & 9 & 0 & 0\
            7 & 10 & 0 & -1.41421\
            3 & 11 & -1 & 1\
            4 & 12 & 1 & 1\
            6 & 13 & 1.414214 & 0\
            bottomrule
            addlinespace
            multicolumn4@lfootnotesize Fonte: Autor.
            endtabular
            endtable

            beginfigure[h!]
            centering
            captionPressão
            labelfig:pvapor2
            begintabular@l@
            begintikzpicture[]
            beginaxis[grid=both,trim axis left, trim axis right,
            xlabel=Something else, ylabel=Something,
            xmin= 1150,
            xmax=1550,
            ymin=-0.02
            ]
            addplot+[ultra thick] coordinates
            (1300-273,101325*4.278*10^-11)
            (1400-273,101325*8.133*10^-10)
            (1500-273,101325*1.040*10^-8)
            (1600-273,101325*9.636*10^-8)
            (1687-273,101325*5.377*10^-7)
            (1700-273,101325*6.662*10^-7)
            (1800-273,101325*3.117*10^-6)
            (1900-273,101325*1.238*10^-5)
            ;
            endaxis
            endtikzpicture\ % end of first "row"
            footnotesize Fonte: Autor. % second "row"
            endtabular
            endfigure
            enddocument





            share|improve this answer















            Given that you're not using any tnote directives, employing the threeparttable machinery and a tablenotes environment seems inappropriate or, at the least, like massive overkill. The simplest solution for your formatting objective would appear to consist of place the "Fonte" ("source", right?) line into the body of the tabular environment. In the code below, that's done by writing



            multicolumn4@lfootnotesize Fonte: Autor.


            While you're making ajdustments, you should be a bit more deliberate in the way you use the S column type, especially in view of the fact that the SSSS one-size-fits-all approach is ill advised.



            The same argument holds for the treatment of the material in the figure environment: There's no need for the threeparttable environment machinery. Just place the tikzpicture environment in a single-column tabular environment, with column type @l@, and let the second row consist of



            footnotesize Fonte: Autor. % second "row"


            enter image description here



            documentclassmemoir
            usepackagelmodern % Usa a fonte Latin Modern
            usepackage[T1]fontenc % Selecao de codigos de fonte.
            usepackage[utf8]inputenc
            usepackage[brazil]babel
            usepackagesiunitx
            sisetuprange-phrase=,a,,
            group-digits=true,
            group-four-digits=true,
            group-separator=,,
            output-decimal-marker=,

            usepackagecaption
            captionsetupjustification=justified,
            %labelsep=quad,
            labelsep=endash, %% ABNT q manda
            position=above,
            skip=1ex,
            %width=0.95linewidth,

            setfloatadjustmenttablecentering

            usepackagetikz
            usepackagepgfplots

            begindocument
            setcounterchapter2 % just for this example

            begintable
            captionPlanejamento
            labeltab:planejamentoexperimental
            begintabular@ *2S[table-format=2.0]
            *2S[table-format=-1.5] @
            toprule
            Ordem & Ensaio & Fator A & Fator B \
            midrule
            12 & 1 & 0 & 0\
            5 & 2 & -1.41421 & 0\
            2 & 3 & 1 & -1\
            11 & 4 & 0 & 0\
            13 & 5 & 0 & 0\
            10 & 6 & 0 & 0\
            8 & 7 & 0 & 1.41421\
            1 & 8 & -1 & -1\
            9 & 9 & 0 & 0\
            7 & 10 & 0 & -1.41421\
            3 & 11 & -1 & 1\
            4 & 12 & 1 & 1\
            6 & 13 & 1.414214 & 0\
            bottomrule
            addlinespace
            multicolumn4@lfootnotesize Fonte: Autor.
            endtabular
            endtable

            beginfigure[h!]
            centering
            captionPressão
            labelfig:pvapor2
            begintabular@l@
            begintikzpicture[]
            beginaxis[grid=both,trim axis left, trim axis right,
            xlabel=Something else, ylabel=Something,
            xmin= 1150,
            xmax=1550,
            ymin=-0.02
            ]
            addplot+[ultra thick] coordinates
            (1300-273,101325*4.278*10^-11)
            (1400-273,101325*8.133*10^-10)
            (1500-273,101325*1.040*10^-8)
            (1600-273,101325*9.636*10^-8)
            (1687-273,101325*5.377*10^-7)
            (1700-273,101325*6.662*10^-7)
            (1800-273,101325*3.117*10^-6)
            (1900-273,101325*1.238*10^-5)
            ;
            endaxis
            endtikzpicture\ % end of first "row"
            footnotesize Fonte: Autor. % second "row"
            endtabular
            endfigure
            enddocument






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited yesterday

























            answered yesterday









            MicoMico

            282k31385774




            282k31385774












            • Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

              – G. Bay
              yesterday






            • 1





              @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

              – Mico
              yesterday











            • @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

              – Mico
              yesterday


















            • Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

              – G. Bay
              yesterday






            • 1





              @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

              – Mico
              yesterday











            • @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

              – Mico
              yesterday






            • 1





              @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

              – Mico
              yesterday

















            Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

            – G. Bay
            yesterday





            Hmmmm, I like your solution. I don't quiet understand your comment about t S usage, could you elaborate more? I totally ignore the difference in format 1.5 and 2 :( Also, lets say in the future I need to add a table with tnotes, thus using threeparttable, wouldn't it create a inconsistency in my thesis?

            – G. Bay
            yesterday




            1




            1





            @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

            – Mico
            yesterday





            @G.Bay - My apologies for not being clear. If no table-format option is given, the S column type assumes that the number of digits before and after the (explicit or implicit) decimal marker is the same. If you look closely at the screenshot that goes with your query, you'll notice that the numbers in the first two column looks left-shifted, because the numbers have no decimal components. Conversely, the numbers in the final two columns looks like they've been right-shifted, as there is only 1 digit to the left of the decimal marker but up to 5 digits to the right of the decimal marker.

            – Mico
            yesterday













            @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

            – Mico
            yesterday





            @G.Bay - I don't quite follow your concern about a possible inconsistent look across table environments that do or do not contain tablenotes components. Just be sure to load the threeparttable environment with the option flushleft.

            – Mico
            yesterday




            1




            1





            @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

            – Mico
            yesterday





            @G.Bay - Indeed: In your code, since there are no tnote directives, the argument of item in the tablenotes environment has to be left empty. Because LaTeX is very much expecting an argument, it treats the space after item in item Fonte: Autor. as the argument of item. That's why, in your code, the Fonte: Autor. ends up not being typeset fully flushleft.

            – Mico
            yesterday




            1




            1





            @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

            – Mico
            yesterday






            @G.Bay - I'm afraid I've lost the point of this thread. I continue to believe that if you load the threeparttable package with the option flushleft, you'll get good results if there's a point to employing a tablenotes environment, viz., when there are some tnote directives in the body of the tabular environment which require some corresponding non-trivial item directives in the tablenotes environment. OTOH, if there are no tnote directives to begin with, I simply don't understand why anyone would want to use a tablenotes environment and fill it with trivial items.

            – Mico
            yesterday


















            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%2f478435%2fhow-do-i-align-tablenotes-in-a-threeparttable%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

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer