You can use \@backslashchar
. The following works for me:
\documentclass{article} \begin{document} \newwrite\file \immediate\openout\file=myfile.out \makeatletter \immediate\write\file{\@backslashchar} \makeatother \closeout\file \end{document}
Related Posts:
- LaTeX table too wide. How to make it fit?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- What is a sanity test/check
- What is an instance variable in Java?
- Discord music bot not working
- How do I create a file and write to it?
- did you specify the right host or port? error on Kubernetes
- How does Java’s PriorityQueue differ from a min-heap?
- What is a Memory Heap?
- 403 Forbidden vs 401 Unauthorized HTTP responses
- Advanced AREL or just Rails Query for has_many through search by association
- “If not” condition statement in python
- How can I sort a dictionary by key?
- What does ERR_SPDY_PROTOCOL_ERROR mean in nginx?
- What is a bitmask and a mask?
- C++ code file extension? What is the difference between .cc and .cpp
- How to remove origin from git repository
- How to convert .crt to .pem [duplicate]
- pagebreak in markdown while creating pdf
- Time Complexity of Prims Algorithm?
- Echo newline in Bash prints literal \n
- Proper shebang for Python script
- C read file line by line
- fix java.net.SocketTimeoutException: Read timed out
- Sqoop Incremental Import
- What does it mean by word size in computer?
- Python setup.py develop vs install
- Hidden field “ufprt” being added to Razor Umbraco Form – Why?
- Raise to power in R
- APDU command to read Track1/track2 data from NFC card and MobileApp
- What is process.env.PORT in Node.js?
- enum to string in modern C++11 / C++14 / C++17 and future C++20
- ORA-29913: error in executing ODCIEXTTABLEOPEN callout when inserting csv into oracle
- Getting the error “Missing $ inserted” in LaTeX
- Reason for the exception java.lang.VerifyError: Bad type on operand stack
- git: fatal unable to auto-detect email address
- R error which says “Models were not all fitted to the same size of dataset”
- Java and Windows – error: illegal escape character
- pandoc document conversion failed with error 43 : pdflatex: The memory dump file could not be found
- ERROR: transport error 202: bind failed when starting Tomcat 7 in debug mode
- How to check whether a Button is clicked by using JavaScript
- jQuery onclick not firing on dynamically inserted HTML elements?
- What is correct media query for IPad Pro?
- simple IPython example raises exception on sys.exit()
- How to get a minecarft session ID?
- Factory Pattern. When to use factory methods?
- How to send a PUT/DELETE request in jQuery?
- Arithmetic Overflow in mips
- How to change angular port from 4200 to any other
- Render HTML string as real HTML in a React component
- How to draw lines in Java
- Styling Select Drop down box
- NoClassDefFoundError in Java: com/google/common/base/Function
- Where are the ampersand and vertical bar characters used in Python?
- Python: What OS am I running on?
- ER-Diagram: Ternary Relationship – How to read properly?
- How can I diff 2 files while ignoring leading white space
- Converting time stamps in excel to dates
- The name ‘InitializeComponent’ does not exist in the current context
- What is an easy way to implement fprintf in python?
- What is “pass-by-name” and how does it work exactly?
- is it possible to get the MAC address for machine using nmap
- Import error No module named skimage
- Why define PI = 4*ATAN(1.d0)
- Java: Not a statement
- Passing a hexadecimal value into a module in Verilog
- Android; Check if file exists without creating a new one
- mport win32ui in python 3.6
- Empty functions in Javascript
- Call to undefined function `get_plugin_data()`
- Contact Form 7 – Execute code AFTER mail send [closed]
- Using MathJax in text
- How to apply a patch?
- TwentyTwentyTwo – How to add PHP logic to Post templates?
- How can I trash multiple posts at once from the front end?
- Keeping LaTeX contents in line with non-latex text
- Multiple og:image for Facebook
- Export blog posts with MathJax to LaTeX document?
- Rendering javascript in render_callback php Code
- How to get a value from wp_dropdown_user?
- Customized Essay Writing Service
- How can I upgrade to Java 1.8 on an Amazon Linux Server?
- What port should I open to allow remote desktop?
- Can you help me with my capacity planning?
- Cheat Sheets for System Administrators?
- Amazon EC2 terminology – AMI vs. EBS vs. Snapshot vs. Volume
- How to change an EC2 instance’s security group
- What type of DNS record is needed to make a subdomain?
- Multiple SSL domains on the same IP address and same port?
- IPTABLES – Limit rate of a specific incoming IP
- How to set default Ansible username/password for SSH connection?
- Can I make `find` return non-0 when no matching files are found?
- Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18
- What is the difference between service and systemctl?
- Rsync creates a directory with the same name inside of destination directory
- How Often Do Windows Servers Need to be Restarted?
- sudoers: how to disable requiretty per user
- dig show only answer
- SSD or HDD for server
- Do you have any useful awk and grep scripts for parsing apache logs? [closed]