Skip to content

Commit

Permalink
Merge pull request #480 from Mathics3/doc-improvements
Browse files Browse the repository at this point in the history
Doc improvements
  • Loading branch information
rocky authored Jul 30, 2022
2 parents b7a739e + 818e693 commit 1d23b1e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
5 changes: 2 additions & 3 deletions FUTURE.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
*One can always dream...*

.. contents::

2022 Roadmap
=============

*One can always dream...*


Code reorganization and Refactoring
-----------------------------------

Expand Down
4 changes: 2 additions & 2 deletions mathics/builtin/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ class TraceBuiltins(_TraceBase):
You can have results ordered by name, or time.
Trace an expression and list the result by time from highest to lowest.
>> TraceBuiltins[Plus @@ {1, x, x x}, SortBy->"time"]
= 1 + x + x ^ 2
>> TraceBuiltins[Times[x, x], SortBy->"time"]
= x ^ 2
"""

definitions_copy: Definitions
Expand Down
19 changes: 12 additions & 7 deletions mathics/doc/tex/mathics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
\usepackage{asymptote}
\usepackage[hypertexnames=false]{hyperref} % make hyperref aware of chapter reset for built-in symbols
% (http://tex.stackexchange.com/questions/6098/wrong-hyper-references-after-resetting-chapter-counter)
\usepackage{listings}
\usepackage{paralist}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage{fullpage}
\usepackage{graphics}
\usepackage{listings}
\usepackage{paralist}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathpazo}
\usepackage[mathpazo]{flexisym}
\usepackage{breqn}
Expand Down Expand Up @@ -198,25 +198,30 @@
\item \begin{minipage}[t]{\codewidth}\begin{flushleft} {\ttfamily \bfseries #1} \end{flushleft} \end{minipage} \hfill \nobreak%
}

% Test case error message output
\newenvironment{testmessage}{\item
\begin{minipage}{\codewidth}
\begin{ttfamily}
\begin{ttfamily}%
\vspace{0.1em}%
\color{message}%
}{%
\end{ttfamily}%
\end{minipage}%
}
% Test case print output
\newenvironment{testprint}{\item
\vspace{-0.5em}
\begin{minipage}{\codewidth}
\begin{dmath*}[indentstep={0em},compact]%
\begin{ttfamily}%
\vspace{0.1em}%
\tiny%
\color{print}%
}{%
\end{dmath*}%
\end{ttfamily}%
\end{minipage}%
}

% Test case output; the ... in (Out[x]= ... )
\newenvironment{testresult}{%
\item%
\vspace{-0.5em}%
Expand Down

0 comments on commit 1d23b1e

Please sign in to comment.