0

I've written a document in Org-mode but when exported it became like this:

  1. In the image on top, I've inserted a \bullet but it wont show and the text is not alligned:
  2. And in the image on bottom, the text is not aligned as body text, but as a list:

Text not aligned and LaTex command not working

This is the code for the first image:

To calculate the probability its necessary to calculate the probability of C given positive test
- P(C | Positive) = P(C) \bullet P(Positive | C)
- P(\urcorner C | Positive) = P(\urcorner C) \bullet P(Positive | -C)

and for the second:

******* Summary

It is important to always test the data after the fitting to measure the accuracy of the predictions made by the program. At least 10% of the data should be saved to test. When telling anyone the result of the predictions, tell about the accuracy of the test data.
4
  • Regarding the second issue, your level heading is too deep. Unless you have an export option like H:7, and the export class has the appropriate definition, it will probably be interpreted as a list.
    – suvayu
    Commented Sep 25, 2017 at 10:54
  • @suvayu, you're right, when I try to export just the subtree, it works as intended Commented Sep 25, 2017 at 14:28
  • @suvayu Indeed. Interestingly enough, if you don't use upper level headings (I just pasted OP code) this is processed as a top level heading.
    – JeanPierre
    Commented Sep 25, 2017 at 14:59
  • @VascoFerreira If you post the 2nd part as a separate question (as it should be, according to SX guidelines), I could try to give a more comprehensive response.
    – suvayu
    Commented Oct 1, 2017 at 7:14

1 Answer 1

1

For the first problem, you need to add $ around the \urcorners, apparently it can only appears in latex math mode.

Generally speaking, a good way to solve such problems is to export to latex instead of pdf, then compile the latex file (simply use C-c C-c if auctex is installed), and examine errors if any. Of course knowing a bit about latex is recommended then.

The second part displays ok for me with the source you provided.

4
  • Also, you may want to use \neg rather than \urcorner.
    – JeanPierre
    Commented Sep 24, 2017 at 21:41
  • If i export just the subtree it works as intended for the second problem. For the first, $ does work, and if I also write \begin{equation} it also works. Commented Sep 24, 2017 at 22:31
  • What's the text before the Summary line?
    – JeanPierre
    Commented Sep 25, 2017 at 6:52
  • It's another heading in the same level. Commented Sep 25, 2017 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.