Search found 8937 matches

by Stefan Kottwitz
Mon Sep 17, 2018 11:30 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots? Topic is solved
Replies: 6
Views: 53

Strangely looking trigonometric function plots? Topic is solved

Yes, that's perfect. Clicking the checkmark at that post that was the solution, marks the whole topic as solved (so supporters see it) and makes that solution the hyperlink when one clicks the checkmark at the top, so google searchers can jump to the solution.

Stefan
by Stefan Kottwitz
Mon Sep 17, 2018 7:44 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots? Topic is solved
Replies: 6
Views: 53

Strangely looking trigonometric function plots? Topic is solved

Try this, notice the xticks settings: \documentclass[a4paper]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \pgfmathsetmacro{\PI}{pi} \begin{document} \begin{tikzpicture} \begin{axis}[ width = \axisdefaultwidth, height = 0.3\textheight, xlabel = $x$, ylabel = $\rho(x)$, title = {P...
by Stefan Kottwitz
Mon Sep 17, 2018 7:35 pm
Forum: Document Classes
Topic: scrbook: How to avoid empty pages at the beginning?
Replies: 1
Views: 35

scrbook: How to avoid empty pages at the beginning?

Welcome to the forum! There is no empty page at the beginning. See: \documentclass{scrbook} \begin{document} Text \end{document} Click on "Open in Overleaf" to see the output in the online LaTeX editor. Perhaps post your code here, so we can find out how it is causing empty pages. Stefan
by Stefan Kottwitz
Mon Sep 17, 2018 5:32 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots? Topic is solved
Replies: 6
Views: 53

Strangely looking trigonometric function plots? Topic is solved

By the way, math operators are commonly written upright, not italic, there are macros for it:

  1. node [pos = 0.3, above right] {$\cos(x)$};
  2. node [pos = 0.9, above left] {$\sin(x)$};


Stefan
by Stefan Kottwitz
Mon Sep 17, 2018 5:30 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots? Topic is solved
Replies: 6
Views: 53

Strangely looking trigonometric function plots? Topic is solved

Perhaps remove the factor pi in the argument: \addplot [color = red, domain = 0 : 10, smooth] plot {cos(deg(x))} node [pos = 0.3, above right] {$cos(x)$}; \addplot [color = blue, domain = 0 : 10, smooth] plot {sin(deg(x))} node [pos = 0.9, above left] {$sin...
by Stefan Kottwitz
Sun Sep 16, 2018 7:01 pm
Forum: Page Layout
Topic: Createpage blocks \begin{document}
Replies: 3
Views: 47

Createpage blocks \begin{document}

Sounds like this one: https://github.com/aginiewicz/createspace

Stefan
by Stefan Kottwitz
Sun Sep 16, 2018 12:06 pm
Forum: Graphics, Figures & Tables
Topic: list of figures Topic is solved
Replies: 5
Views: 63

list of figures Topic is solved

That content is LaTeX, so you can run LaTeX on it.

  1. \documentclass{article}
  2. \usepackage[english]{babel}
  3. \let\addvspace\vspace
  4. \begin{document}
  5. \makeatletter
  6. \input{yourfilename.lof}
  7. \end{document}


Stefan
by Stefan Kottwitz
Fri Sep 14, 2018 1:46 pm
Forum: Math & Science
Topic: ntheorem and the list of theorems
Replies: 2
Views: 103

ntheorem and the list of theorems

Hi deimi, welcome to the forum! Indeed, ntheorem doesn't load hyperref implicitly even though the option hyperref was used. Very good catch! I didn't notice that. Indeed it then compiles fine. Instead of just outputting \listtheoremname , using a \section command would be good, to have a proper head...
by Stefan Kottwitz
Thu Sep 13, 2018 4:59 pm
Forum: General
Topic: Float text and front/color Topic is solved
Replies: 4
Views: 104

Float text and front/color Topic is solved

It seems to depend on the font.

When I add

  1. \usepackage{lmodern}


I can use 80 and 90 and more and it gets bigger.

Stefan
by Stefan Kottwitz
Thu Sep 13, 2018 11:34 am
Forum: New Members
Topic: Newbie
Replies: 2
Views: 70

Newbie

Welcome to the forum! Yes, it's good to use it for mathematics. I used it a lot also simply for returning solutions to math assignments as a student. Actually LaTeX is great to produce assignments for students. There are great packages making exams or assignments easier, such as xsim . Ok, one has t...

Go to advanced search