Giter VIP home page Giter VIP logo

Comments (2)

jkitchin avatar jkitchin commented on August 19, 2024

this is more of an org-mode issue. I don't think it makes sense to put it
in the caption. That would be difficult to parse, and #+ATTR_LaTeX: exists
for that. Maybe you can use yasnippets or abbrevs or write your own short
command to insert that text with the value you want.

John


John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

On Sun, Jun 22, 2014 at 11:38 PM, llcc [email protected] wrote:

Hi John,

Thanks for your org-ref.el and help before. According to your commands, I
can output figure properly with the below preamble. Because there are many
figures in my article, and i do not want to make them to same size (by
setting (setq org-latex-image-default-width ".7\textwidth") ), I use
:width to specify the output size of figure.

#+CAPTION: caption label:fig:cutting
#+ATTR_LaTeX: :width 0.9\textwidth

In my situation, I need to input the #+ATTR_LaTeX: :width 0.9\textwidth
so many times. So a idea comes: if :width can be put in behind of label,
like:

#+CAPTION: caption label:fig:cutting width:0.9

to accomplish the same function with #+ATTR_LaTeX: :width 0.9\textwidth,
it will save input time and even space.

I am not sure if you are interested with this idea, if yes, any help will
be appreciate!
Best regards.


Reply to this email directly or view it on GitHub
#20.

from jmax.

llcc avatar llcc commented on August 19, 2024

Hi John,

Thanks for your reply.
Actually I use Yasnippets to input various thing. I just think it will be more readable and less unnecessary contents in my article if #+attr_latex can be omitted. Now i know it is a tough work, and thank you anyway.

Best regards.

from jmax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.