# Gmt text command gives me error for offseting text

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-text-command-gives-me-error-for-offseting-text/4248>\
**Category:** Q&A\
**Created:** [September 13, 2023, 7:31pm UTC](https://forum.generic-mapping-tools.org/t/gmt-text-command-gives-me-error-for-offseting-text/4248 "2023-09-13T19:31:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saballos](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Saballos](https://forum.generic-mapping-tools.org/u/Saballos)\
**Post date:** [September 13, 2023, 7:31pm UTC](https://forum.generic-mapping-tools.org/t/gmt-text-command-gives-me-error-for-offseting-text/4248/1 "2023-09-13T19:31:49Z")

</div>

I am using GMT 6.3 on a linux Ubuntu machine  
**gmt text** command gives me an error when I add the offset option.  
This is my line of script:  
echo 86.539W 12.423N Momotombo | gmt text -F+f10p,Helvetica-Bold+jCB -D1c,-2c

This is the error message:  
text [WARNING]: 1c,-2 not a valid number and may not be decoded properly.

If I remove the -D option it works but obviously doesn’t offset the text

Any help on how to solve this?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [September 13, 2023, 7:52pm UTC](https://forum.generic-mapping-tools.org/t/gmt-text-command-gives-me-error-for-offseting-text/4248/2 "2023-09-13T19:52:03Z")

</div>

There is no dx ,dy only dx/dy.

---

<div class="post-metadata">

**Author:** ![Saballos](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Saballos](https://forum.generic-mapping-tools.org/u/Saballos)\
**Post date:** [September 13, 2023, 7:56pm UTC](https://forum.generic-mapping-tools.org/t/gmt-text-command-gives-me-error-for-offseting-text/4248/3 "2023-09-13T19:56:23Z")

</div>

Thank you for the clarification. It does work now
