Make emacs+LaTeX/Auctex more WYSIWYG

Ok so I thought I make a new thread on this issue, since I didn't want to hijack the screenshots thread.
Pank posted this: http://omploader.org/vMmdrZQ
I see his formulae are right there, visible, kinda like WYSIWYG. So is a chapter name, you can see it in bold.
How could I set that thing up?
For example I write a lot of reports using LaTeX, but no fancy stuff, only page headers, titles etc. I often have bold text inside normal text, bigger text for titles etc. How could I set emacs up to see all this while I'm editing? Right now I have to compile my .tex to see the result. It would be nice to see my stuff while editing
Any ideas and advice welcomed

Fold-mode
Keys: C-c C-o C-b or look under LaTeX-->Show/Hide
This will make the buffer more readable by hiding markup commands, some environments, \item etc.
Screenshot. Notice the [f] and lack of \section{...}.
Also, see/customize the variables:
TeX-fold-env-spec-list
TeX-fold-macro-spec-list
TeX-fold-math-spec-list
Preview
Keys: C-c C-p C-d or the Preview menu.
This will generate pictures of given environments and display them in the buffer.
Screenshot. Also fold and preview.
Check the variables
preview-default-option-list
If you want to preview something other please refer to this page from the manual, notably the section `Preview your favourite LaTeX constructs'
I don't customize AUCTeX all that much. My setup is similar to arkham's setup. The following differ though:
; toggel shell escape using C-c C-t C-x
(defun TeX-toggle-escape nil (interactive)
(setq LaTeX-command
(if (string= LaTeX-command "latex") "latex -shell-escape" "latex")))
(add-hook 'LaTeX-mode-hook
(lambda nil
(define-key LaTeX-mode-map "\C-c\C-t\C-x" 'TeX-toggle-escape)))
(eval-after-load "tex"
'(progn
(add-to-list 'TeX-command-list
(list "View in Acrobat Reader" "acroread %o"
'TeX-run-command nil t))
(add-to-list 'TeX-command-list
(list "Count Words" "texcount -inc %s.tex"
'TeX-run-command nil t))
(add-to-list 'TeX-command-list
'("Synctex" "/home/rasmus/.scripts/synctex-emacs %t %b %n" TeX-run-TeX nil t) t)
;; Maybe this needs extra fine tuning.
(eval-after-load "Rnw-mode"
'(progn
(add-to-list 'TeX-command-list
'("pgfSweave" "ess-swv-pgfsweae ()" TeX-run-function nil t) t)
(add-to-list 'TeX-command-list
'("R-Synctex" "/home/rasmus/.scripts/synctex-emacs-R %t %b %n" TeX-run-TeX nil t) t)
;;Reftex
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; Emacs latex mode
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
(setq reftex-plug-into-AUCTeX t)
(setq reftex-isearch-document t)

Similar Messages

  • LaTeX (AUCTeX) strange fonts and other problems

    It appears that I'm missing some latex fonts because things are looking weird. The top is what I currently have, the bottom is an old document:
    I've recently reinstalled arch and now my latex/auctex stuff seems to be very disagreeable even though I have the most recent versions of each package. I cannot change my default viewer from evince (http://bbs.archlinux.org/viewtopic.php? … 64#p726264) and the old shortcut for it no longer works. My knowledge of emacs customization is very basic so if someone could please point me in the right direction, I'd be very grateful.
    Last edited by iamsmrt (2010-03-16 22:13:56)

    Pank wrote:
    Please make sure that you are in fact using AUCTeX and not the build in LaTeX functionalities of Emacs. I am not aware of changes in regards to shortcuts in 11.86.
    --Rasmus
    It appears like I'm using AUCTeX from what I can tell (addition of pdflatex/pdfview buttons in gnu emacs). I just reinstalled it and pacman told me of two additional lines to add to my .emacs file so it now looks like, where the bolded lines are the ones I just added:
    ;; Required for auctex
    (require 'tex-site)
    (setq TeX-auto-save t)
    (setq TeX-parse-self t)
    [b](load "auctex.el" nil t t)
    (load "preview-latex.el" nil t t)[/b]
    Last edited by iamsmrt (2010-03-20 21:53:13)

  • HT201253 My Nano is full and I can no longer sync more music. How do I delete duplicate songs on the Nano to make room for syncing more songs?

    My Nano is full and I can no longer sync more music. How do I delete duplicate songs on the Nano to make room for syncing more songs?

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • How to make other people image more beautiful

    how to make other people image more beautiful?

    Well I think this is a good topic that has a lot of possibilities, I understand the OP is seemingly being vague but I think perhaps it might be grammatical more then lack of content.
    <br />
    <br />But there are techniques and different approaches to capturing the best qualities of the subject especially those of the human subject.
    <br />
    <br />cjmah
    <br />
    <br />the best way to go about this is post an image that you took of someone that you think can be improved and we can share with you techniques and ideas about equipment that you might like to have to help you achieve what you want to achieve.
    <br />
    <br />Her you save the image as a jpeg about 600 to 700 pixels on the longest length the go to this link
    <br />
    <br />http://www.pixentral.com you follow the instructions for uploading the file then you copy the text in the top text field and paste it into you message before you post it.
    <br />
    <br />Make certain you copy all the text including the link you know from and including this
    <a all="" the="" way="" to="" and="" including="" this="" /></a>
    <br />
    <br />It is a good subject.

  • How do you make PP CS5 use more allocated physical memory???

    As you know, you can go to Preferences > Memory and change the amount of RAM reserved for other applications.
    Now, I have 8 GB of RAM installed (Windows 7), and I have set my “RAM reserved for other applications” option to 1.5 GB. That leaves 6.5 GB of memory for Adobe AE, Pr, Encore and Media Encoder.
    Here’s the problem: every time when I’m rendering or exporting in Premiere, I can see through Task Manager that Premiere uses only 1.5 or 2.0 GB of the physical memory, not the 6.5 GB that I’ve allocated. I know the rest is reserved for other applications, but none of them are running at the moment. So, how can I make PP CS5 use more of all the physical memory that’s left?

    Memory management in CS5 is clever enough to use an amount of memory that minimizes the use of the page file and maximizes buffers, However that depends on the material in the project, the effects and transitions used, the export format and the hardware in use.
    There is no sense in using large amounts of memory, when other components cause waiting before the contents of memory can be offloaded. Just as it makes no sense to use a Ferrari in traffic jams.

  • Make your LabVIEW experience more convenient

    Hi,
    This is where I list all of my wishlist (ideas) together.
    Allow to link two arrays so that they can scroll synchronously.
    String control/indicator/constant with line number display.
    Allow selecting multiple columns to be resized.
    Bundle/Unbundle By Name function with 'Hide Full Name' selected by default.
    Random number function with option of including/excluding the endpoints.
    Allow creating Virtual channels for an internal channel of the DAQ/SCXI.
    Auto-Optimization Tool.
    Searching text in string and/or path constants in all VIs (opened/unopened) of a project.
    Allow using standard shortcuts for 'Cut', 'Copy', 'Paste' and 'Rename' in LLB Manager.
    If you feel, it is something similar to your wishlist, please vote for it.
    regards
    Moderator1983
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

    Consolidating all ideas in one post:
    This is a short list of all of my wishlists (ideas) together.
    Include 'VI Snippet' on the block diagram's toolbar.
    Include 'Transpose Array' method in the shortcut menu of a 2D array constant/control/indicator.
    Allow selecting multiple columns to be resized.
    Random number function with option of including/excluding the endpoints.
    Bundle/Unbundle By Name function with 'Hide Full Name' selected by default.
    String control/indicator/constant with line number display.
    Allow using standard shortcuts for 'Cut', 'Copy', 'Paste' and 'Rename' in LLB Manager.
    Auto-Optimization Tool.
    Allow creating Virtual channels for an internal channel of the DAQ/SCXI.
    Allow to link two arrays so that they can scroll synchronously.
    Searching text in string and/or path constants in all VIs (opened/unopened) of a project.
    If you feel, it is something similar to your wishlist, please vote for it.
    regards
    Moderator1983
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Can you make a movie for more than 2 minutes on an ipad and save it on a flash drive

    Can you make a movie for more than two minutes on the ipad and sve it on a flash drive using windows XP

    Using Apple's camera connection kit, you can use a flash drive to IMPORT photos and videos. However, you can't EXPORT any type of file to the flash drive.
     Cheers, Tom

  • How to make a Flash site more searchable

    Hi all,
    I was wondering how to make a Flash site more searchable in
    search engines. I'm guessing it is with meta tags, can anyone tell
    me which meta tags or if there are any other hints or tricks.
    Thanks,
    MediaMan5335

    Sad to say MediaMan5335, there's no real defined way to read
    a Flash movie file. Currently there are tips and tricks to do it,
    but all of them are merely patches to somethin long overdue and
    needed. Since Google is setting the trend, the best way to gain
    ranking is to follow their set of new rules.
    There were several ways to gain rankings, whether is be
    paying your way to the top, putting multiple links within your
    site, or placing tons of words that would be read by spiders.
    Google has multiple articles pertaining to Search Engine
    Optizmization or SEO. Head on over to Google and just type in
    "Google SEO" and you'll find a multitude of articles.
    Right now to answer your question, META KEYWORDS and META
    DESCRIPTION are your best tools for METAs. Having legit links
    INBOUND and OUTBOUND will help.
    Currently there a several companies working on allowing SWFs
    to be read by Search Engines. Hopefully this helps answer your
    question. SEO can be a daunting thing.

  • I've had 2 Iphone 6plus stolen last 2 weeks. I am a reasonably careful 50 years old who's had a cell phone since they exist. Surely Apple can think of a way to make these stolen phones more difficult to re-use ?

    I've had 2 Iphone 6plus stolen last 2 weeks. I am a reasonably careful 50 years old who's had a cell phone since they exist. Surely Apple can think of a way to make these stolen phones more difficult to re-use ? No matter the precautions, a cell phone is easy to steal. But it seems even easier to re-use stolen cell phones. I had "find my phone", passwords, and another tracking device on my second stolen phone. Thieves just shut it off and wipe it. You would think with all the technology available, these phones could be rendered completely useless if stolen. Unless of course this "second hand market" is considered valuable.

    Your best bet is to as soon as you realize your device has been stolen is to go to iCloud.com on your computer and put the device in Lost Mode. This gives you the opportunity to not only add a Lock to the screen, but also to send a message to the lowlife who stole you phone, giving them the opportunity to return it, (of course, don't give them any of your personal information!). But you may be able to find a way to communicate with them anonymously via a 3rd party phone or something to see what can be done.
    You will be happy to know that your device and its contents cannot be accessed by the thief, and if you don't care for tracking it, you also can also Erase all of your personal information from the device. This does not remove the Activation Lock, so they still won't be able to use it for anything.....
    Sorry for your troubles,
    GB

  • How to establish code standards to make the abap code more readability

    Every programmer have their habit to code, but this lead a problem , it is difficult to read other people's code, especially the complex logic.
    So how to establish code standards to make the abap code more readability?
    I came up with this:
    1.Unify the naming rule.
    2.Reduce the nest of 'if' statement. (better in less than 4 if statement in one block )
    3.Use more Perform to replace the big code block.
    Is there any other standards to make our abap code more readability ?  (if we establish the standards, in sap is there any tool to help us to follow the rule we set ?)

    There are a number of things you could do. Some of which are:
    I would recommend creating your own in-house document on Coding standards, some of which you can control with the code inspector.
    It is also possible to set up the transport request in such a way that objects that do not pass the SCI test are not allowed to be released.
    I would also assign a senior developer to act as quality control for all developments. You can have a rotation scenario where this work can be divided by the number of senior developers you have.

  • Does it make sense to create more than one repository of the same type?

    Hi guys!
    Does it make sense to create more than one repository of the same type? Let's say 2 CM repositories?
    Thanx for answer!
    Peter

    Hi Peter,
    yes, that makes sense. If you want to use different combinations of repository services you need different repositories. Or if you want to include existing data (e.g. file systems) from different locations. Or if you need to use different backup strategies (RDBMS, file), or ...
    BTW, my KM Installation (NW04 SPS9) has <b>23</b> CM repositories by default.
    HTH,
    Carsten
    Message was edited by:
            Carsten Buechert

  • Emacs, LaTeX: a path problem?

    Hi,
    I've got two different boxes, [presumably] the same configuration (texlive, auctex); emacs configs shared via GitHub. It works fine on one box; on another it won't compile the same test file with message "LaTeX: problems after [0] pages". Google shows that such a thing usually happens when Emacs can't find the necessary executable. Meanwhile, it's right where one would expect it:
    $ ls -l /usr/bin/*xelatex*
    lrwxrwxrwx 1 root root 49 Mar 12 11:53 /usr/bin/htxelatex -> /usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
    lrwxrwxrwx 1 root root  5 Mar 12 11:30 /usr/bin/xelatex -> xetex
    getenv PATH inside Emacs shows /usr/bin/ just as it should, xelatex starts in command line from everywhere. What else could I try?

    I tried your "Hello, World". No luck.
    CLI attempt:
    $ xelatex test.tex
    This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Arch Linux)
    restricted \write18 enabled.
    ---! /var/lib/texmf/web2c/xetex/xelatex.fmt doesn't match xetex.pool
    (Fatal format file error; I'm stymied)
    Looks just as cryptic for me.
    This appears to be a known issue. The only catch: I've got no .texmf-var anywhere on the system.
    fmtutil --all, they say. Still, no luck:
    $ fmtutil --all
    /usr/bin/fmtutil: line 395: /usr/share/texmf/texconfig/tcfmgr: No such file or directory
    fmtutil: config file `fmtutil.cnf' not found.
    UPD:
    moved fmtutil.cnf.pacnew and texmf.cnf.pacnew into place, run fmtutil(-sys) --all. Got a longish log not quite free of errors. No compilation for me, as before "Fatal format file error; I'm stymied". Looks like clean reinstall of texlive is in order .
    Last edited by Llama (2014-04-24 11:23:36)

  • How do I make firefox 4 look more like firefox 3?

    I am considering updating the household computers to firefox 4, however, the older members of the household dont do changes with their computers very well, to that end, I wish to know how to make firefox 4 look like firefox 3.

    If you do not like the new appearance of Firefox 4 then you can change some setting to restore the Firefox 3 appearance.<br />
    You can right click the orange Firefox button to open the toolbar context menu or use (F10) View > Toolbars.
    * Click "Menu Bar" to place a check mark and make the Menu Bar visible all the time.
    * Click "Tabs on Top" to remove the check mark and place the Tab Bar at its original position just above the browser window.
    * https://support.mozilla.com/kb/why-are-tabs-top
    You can use this extension to get the Status Bar back:
    * Status-4-Evar: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    More tips here:
    * http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/

  • How can I make the GRID lines more bold within a table in the new Pages?  (Not the outline of a table)

    I can't find where to darken GRID lines on a table in the new Pages.  I can make the outline more bold, but not the grid lines within the table.  Is there a way to do this?  The default grid lines are far too faint.

    Yeah, the Help is missing a little.
    If you select the block of cells that you want to change, then in the Format inspector:
    Select the Cell tab
    Expand the Border section
    Set a line type
    Set a line width
    Choose a line color
    Choose one of the nine options for which borders get the new settings

  • Can we make the Lookup Query more dynamic?

    Hello OIM gurus,
    I have a lookup field in my process form and I am entering the properties of this field with the design client, such as Column Names, Captions, widths, Lookup Query etc. I would like to make the Lookup query a little more flexible in that it can take in different lookup codes based on some criteria. To be specific, I would like the lookup query specific to each resource.
    A sample of my query is: 'select v.lkv_encoded,v.lkv_decoded from lkv v, lku u where u.lku_key=v.lku_key and u.lku_type_string_key='<my lookup code>'
    I have lookup codes that are specific to each resource and I would like to use these codes here. I see some things like $Process Data.xxx$ and I am not sure how to use this or change the lookup code dynamically. Or is there a totally different way to do this?
    Thanks in advance
    -SK

    Hi ,
    can anyone please let me know the exact usage of Lookup Quey. I tried to find out in OIM docs but end up with no luck. By this post i am able to write basic lookup query (find out the USR_Login from USR table). I have couple of queries which i am not sure about and will apreaciate if anyone could provide me answer
    1. We have to add property - Lookup Column names, Column names, Column width and Caption for lookup query. What are their usage and restrictions (what values we can use and what we cannot).
    2. I am using my lookup field currently in AD resource form. My requirement is to provide manager options to search for user (in AD resource form only) for his/her direct reports having AD account. For this i tried to lookup the query on UD_ADUSER table but it is giving me error (even resource form on console is not coming up) Does LookupQuery is not much flexible to query the connector tables. if so how can i compete my requirement.
    3. Does lookup querry (in resource form) provides you option to provide the filter as per user attribute value in OIM user profile.
    Thanks.....

Maybe you are looking for

  • How do i use an external display with my macbook pro?

    How do I use an external display with a macbook pro?

  • How do I install Quark 7.2 on iMac 10.4.9?

    Installer crashes as Quark tries to install. I have tried a "safe boot" install, a "new user" install, checking the "rosetta" box, getting another version from Quark- NOTHING. Previously, I transferred files from a laptop to this iMac, including an o

  • Dead screen/second monitor

    I have a PB running Leopard and the screen died. (Actually it was killed by a drop) Anyway I want to be able to access it via a second monitor but it is currently set for "Mirroring Off". Is there any way to turn on "Mirroring" by key combinations? (

  • Keyboard shortcut -- f1

    I've got some code that attempts to set a keyboard shortcut for a menu item to the F1 key. Unfortunately, it's setting it to f+1. Does anyone know how to do this? Here's the code I'm using: helpPages.keyEquivalent = 'f1'; helpPages.keyEquivalentModif

  • When I tried to install the latest version of Itunes I came out this problem. Help me ^^

    As I wrote above, I just tried to upgrade Itune, during the installation I was born this problem. http://i46.tinypic.com/34xjnrn.jpg Do you know help me "step by step"? (in plain English if possible :D)