Search found 826 matches

by Cham
Wed Dec 20, 2017 1:12 am
Forum: Page Layout
Topic: Centering section titles in article class Topic is solved
Replies: 7
Views: 511

Centering section titles in article class Topic is solved

I also feel that the default quad space is too large, between the number and its section/subsection title. These secdot options are working great, but I'm not sure this is good : \usepackage{secdot} \sectionpunct{section}{. ~} \sectionpunct{subsection}{ ~} What would you use as an elegant space ? ED...
by Cham
Tue Dec 19, 2017 10:27 pm
Forum: Page Layout
Topic: Centering section titles in article class Topic is solved
Replies: 7
Views: 511

Centering section titles in article class Topic is solved

What do you think of adding a point after the number, using the secdot package in the code above ?
  1. \usepackage{secdot}

It looks good, but I have a doubt.
by Cham
Tue Dec 19, 2017 9:40 pm
Forum: Page Layout
Topic: Centering section titles in article class Topic is solved
Replies: 7
Views: 511

Centering section titles in article class Topic is solved

Well, I agree. But when I look globally at the full text, I find it a bit weird that the section titles aren't centered, because of their number (it's a bit aesthetically unpleasing). Maybe that's why the default article class put all the titles flushed to the left instead. Maybe adding a dot after ...
by Cham
Tue Dec 19, 2017 7:03 pm
Forum: Page Layout
Topic: Centering section titles in article class Topic is solved
Replies: 7
Views: 511

Centering section titles in article class Topic is solved

That's not what I meant. The section number should stay at the same location, relative to its title. I mean same constant space at the left part of the title, not completely flushed to the left side.

Is there a way to do this while keeping the sectsty package?
by Cham
Tue Dec 19, 2017 6:51 pm
Forum: Page Layout
Topic: Centering section titles in article class Topic is solved
Replies: 7
Views: 511

Centering section titles in article class Topic is solved

I'm wondering if it's possible to do the following. Here's a MWE showing a very important paper to be published somewhere (content is highly classified! ;) ). The section titles are horizontally centered with their number. I would like to center the title text itself, while the section number should...
by Cham
Mon Dec 18, 2017 11:12 pm
Forum: Math & Science
Topic: Random maths/physics equations
Replies: 2
Views: 314

Random maths/physics equations

I'll have to write a small report or paper-like document with dummy text in a single column, to show a kind of "model" to undergraduate students in sciences (so they know how to present their analysis at the end of their semester). Of course, I know how to create such a dummy document with...
by Cham
Sat Dec 16, 2017 3:28 pm
Forum: Graphics, Figures & Tables
Topic: pgfplots : How to add a linear regression line? Topic is solved
Replies: 9
Views: 311

pgfplots : How to add a linear regression line? Topic is solved

Yes, I agree Stefan. I used italic ave min and max in the example above just to simplify things. This code is already heavy enough.
by Cham
Fri Dec 15, 2017 5:22 pm
Forum: Graphics, Figures & Tables
Topic: pgfplots : How to add a linear regression line? Topic is solved
Replies: 9
Views: 311

pgfplots : How to add a linear regression line? Topic is solved

Ahaa! I think I get it. From page 395 of the manual, I need to use the optional commands \xdef\slopeA{\pgfplotstableregressiona} \xdef\bA{\pgfplotstableregressionb} then use the new commands \slopeA and \bA instead of \pgfplotstableregressiona and \pgfplotstableregressionb in my equation (in the leg...
by Cham
Fri Dec 15, 2017 5:12 pm
Forum: Graphics, Figures & Tables
Topic: pgfplots : How to add a linear regression line? Topic is solved
Replies: 9
Views: 311

pgfplots : How to add a linear regression line? Topic is solved

pgfplot Manual says on page 394 that the numbers pgfplotstableregressiona and pgfplotstableregressionb are stored globally. This explains why my equations are showing the same numbers for all three lines. How can I show the numbers properly? The manual isn't clear about this.
by Cham
Fri Dec 15, 2017 4:28 pm
Forum: Graphics, Figures & Tables
Topic: pgfplots : How to add a linear regression line? Topic is solved
Replies: 9
Views: 311

pgfplots : How to add a linear regression line? Topic is solved

I'm almost getting it right! Here's a complete code (a bit complex. How can I simplify it ?) : \documentclass[11pt,letterpaper,twoside]{article} \usepackage[total={6.5in,10in},left=1in,top=0.5in,includehead,includefoot]{geometry} \usepackage{pgfplots,pgfplotstable} \pgfplotsset{compat=newest} \begin...

Go to advanced search