Comments (3)
Is this legal in MBX?
<title>Base Case:</title>Draw a tree with three vertices. Clearly you have only 2 edges (otherwise you would have a cycle)
from discrete-book.
I don't understand your second comment about legality, but I think I have an answer to your original question.
In the LaTeX code, I used the double backslash to create new lines purely for the sake of presentation (to avoid overful boxes, for example), and as a cheap way to create a list (without bullets, for example as I did in the answer to question 5 of section 5.5 (in the web version).
I don't use this primarily in proofs, although it is almost always in proofs, examples, exercises and answers. So really anything where I might need to display things not in regular sized paragraphs.
Perhaps the most reasonable approach to this would be to treat each occurrence as a paragraph break. So if it occurs inside a paragraph, then replacing the double backslash with </p> <p>
should work. Outside of paragraphs (like inside a <li>
) I don't really know what the best approach would be. Can you have paragraphs inside list items? If so, that would work, but it would require backtracking to the start of the line to add a <p>
element, and then adding a </p>
at the end of the line.
This does not take care of the instances where I put the backslashes to fix formating bugs, but those should be fairly rare and easy to spot and fix in the mbx code.
from discrete-book.
I will try replacing all double backslashes in text by double
line feeds. I should be able to do that after all the environments
are separated (so I know which blocks are math and can leave them
alone) but before I break into paragraphs.
MBX should (or does or will) have markup for "cases"
in a proof, which you will have to add by hand.
On Fri, 1 Jul 2016, Oscar Levin wrote:
I don't understand your second comment about legality, but I think I have an answer
to your original question.In the LaTeX code, I used the double backslash to create new lines purely for the
sake of presentation (to avoid overful boxes, for example), and as a cheap way to
create a list (without bullets, for example as I did in the answer to question 5 of
section 5.5 (in the web version).I don't use this primarily in proofs, although it is almost always in proofs,
examples, exercises and answers. So really anything where I might need to display
things not in regular sized paragraphs.Perhaps the most reasonable approach to this would be to treat each occurrence as a
paragraph break. So if it occurs inside a paragraph, then replacing the double
backslash withshould work. Outside of paragraphs (like inside a
) I
don't really know what the best approach would be. Can you have paragraphs inside
list items? If so, that would work, but it would require backtracking to the start
of the line to add aelement, and then adding a
at the end of the line.This does not take care of the instances where I put the backslashes to fix
formating bugs, but those should be fairly rare and easy to spot and fix in the mbx
code.β
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the
thread.[AAM6LDVZ6qKNF_PMH_dAiweZdQTfMuTGks5qRX0egaJpZM4JDNX6.gif]
from discrete-book.
Related Issues (20)
- Fix typo in repository description HOT 1
- Confusing language about inclusive βorβ? HOT 2
- Make theorem 4.3.4 (only five regular polyhedra) into scaffolded exercise.
- Add section on infinite cardinalities
- Add Computer Science connections? HOT 2
- Coloring chapter typo error HOT 2
- Clarify exposition about cliques
- Error tolerance on WeBWorK problems
- Modernize DMOI build
- Need accessible version of radio station table HOT 2
- Build issues: File `latex-preamble-styles.tex' not found HOT 6
- Possible error in Binomial Coefficients exercise 11 HOT 2
- Possible error in Combinations and Permutations exercise 8 hint HOT 1
- Exercises 2.2 #2-9 missing from 3rd edition, HTML version HOT 2
- couple typos HOT 1
- Potential rewording for Example 4.2.6 HOT 1
- 4.3 Planar Graphs - possible trivial case
- Unused symbol
- "Contents" isn't mentioned in PDF Contents
- Exercise 0.4.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discrete-book.