Posts

Showing posts with the label latex

How to Install new dictionaries in WinEdt

On Windows, WinEdt is a great program for editing latex file, but in my opinion the procedure to install new dictionaries is quite poor. In this post I'm gonna fix this in 10 easy steps! This procedure applies to WinEdt 5.x but probably it works for 6.x too. Download the dictionary for the language you are interested in (for example German) from the website http://www.winedt.org/Dict/ Unzip your file: You will see two files with extensions .txt and .dic . The most important is the second one. Locate within your WinEdt installation folder the subfolder " dict " .Usually it should be somewhere like: C:\Programs\WinEdt\dict Inside "dict" create another folder named after the language you want to install, in my case German. Copy the file .dic into the freshly created folder. Now it's time to tell WinEdt to load this dictionary. Launch WinEdt and select: Options-> Dictionary Manager Select " Insert " and give a meaningful name... for examp...

How to create barred text in Latex

Image
How to make barred, crossed text in LaTeX? Maybe you need it because you want to indicate a change or some incorrect text... Anyway the solution I have found is to "call"  the packet ulem   with the command \usepackage{ulem}  and then the command   \sout{YOUR TEXT} to actually make your text barred. In the ulem packages other interesting commands are available, here is a list (extract from the documentation about ulem, see the reference below) Reference:   http://www.ctan.org Did you like this post? Consider to make a small donation!

Two-column equation in LaTeX RevTex

Image
If you are writing a scientific paper using  the RevTex 4 LaTeX class (Phys. Rev. Lett., Phys. Review B, etc ),  occasionally you may have the need to make an equation to span over two columns instead than only one.  Well, ... how to do this? You can do that very easily using the environment widetext \begin{widetext}   your equation \end{widetext} This local modification of the layout from two-columns to one-column affect does not affect the preprint because this already uses the single column format. Source: http://www.physics.csbsju.edu/tk/370/papers/Journal_Style_Manuals/auguide4-1.pdf Did you like this post? Why you don't make a small donation?