I'm trying to turn off marginpar when starting a new multicols environment with this:
\renewenvironment{multicols}[1]{%
\let\oldmarginparwidth\marginparwidth
\setlength{\marginparwidth}{0}%
\begin{multicols}{#1}
}{%
\end{multicols}%
\setlength{\marginparwidth}{\oldmarginparwidth}%
}
However, it doesn't work. What am I miss...
Hi. I'm trying to turn off marginpar when starting a new multicols environment with this new environment, which uses the multicols and chngpage packages:
\newenvironment{multi}[1]{%
\newlength{\newtextwidth}%
\setlength{\newtextwidth}{\marginparwidth}%
\addtolength{\newtextwidth}{-1cm}%
\addtolength{\headheight}{.5cm}%
\let\oldheadrule\...
I have some .tex files from which I want to receive the plain text without any latex tags such as \section{...} or \newpage.
Does anybody have any idea on how to achieve this?
I also have the .pdf file but when I just copy the code from there, some words get concatenated which is real bad.
Is there any tool you know?
...
I know PDF generation has been discussed a lot here; however, I've yet to find what I need.
I'm trying to generate PDF reports (mainly tables) from python. Yes I've tried ReportLab and Pisa. Both had column content "break out" in circumstances I didn't think were unreasonable and unrealistic to encounter in production.
When I say r...
I am using StatWeave to run SAS code from within LaTeX files. I would like to be able to open a file in a text editor and view the main LaTeX document with LaTeX syntax highlighting and the embedded SAS "code chunks" with SAS syntax highlighting. (The "code chunks" are real (working) code, not just for display, so I don't think the LaTeX...
Many journals require submission of a blinded version of your paper. The blinded version usually removes:
the list of authors
any citations to the authors' work
How can I create a blinded version of my manuscript without doing this manually?
...
I have a fairly large figure in a LaTeX document. This figure is too large for the left and right margin of the document. This results in the figure being placed flush with the left margin, and way beyond the right margin. What I want is to do, is center the figure on the page. Can I do this, e.g. by setting a different left margin for t...
I would like to create a flash presentation for a web page. It would read content from files in LaTeX format and would display the content properly. This would require to call a LaTeX compiler and generate the proper output every time the content in the latex files changes. How can I do that? Any other ideas around this?
...
As a developer I really don't like writing documentation but when I have to I'd like to make the process as painless as possible.
The problem with Word is that it constantly gets in my way. I worry more about the layout than about the actual content ... that's why I'd like to get rid of Word.
Ideally I'd like to write my content and th...
I know that LaTeX is big in the world of academia, and was probably a big name in desktop publishing before the glory days of WordPerfect and Microsoft Office but as a Windows user that is interested in the power of LaTeX and the general smoothness of a LaTeX generated page is it really worth learning?
In a couple of months I'll be star...
I wish an easy way to communicate mathematical equations with gmail.
There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML.
I thought that it would be nice to use this script with GM. I thought that before sending the email, this script would convert all the TeX-like equations in y...
Absolute beginner LaTeX question here:
How do you change the font for the whole document to sans-serif (or anything else)?
...
Hi,
I am working on generating a document for printing. It should use a specific TTF font and everything must be printed with vector graphics (for quality). Some of the text should be replaced automatically (e.g. current time). Also it should include a custom-generated EPS image with a chart.
Ideally I would like to have some kind of do...
In MS Word, there's a nice feature called "track changes" that allows the program to track edits. This is useful when collaborating with others because you can enable various visualization modes where it's easy to see what others have changed.
I'm in the process of editing a large amount of documentation written in LaTeX and stored in ...
Hi,
When I assign a new command and call it at the beginning of a \par the space between the variable text and next word is missing.
\newcommand{\testcmd}{This is a test}
\par \testcmd foobar.
Will be rendered as:
This is a testfoobar.
\par foo \testcmd bar.
Renders fine as: foo This is a test bar.
Anyone come across this before ...
hi,
I need to set the font size in millimeters in my LaTeX document. how can I do that?
thank you!
...
Do you use "hard wrapping" (either yourself or automatically by your editor) by inserting newlines into your source document at a certain line length, or do you write your paragraphs in one continual line and let your editor "soft-wrap" for you?
Also, what editor do you use for this?
Note: I'm interested in how you wrap lines in your T...
I'm trying to accomplish this in LaTeX:
⎡a⎤ ⎡b … n⎤
⎢⁞⎢ ⎢⁞ ⋱ ⁞⎢
⎣x⎦ ⎣y … z⎦
[a … x]
I'm able to get a vector + a matrix on one line, but I'm not sure how to align the vector below so that it sits perfectly under the large matrix.
Here's a less-unicode text representation of the 'drawing' above:
[a] [ b c ]
[d] [ e f ]
...
I currently am preparing some slides for a presentation and am using Latex with the Beamer package. Currently the sections and subsections of my presentation cause the presentation overview text in the table of contents slide to extend past the bottom of the page.
Is there a way to split my table of contents up so they are displayed acr...
How do you write the # character in LaTeX?
...