2,581 reputation
418
bio website
location
age
visits member for 2 years, 6 months
seen 19 mins ago

1h
asked htlatex outputs extra word not in document when using \columnbreak with multicols
Oct
28
awarded  Popular Question
Oct
18
accepted TeX capacity exceeded and parsing errors using decoration on chapter name with tex4ht
Sep
13
comment How to automatically include several text documents into a LaTeX document?
Will this work on Linux and the mac also?
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
Your solution worked very well also. SW is able to read the latex file ok and display frame on screen since the internal code was not changed and kept as is. Only preamble changed which is ok.
Sep
11
accepted how to make fbox produce similar result to boxed from amsmath when used inside display math?
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
THanks again, but it does not work on the code generated. You removed the $$ from the code that was there. Here is MWE again. I get errors compiling this: \documentclass[11pt]{article}% \usepackage{amsmath} \setlength{\fboxsep}{10pt} \LetLtxMacro\LaTeXStandardFBox\fbox \renewcommand{\fbox}[1]{% \[% \LaTeXStandardFBox{% \ensuremath{\displaystyle{#1}}% }% End of \fbox \]% }% \begin{document} %can't modify code below \[ \fbox{$x_1\left( t\right) =x_{20}\frac{t}{1+t^2}+\frac{1}{\sqrt{\left( 1+t^2\right) }}$}% \] \end{document} if you need clarifications, I am in chat.
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
SW can be removed completely out of the picture. The problem is this: Is there a way to make fbox behave the same as boxed without modifying the code itself, but only using the preamble? That is all. I can add any code to the preamble, but can't edit the code itself or add extra code inside.
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
I can add \mathfbox to preamble. But this is not the issue. How would I tell SW to use it? I click on a button to add frame around equation. SW generates \fbox. Now what? I can't tell SW to generate code that uses \mathfbox instead. Is there a way to redefine fbox itself to make it do \ensuremath{\displaystyle ? So I do not have to edit the code. Your answer is useful and I can use it when writing direct Latex. But I am using SW at this moment.
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
Thanks again. But I do not think I explained my problem well. I can't add \mathfbox from the GUI. So I have no way to use it when using SW. The issue is that SW generates the fbox and I can only add code to preamble to fix things, but can't edit the code or add code inside the document, since SW will not understand it if it does not supports it in the GUI. The fix has to be to do it all in the preamble only. This way I can still use the GUI but get the correct output when I compile. I hope this explain the problem better.
Sep
11
comment how to make fbox produce similar result to boxed from amsmath when used inside display math?
Thanks. But is there a way to write some macro in preamble to do this? i.e. without having to edit the generated code itself? I can't edit the code generated each time and fix this by hand as I mentioned I use SW GUI to generate this code and it is not practical to edit this each time I make changes. Also SW does not understand this new code any more and so it does not display correctly on the screen any more. Here is screen shot from SW to explain the issue !Mathematica graphics
Sep
11
asked how to make fbox produce similar result to boxed from amsmath when used inside display math?
Sep
8
awarded  Popular Question
Sep
7
accepted how to redefine \begin{align*} … \end{align*} to \begin{eqnarray*} … \end{eqnarray*}
Sep
7
accepted Vertical alignment of table rows with images. PDF vs. HTML generated by htlatex
Sep
7
accepted Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package
Sep
7
accepted how to disable/enable etoolbox global command effect at different locations in a document?
Sep
5
accepted Error using htlatex with tikz forest package, invalid SVG generated
Aug
27
comment lstlistings: framed code
@davidg non-of the solutions below (with auto-adjustment of width) work for verbatim that extends over one page. The text is chopped off if it is longer than one page.
Aug
27
comment lstlistings: framed code
fyi, this solution does not work, as it chops off any verbatim if it is over one page long.